Compare commits

...

6 Commits

19 changed files with 130 additions and 1 deletions

View File

@ -2243,6 +2243,12 @@ public class HotWorkApplicationController extends BaseController {
pd.put("CREATOR", Jurisdiction.getUSER_ID());
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
pd = Jurisdiction.getUserDataJurisdiction(pd);
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 = hotworkapplicationService.hotworkdatalistPage(page); //列出HotWorkApplication列表
Map<String,Integer> hotIdKeyMap = new HashMap<>();

View File

@ -937,14 +937,20 @@ public class ListManagerController extends BaseController {
pd = this.getPageData();
String NAME = "";
String KEYWORDS = "";
String LEVELID = "";
if(Tools.notEmpty(pd.getString("USERNAME"))){
NAME = pd.getString("USERNAME");
}if(Tools.notEmpty(pd.getString("KEYWORDS"))){
}
if(Tools.notEmpty(pd.getString("KEYWORDS"))){
KEYWORDS = pd.getString("KEYWORDS");
}
if(Tools.notEmpty(pd.getString("LEVELID"))){
LEVELID = pd.getString("LEVELID");
}
pd = listmanagerService.findById(pd); //根据ID读取
pd.put("USERNAME",NAME); //用于清单编辑时查询功能
pd.put("KEYWORDS",KEYWORDS);
pd.put("LEVELID",LEVELID);
List<PageData> varList = listcheckitemService.listAll(pd);
for (PageData item : varList) {
item.put("RECORDITEM_ID", this.get32UUID()); //主键

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -112,6 +112,12 @@ public class GFElectricityController 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 = GFelectricityService.list(page); //列出Electricity列表
map.put("varList", varList);

View File

@ -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);

View File

@ -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);

View File

@ -188,6 +188,9 @@
chi.CHECK_CONTENT LIKE CONCAT(CONCAT('%', #{KEYWORDS}),'%')
)
</if>
<if test="LEVELID != null and LEVELID != ''"><!-- 风险级别 -->
and d5.BIANMA LIKE CONCAT(CONCAT('%', #{LEVELID}),'%')
</if>
ORDER by un.RISKUNITNAME ,id.PARTSNAME,f.CREATTIME desc
-- order by f.LISTMANAGER_ID desc
</select>

View File

@ -126,6 +126,9 @@
<if test="pd.FIRE_POINT_NAME != null and pd.FIRE_POINT_NAME !='' ">
and fp.FIRE_POINT_NAME like concat('%',#{pd.FIRE_POINT_NAME},'%')
</if>
<if test="pd.DEPARTMENTNAME != null and pd.DEPARTMENTNAME !='' ">
and d.`NAME` like concat('%',#{pd.DEPARTMENTNAME},'%')
</if>
ORDER BY
fr.FIRE_REGION_ID,fr.CREATTIME,fp.FIRE_POINT_ID,fp.CREATTIME,fd.FIRE_DEVICE_TYPE_ID,fd.CREATTIME, fd.OPERATTIME
DESC

View File

@ -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 &lt;= #{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 != ''">

View File

@ -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 &lt;= #{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 != ''">

View File

@ -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 &lt;= #{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 != ''">

View File

@ -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 &lt;= #{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 != ''">

View File

@ -744,6 +744,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 &lt;= #{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 != ''">

View File

@ -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 &lt;= #{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 != ''">

View File

@ -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 &lt;= #{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 != ''">

View File

@ -393,6 +393,12 @@
<if test="pd.keyState != null and pd.keyState != ''">
and f.STATE = #{pd.keyState}
</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>
GROUP BY HOTWORKAPPLICATION_ID
ORDER BY
fu.OPERATTIME DESC <!-- 前台的排序时间查的是hotuser表里的OPERATTIME起别名叫排序时间 -->