|
|
@ -612,6 +612,9 @@ |
|
|
<if test="aorstate != null and aorstate != ''"> |
|
|
<if test="aorstate != null and aorstate != ''"> |
|
|
and aorstate like CONCAT('%', #{state}, '%') |
|
|
and aorstate like CONCAT('%', #{state}, '%') |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="mname != null and mname != ''"> |
|
|
|
|
|
and mname like CONCAT('%', #{mname}, '%') |
|
|
|
|
|
</if> |
|
|
<if test="istransfer != null and istransfer != ''"> |
|
|
<if test="istransfer != null and istransfer != ''"> |
|
|
and istransfer = #{istransfer} |
|
|
and istransfer = #{istransfer} |
|
|
</if> |
|
|
</if> |
|
|
@ -675,7 +678,7 @@ |
|
|
and mcode = #{mcode} |
|
|
and mcode = #{mcode} |
|
|
</if> |
|
|
</if> |
|
|
<if test="mname != null and mname != ''"> |
|
|
<if test="mname != null and mname != ''"> |
|
|
and mname = #{mname} |
|
|
and mname like CONCAT('%', #{mname}, '%') |
|
|
</if> |
|
|
</if> |
|
|
<if test="code != null and code != null"> |
|
|
<if test="code != null and code != null"> |
|
|
and aorcode = #{code} |
|
|
and aorcode = #{code} |
|
|
@ -727,7 +730,7 @@ |
|
|
and mcode = #{mcode} |
|
|
and mcode = #{mcode} |
|
|
</if> |
|
|
</if> |
|
|
<if test="mname != null and mname != ''"> |
|
|
<if test="mname != null and mname != ''"> |
|
|
and mname = #{mname} |
|
|
and mname like CONCAT('%', #{mname}, '%') |
|
|
</if> |
|
|
</if> |
|
|
<if test="code != null and code != null"> |
|
|
<if test="code != null and code != null"> |
|
|
and aorcode = #{code} |
|
|
and aorcode = #{code} |
|
|
@ -994,6 +997,9 @@ |
|
|
<if test="placeId != null"> |
|
|
<if test="placeId != null"> |
|
|
and placeId = #{placeId} |
|
|
and placeId = #{placeId} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="mname != null and mname != ''"> |
|
|
|
|
|
and mname like CONCAT('%', #{mname}, '%') |
|
|
|
|
|
</if> |
|
|
<if test="adminorgid != null and adminorgid != ''"> |
|
|
<if test="adminorgid != null and adminorgid != ''"> |
|
|
and adminorgid = #{adminorgid} |
|
|
and adminorgid = #{adminorgid} |
|
|
</if> |
|
|
</if> |
|
|
@ -1830,19 +1836,15 @@ |
|
|
#{id} |
|
|
#{id} |
|
|
</foreach> |
|
|
</foreach> |
|
|
</delete> |
|
|
</delete> |
|
|
|
|
|
|
|
|
<delete id="deleteApplicationOutRecordMinById"> |
|
|
<delete id="deleteApplicationOutRecordMinById"> |
|
|
delete |
|
|
delete |
|
|
from application_out_record_min |
|
|
from application_out_record_min |
|
|
where parentId = #{id} |
|
|
where parentId = #{id} |
|
|
</delete> |
|
|
</delete> |
|
|
|
|
|
|
|
|
<delete id="deleteApplicationOutRecordMinByIds" parameterType="list"> |
|
|
<delete id="deleteApplicationOutRecordMinByIds" parameterType="list"> |
|
|
DELETE FROM application_out_record_min WHERE parentId IN |
|
|
DELETE FROM application_out_record_min WHERE parentId IN |
|
|
<foreach collection="list" index="index" item="id" open="(" separator="," close=")"> |
|
|
<foreach collection="list" index="index" item="id" open="(" separator="," close=")"> |
|
|
#{id} |
|
|
#{id} |
|
|
</foreach> |
|
|
</foreach> |
|
|
</delete> |
|
|
</delete> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
</mapper> |