2024/12/13 增加筛选条件
parent
ef22ca6c04
commit
1f0083d851
|
@ -113,6 +113,12 @@ public class GFBlindBoardController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFblindboardService.list(page); //列出BlindBoard列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -110,6 +110,12 @@ public class GFBreakGroundController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFbreakgroundService.list(page); //列出BreakGround列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -126,6 +126,12 @@ public class GFConfinedSpaceController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFconfinedspaceService.list(page); //列出ConfinedSpace列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -118,6 +118,12 @@ public class GFCutRoadController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFcutroadService.list(page); //列出CutRoad列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -110,6 +110,12 @@ public class GFHighWorkController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFhighworkService.list(page); //列出HighWork列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -110,6 +110,12 @@ public class GFHoistingController extends BaseController {
|
|||
String DEPT_IDS[] = DEPTIDS.split(",");
|
||||
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);
|
||||
List<PageData> varList = GFhoistingService.list(page); //列出Hoisting列表
|
||||
map.put("varList", varList);
|
||||
|
|
|
@ -608,6 +608,15 @@
|
|||
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
|
||||
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
|
@ -617,6 +617,15 @@
|
|||
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
|
||||
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
|
@ -746,6 +746,15 @@
|
|||
<if test="pd.ANALYZE_USER_ID != null and pd.ANALYZE_USER_ID != ''">
|
||||
and f.ANALYZE_USER_ID = #{pd.ANALYZE_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
|
@ -629,6 +629,15 @@
|
|||
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
|
||||
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
|
@ -641,6 +641,15 @@
|
|||
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
|
||||
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
|
@ -616,6 +616,15 @@
|
|||
<if test="pd.ACCEPT_USER_ID != null and pd.ACCEPT_USER_ID != ''">
|
||||
and f.ACCEPT_USER_ID = #{pd.ACCEPT_USER_ID}
|
||||
</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 <= #{pd.ENDTIME}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='pd.ISMAIN != null and pd.ISMAIN != "" and pd.ISMAIN == "1"'>
|
||||
<if test="pd.DEPT_IDS != null and pd.DEPT_IDS != ''">
|
||||
|
|
Loading…
Reference in New Issue