Commit 8d3d4d6f authored by chenzhao's avatar chenzhao

修改代码

parent 341ee781
...@@ -976,7 +976,7 @@ ...@@ -976,7 +976,7 @@
deleted = 0 deleted = 0
<foreach collection="paramMap" index="key" item="value"> <foreach collection="paramMap" index="key" item="value">
<if test="key == 'isDraft' and value == 1"> <if test="key == 'isDraft' and value == 1">
and a.danger_state = 'draft' and discoverer_user_id = #{paramMap[userId]} and discoverer_user_id = #{paramMap[userId]}
</if> </if>
<if test="key == 'isDraft' and value == 0"> <if test="key == 'isDraft' and value == 0">
and a.danger_state != 'draft' and a.danger_state != 'draft'
...@@ -1087,7 +1087,7 @@ FROM ...@@ -1087,7 +1087,7 @@ FROM
p_latent_danger p_latent_danger
WHERE WHERE
( (
discoverer_user_id = #{userId} discoverer_user_id = #{userId} AND danger_state = 'draft'
AND biz_info LIKE concat('%',#{planId},'%') AND biz_info LIKE concat('%',#{planId},'%')
) )
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment