Commit 31aadb6f authored by tangwei's avatar tangwei

修改bug

parent 2e3616fb
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
) AS personNumber ) AS personNumber
FROM FROM
cb_linkage_unit clu cb_linkage_unit clu
WHERE clu.is_delete=0 WHERE 1=1
<if test="unitName != null and unitName != ''"> <if test="unitName != null and unitName != ''">
AND clu.unit_name LIKE concat('%',#{unitName}, '%') AND clu.unit_name LIKE concat('%',#{unitName}, '%')
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
test="linkageUnitTypeCode != null and linkageUnitTypeCode != ''"> test="linkageUnitTypeCode != null and linkageUnitTypeCode != ''">
AND clu.linkage_unit_type_code =#{linkageUnitTypeCode} AND clu.linkage_unit_type_code =#{linkageUnitTypeCode}
</if> </if>
and clu.is_delete=0
order by clu.rec_date desc order by clu.rec_date desc
</select> </select>
</mapper> </mapper>
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