Commit cd824c15 authored by zhangsen's avatar zhangsen

安装告知、移装告知 列表查询BUG修改

parent afe86296
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
LEFT JOIN idx_biz_jg_use_info ibjui on insEq.equ_id = ibjui.RECORD LEFT JOIN idx_biz_jg_use_info ibjui on insEq.equ_id = ibjui.RECORD
<where> <where>
isn.is_delete = false isn.is_delete = false
AND (1=1 or isn.transfer_to_user_ids like concat('%',#{param.transferToUserIds},'%'))
<if test="param != null "> <if test="param != null ">
<if test="param.applyNo != null and param.applyNo != ''"> <if test="param.applyNo != null and param.applyNo != ''">
AND isn.apply_no LIKE CONCAT('%', #{param.applyNo}, '%') AND isn.apply_no LIKE CONCAT('%', #{param.applyNo}, '%')
...@@ -66,6 +65,7 @@ ...@@ -66,6 +65,7 @@
or or
AND isn.install_unit_credit_code = #{orgCode}) AND isn.install_unit_credit_code = #{orgCode})
</if> </if>
or (isn.is_delete = false and isn.transfer_to_user_ids like concat('%',#{param.transferToUserIds},'%'))
</where> </where>
ORDER BY ORDER BY
isn.create_date DESC isn.create_date DESC
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
left join idx_biz_jg_other_info oi on oi.RECORD = re.equ_id left join idx_biz_jg_other_info oi on oi.RECORD = re.equ_id
<where> <where>
tjtn.is_delete = false tjtn.is_delete = false
AND (1=1 or tjtn.transfer_to_user_ids like concat('%',#{param.transferToUserIds},'%'))
<if test="param != null "> <if test="param != null ">
<if test="param.applyNo != null and param.applyNo != ''"> <if test="param.applyNo != null and param.applyNo != ''">
AND tjtn.apply_no LIKE CONCAT('%', #{param.applyNo}, '%') AND tjtn.apply_no LIKE CONCAT('%', #{param.applyNo}, '%')
...@@ -88,6 +87,7 @@ ...@@ -88,6 +87,7 @@
or or
AND tjtn.install_unit_credit_code = #{orgCode}) AND tjtn.install_unit_credit_code = #{orgCode})
</if> </if>
or (tjtn.is_delete = false and tjtn.transfer_to_user_ids like concat('%',#{param.transferToUserIds},'%'))
</where> </where>
ORDER BY ORDER BY
tjtn.apply_no DESC tjtn.apply_no DESC
......
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