bug: 政策资料修改

This commit is contained in:
wxyclub
2023-11-10 17:05:11 +08:00
parent 092a7132d8
commit 45a6e34185
10 changed files with 251 additions and 41 deletions
@@ -57,7 +57,7 @@
and `NAME` like concat('%',#{name},'%')
</if>
<if test="uploadTimeBegin != null and uploadTimeEnd != null">
and UPLOAD_TIME between #{uploadTimeBegin} and ${uploadTimeEnd}
and UPLOAD_TIME between DATE_FORMAT(#{uploadTimeBegin}, '%Y-%m-%d') and DATE_FORMAT(${uploadTimeEnd}, '%Y-%m-%d')
</if>
<if test="treeNodeIdList != null and treeNodeIdList.size() &gt; 0">
and TREE_NODE_ID in
@@ -65,6 +65,12 @@
#{treeNodeId}
</foreach>
</if>
<if test="informationIdList != null and informationIdList.size() &gt; 0">
and ID in
<foreach collection="informationIdList" item="informationId" index="index" separator="," open="(" close=")">
#{informationId}
</foreach>
</if>
</sql>
<select id="queryByPageCount" resultType="java.lang.Integer">
select count(1)