bug: 政策课题,政策资料,内外部会议的查询时间改为区间查询。政策资料可见人和可查看人配置修改

This commit is contained in:
wxyclub
2023-11-09 14:16:48 +08:00
parent 1b0c3a0fc5
commit 2d0c081ddf
7 changed files with 53 additions and 23 deletions
@@ -50,8 +50,8 @@
<if test="meetingOrganizer != null and meetingOrganizer != ''" >
and MEETING_ORGANIZER like concat('%',#{meetingOrganizer},'%')
</if>
<if test="meetingTime != null and meetingTime !=''">
and MEETING_TIME ${meetingTimeOperator} #{meetingTime}
<if test="meetingTimeBegin != null and meetingTimeEnd != null">
and MEETING_TIME between #{meetingTimeBegin} and #{meetingTimeEnd}
</if>
<if test="meetingAddress != null and meetingAddress != ''" >
and MEETING_ADDRESS like concat('%',#{meetingAddress},'%')
@@ -35,9 +35,15 @@
THIRD_TYPE,
FOURTH_TYPE,
`NAME`,
DEPARTMENT,AUTHOR,UPLOAD_TIME,
`DESCRIPTION`,INFORMATION_FILE,VIEWABLE_BY,
DOWNLOADABLE_BY,VALID_FLAG,CREATE_TIME,
DEPARTMENT,
AUTHOR,
UPLOAD_TIME,
`DESCRIPTION`,
INFORMATION_FILE,
VIEWABLE_BY,
DOWNLOADABLE_BY,
VALID_FLAG,
CREATE_TIME,
MODIFY_TIME
</sql>
<sql id="Base_Where_Clause">
@@ -50,8 +56,8 @@
<if test="name != null and name != ''">
and `NAME` like concat('%',#{name},'%')
</if>
<if test="uploadTime != null">
and UPLOAD_TIME = #{uploadTime}
<if test="uploadTimeBegin != null and uploadTimeEnd != null">
and UPLOAD_TIME between #{uploadTimeBegin} and ${uploadTimeEnd}
</if>
<if test="treeNodeId != null and treeNodeId != ''">
and TREE_NODE_ID = #{treeNodeId}
@@ -114,11 +114,8 @@
<if test="participatingUnit != null and participatingUnit != ''" >
and PARTICIPATING_UNIT like concat('%',#{participatingUnit},'%')
</if>
<if test="startTime != null">
and START_TIME ${startTimeOperator} #{startTime}
</if>
<if test="closeTime != null">
and CLOSE_TIME ${startTimeOperator} #{closeTime}
<if test="startTimeBegin != null and startTimeEnd != null">
and START_TIME between #{startTimeBegin} and ${startTimeEnd}
</if>
<if test="topicStatus != null and topicStatus != ''" >
and TOPIC_STATUS = #{topicStatus}