Commit 0121b61d authored by chenzhao's avatar chenzhao

修改sql

parent 0674a360
......@@ -898,6 +898,9 @@
<if test="latentDangerListParam.dangerName != null and latentDangerListParam.dangerName !=''">
AND pld.danger_name LIKE concat('%',#{latentDangerListParam.dangerName},'%')
</if>
<if test="latentDangerListParam.belongType != null and latentDangerListParam.belongType == 1">
AND pld.discoverer_user_id =#{latentDangerListParam.userId}
</if>
<if test="latentDangerListParam.dangerId != null and latentDangerListParam.dangerId !=''">
and pld.id=#{latentDangerListParam.dangerId}
</if>
......
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