bug: 78224政策法规资料、内外部会议、政策课题时间区间查询问题
This commit is contained in:
+2
-2
@@ -87,8 +87,8 @@ public class InsideOutsideMeetingVO extends BasePage {
|
||||
private String sortMode = "asc";
|
||||
|
||||
// 会议时间查询字段
|
||||
private Date meetingTimeBegin;
|
||||
private Date meetingTimeEnd;
|
||||
private String meetingTimeBegin;
|
||||
private String meetingTimeEnd;
|
||||
|
||||
// 导出使用字段
|
||||
// 被前端选中的记录的ids
|
||||
|
||||
@@ -239,8 +239,8 @@ public class SarLawsTopicVO extends BasePage {
|
||||
private String sortMode = "asc";
|
||||
|
||||
// 排序字段
|
||||
private Date startTimeBegin;
|
||||
private Date startTimeEnd;
|
||||
private String startTimeBegin;
|
||||
private String startTimeEnd;
|
||||
|
||||
// 导出使用的属性
|
||||
// 导出文件名
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
and MEETING_ORGANIZER like concat('%',#{meetingOrganizer},'%')
|
||||
</if>
|
||||
<if test="meetingTimeBegin != null and meetingTimeEnd != null">
|
||||
and MEETING_TIME between #{meetingTimeBegin} and #{meetingTimeEnd}
|
||||
and MEETING_TIME between DATE_FORMAT(#{meetingTimeBegin}, '%Y-%m-%d') and DATE_FORMAT(#{meetingTimeEnd}, '%Y-%m-%d')
|
||||
</if>
|
||||
<if test="meetingAddress != null and meetingAddress != ''" >
|
||||
and MEETING_ADDRESS like concat('%',#{meetingAddress},'%')
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
and `NAME` like concat('%',#{name},'%')
|
||||
</if>
|
||||
<if test="uploadTimeBegin != null and uploadTimeEnd != null">
|
||||
and UPLOAD_TIME between DATE_FORMAT(#{uploadTimeBegin}, '%Y-%m-%d') and DATE_FORMAT(${uploadTimeEnd}, '%Y-%m-%d')
|
||||
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() > 0">
|
||||
and TREE_NODE_ID in
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
and PARTICIPATING_UNIT like concat('%',#{participatingUnit},'%')
|
||||
</if>
|
||||
<if test="startTimeBegin != null and startTimeEnd != null">
|
||||
and START_TIME between #{startTimeBegin} and ${startTimeEnd}
|
||||
and START_TIME between DATE_FORMAT(#{startTimeBegin}, '%Y-%m-%d') and DATE_FORMAT(#{startTimeEnd}, '%Y-%m-%d')
|
||||
</if>
|
||||
<if test="topicStatus != null and topicStatus != ''" >
|
||||
and TOPIC_STATUS = #{topicStatus}
|
||||
|
||||
Reference in New Issue
Block a user