高级搜索 发布日期范围查询

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-17 10:55:44 +08:00
parent 4f18df878c
commit a8544607de
2 changed files with 16 additions and 2 deletions
@@ -88,8 +88,18 @@ public class SarStandardsInfoEOPage extends BasePage {
private String orderBy1 = "SAR_STANDARDS_INFO.issue_time";
private String order1 = "";
// zhaokaiyao
/**
* zhaokaiyao
*/
private String textStatus;//文本状态
/**
* 日期范围查询发布日期开始
*/
private String startIssueTime;
/**
* 日期范围查询发布日期结束
*/
private String endIssueTime;
}
@@ -832,8 +832,12 @@
<if test="page.standYear != null and page.standYear != ''">
and SAR_STANDARDS_INFO.STAND_YEAR = #{page.standYear}
</if>
<!-- 发布日期日期-->
<if test="page.issueTime != null and page.issueTime != ''">
and DATE_FORMAT(SAR_STANDARDS_INFO.ISSUE_TIME ,'%Y-%m-%d') = #{page.issueTime}
and
DATE_FORMAT(SAR_STANDARDS_INFO.ISSUE_TIME ,'%Y-%m-%d')
between #(page.startIssueTime)
and #(page.endIssueTime)
</if>
<!--内容摘要-->
<if test="page.synopsis != null and page.synopsis != ''" >