|
|
|
@ -490,7 +490,7 @@ |
|
|
|
<if test="depositoryIdList != null"> |
|
|
|
and did in |
|
|
|
<foreach collection="depositoryIdList" index="index" item="id" open="(" separator="," close=")"> |
|
|
|
#{did} |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test="depositoryId != null and depositoryId != ''"> |
|
|
|
@ -535,9 +535,20 @@ |
|
|
|
<if test="applicantId != null and applicantId != ''"> |
|
|
|
and applicantId = #{applicantId} |
|
|
|
</if> |
|
|
|
<if test="depositoryId != null and depositoryId != ''"> |
|
|
|
and depositoryId = #{depositoryId} |
|
|
|
<if test="depositoryIdList != null"> |
|
|
|
and ( depositoryId |
|
|
|
in |
|
|
|
<foreach collection="depositoryIdList" index="index" item="id" open="(" separator="," close=")"> |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
) |
|
|
|
</if> |
|
|
|
<if test="depositoryIdList == null"> |
|
|
|
<if test="applicantId != null and applicantId != ''"> |
|
|
|
and applicantId = #{applicantId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="mid != null and mid != ''"> |
|
|
|
and mid = #{mid} |
|
|
|
</if> |
|
|
|
@ -852,7 +863,7 @@ |
|
|
|
</if> |
|
|
|
<if test="depositoryIdList != null"> |
|
|
|
and did in |
|
|
|
<foreach collection="depositoryIdList" index="index" item="id" open="(" separator="," close=")"> |
|
|
|
<foreach collection="depositoryIdList" index="index" item="did" open="(" separator="," close=")"> |
|
|
|
#{did} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
@ -877,9 +888,20 @@ |
|
|
|
<if test="applicantId != null and applicantId != ''"> |
|
|
|
and applicantId = #{applicantId} |
|
|
|
</if> |
|
|
|
<if test="depositoryId != null and depositoryId != ''"> |
|
|
|
and depositoryId = #{depositoryId} |
|
|
|
<if test="depositoryIdList != null"> |
|
|
|
and ( depositoryId |
|
|
|
in |
|
|
|
<foreach collection="depositoryIdList" index="index" item="id" open="(" separator="," close=")"> |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
) |
|
|
|
</if> |
|
|
|
<if test="depositoryIdList == null"> |
|
|
|
<if test="applicantId != null and applicantId != ''"> |
|
|
|
and applicantId = #{applicantId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="mid != null and mid != ''"> |
|
|
|
and mid = #{mid} |
|
|
|
</if> |
|
|
|
@ -916,22 +938,30 @@ |
|
|
|
<if test="depositoryManagerTime != null and depositoryManagerTime != null"> |
|
|
|
and depositoryManagerTime >= #{depositoryManagerTime} |
|
|
|
</if> |
|
|
|
<if test="depositoryManagerMessage != null and depositoryManagerMessage != null"> |
|
|
|
<if test="depositoryManagerMessage != null and depositoryManagerMessage != ''"> |
|
|
|
and depositoryManagerMessage like CONCAT('%', #{depositoryManagerMessage}, '%') |
|
|
|
</if> |
|
|
|
<if test="aorstate != null and aorstate != null"> |
|
|
|
<if test="aorstate != null and aorstate != ''"> |
|
|
|
and aorstate like CONCAT('%', #{state}, '%') |
|
|
|
</if> |
|
|
|
<if test="istransfer != null and istransfer != ''"> |
|
|
|
and istransfer = #{istransfer} |
|
|
|
</if> |
|
|
|
<if test="version != null and version != ''"> |
|
|
|
and mversion = #{version} |
|
|
|
</if> |
|
|
|
<if test="code != null and code != ''"> |
|
|
|
and mcode = #{code} |
|
|
|
</if> |
|
|
|
<if test="placeId != null"> |
|
|
|
and placeId = #{placeId} |
|
|
|
</if> |
|
|
|
<if test="adminorgid != null and adminorgid != ''"> |
|
|
|
and adminorgid = #{adminorgid} |
|
|
|
</if> |
|
|
|
<if test="constructionunitid != null and constructionunitid != ''"> |
|
|
|
and constructionunitid = #{constructionunitid} |
|
|
|
</if> |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|