2024/12/13 增加筛选条件

0205cmt
zhaohongyu 2024-12-13 17:53:34 +08:00
parent ef22ca6c04
commit 1f0083d851
12 changed files with 90 additions and 0 deletions

View File

@ -113,6 +113,12 @@ public class GFBlindBoardController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFblindboardService.list(page); //列出BlindBoard列表 List<PageData> varList = GFblindboardService.list(page); //列出BlindBoard列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -110,6 +110,12 @@ public class GFBreakGroundController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFbreakgroundService.list(page); //列出BreakGround列表 List<PageData> varList = GFbreakgroundService.list(page); //列出BreakGround列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -126,6 +126,12 @@ public class GFConfinedSpaceController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFconfinedspaceService.list(page); //列出ConfinedSpace列表 List<PageData> varList = GFconfinedspaceService.list(page); //列出ConfinedSpace列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -118,6 +118,12 @@ public class GFCutRoadController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFcutroadService.list(page); //列出CutRoad列表 List<PageData> varList = GFcutroadService.list(page); //列出CutRoad列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -110,6 +110,12 @@ public class GFHighWorkController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFhighworkService.list(page); //列出HighWork列表 List<PageData> varList = GFhighworkService.list(page); //列出HighWork列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -110,6 +110,12 @@ public class GFHoistingController extends BaseController {
String DEPT_IDS[] = DEPTIDS.split(","); String DEPT_IDS[] = DEPTIDS.split(",");
pd.put("DEPT_IDS", DEPT_IDS); pd.put("DEPT_IDS", DEPT_IDS);
} }
String STARTTIME = pd.getString("STARTTIME"); // 关键词检索条件
if (Tools.notEmpty(STARTTIME))
pd.put("STARTTIME", STARTTIME.trim());
String ENDTIME = pd.getString("ENDTIME"); // 关键词检索条件
if (Tools.notEmpty(ENDTIME))
pd.put("ENDTIME", ENDTIME + " 23:59:59");
page.setPd(pd); page.setPd(pd);
List<PageData> varList = GFhoistingService.list(page); //列出Hoisting列表 List<PageData> varList = GFhoistingService.list(page); //列出Hoisting列表
map.put("varList", varList); map.put("varList", varList);

View File

@ -608,6 +608,15 @@
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''"> <if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID} and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.CONSTRUCTION_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">

View File

@ -617,6 +617,15 @@
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''"> <if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID} and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.CONSTRUCTION_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">

View File

@ -746,6 +746,15 @@
<if test="pd.ANALYZE_USER_ID != null and pd.ANALYZE_USER_ID != ''"> <if test="pd.ANALYZE_USER_ID != null and pd.ANALYZE_USER_ID != ''">
and f.ANALYZE_USER_ID = #{pd.ANALYZE_USER_ID} and f.ANALYZE_USER_ID = #{pd.ANALYZE_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.APPLY_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">

View File

@ -629,6 +629,15 @@
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''"> <if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID} and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.CONSTRUCTION_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">

View File

@ -641,6 +641,15 @@
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''"> <if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID} and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.CONSTRUCTION_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">

View File

@ -616,6 +616,15 @@
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''"> <if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID} and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
</if> </if>
<if test="pd.UNIT_LEADER_DEPARTMENT_ID != null and pd.UNIT_LEADER_DEPARTMENT_ID != ''">
and f.CONSTRUCTION_DEPARTMENT_ID = #{pd.UNIT_LEADER_DEPARTMENT_ID}
</if>
<if test="pd.STARTTIME != null and pd.STARTTIME != ''"><!-- 关键词检索 -->
and f.CREATTIME >= #{pd.STARTTIME}
</if>
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
and f.CREATTIME &lt;= #{pd.ENDTIME}
</if>
<choose> <choose>
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'> <when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''"> <if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">