Commit a20ac80a authored by zhangsen's avatar zhangsen

巡检点查询BUG

parent 78ffb2c6
......@@ -1231,10 +1231,10 @@
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='')
</if>
<if test="companyId != null and companyId != '' ">
AND PP.charge_dept_id = #{companyId}
AND pp.charge_dept_id = #{companyId}
</if>
<if test="bizOrgCode != null and bizOrgCode != '' ">
AND PP.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
AND pp.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0
AND pp.is_delete = 0
......@@ -1305,10 +1305,10 @@
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='' )
</if>
<if test="bizOrgCode != null and bizOrgCode != '' ">
AND PP.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
AND pp.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
<if test="companyId != null and companyId != '' ">
AND PP.charge_dept_id = #{companyId}
AND pp.charge_dept_id = #{companyId}
</if>
and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0
AND pp.is_delete = 0
......
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