forked from integrated_whb/integrated_whb
修复bug
parent
b16405202a
commit
4c65e0c6c3
|
@ -924,6 +924,8 @@ public class HiddenController extends BaseController {
|
||||||
List<PageData> hImgs = imgFilesService.listAll(pd2);// 隐患图片
|
List<PageData> hImgs = imgFilesService.listAll(pd2);// 隐患图片
|
||||||
pd2.put("TYPE", 4);
|
pd2.put("TYPE", 4);
|
||||||
List<PageData> rImgs = imgFilesService.listAll(pd2);// 整改图片
|
List<PageData> rImgs = imgFilesService.listAll(pd2);// 整改图片
|
||||||
|
pd2.put("TYPE", 50);
|
||||||
|
List<PageData> yImgs = imgFilesService.listAll(pd2);// 整改图片
|
||||||
/*
|
/*
|
||||||
* pd2.put("TYPE",5); List<PageData> cImgs = imgFilesService.listAll(pd2);//验收图片
|
* pd2.put("TYPE",5); List<PageData> cImgs = imgFilesService.listAll(pd2);//验收图片
|
||||||
*/ // 查询整改方案
|
*/ // 查询整改方案
|
||||||
|
@ -958,6 +960,7 @@ public class HiddenController extends BaseController {
|
||||||
map.put("hs", hs);
|
map.put("hs", hs);
|
||||||
map.put("hImgs", hImgs);
|
map.put("hImgs", hImgs);
|
||||||
map.put("rImgs", rImgs);
|
map.put("rImgs", rImgs);
|
||||||
|
map.put("yImgs", yImgs);
|
||||||
// map.put("cImgs", cImgs);
|
// map.put("cImgs", cImgs);
|
||||||
map.put("sImgs", sImgs);
|
map.put("sImgs", sImgs);
|
||||||
map.put("pImgs", pImgs);
|
map.put("pImgs", pImgs);
|
||||||
|
|
|
@ -121,6 +121,8 @@ public class NodeApp {
|
||||||
buffer.append("\n");
|
buffer.append("\n");
|
||||||
if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){
|
if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){
|
||||||
buffer.append(inspector.getString("INSPECTION_USER_NAME"));
|
buffer.append(inspector.getString("INSPECTION_USER_NAME"));
|
||||||
|
buffer.append("\n");
|
||||||
|
buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME"));
|
||||||
// buffer.append("(");
|
// buffer.append("(");
|
||||||
// buffer.append(")");
|
// buffer.append(")");
|
||||||
}else {
|
}else {
|
||||||
|
@ -132,11 +134,11 @@ public class NodeApp {
|
||||||
this.title = buffer.toString();
|
this.title = buffer.toString();
|
||||||
|
|
||||||
buffer.setLength(0);
|
buffer.setLength(0);
|
||||||
for (PageData inspector : inspectors) {
|
// for (PageData inspector : inspectors) {
|
||||||
if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){
|
// if (StringUtils.isNotBlank(inspector.getString("INSPECTION_USER_SIGN_TIME"))){
|
||||||
buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME"));
|
// buffer.append(inspector.getString("INSPECTION_USER_SIGN_TIME"));
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (buffer.length() > 0) {
|
if (buffer.length() > 0) {
|
||||||
this.desc = buffer.toString();
|
this.desc = buffer.toString();
|
||||||
|
|
|
@ -433,6 +433,9 @@
|
||||||
<select id="findById" parameterType="pd" resultType="pd">
|
<select id="findById" parameterType="pd" resultType="pd">
|
||||||
select
|
select
|
||||||
<include refid="Field"></include>,
|
<include refid="Field"></include>,
|
||||||
|
f.FINAL_CHECK,
|
||||||
|
f.FINAL_CHECKTIME,
|
||||||
|
f.FINAL_CHECKDESCR,
|
||||||
f.POSITIONDESC,
|
f.POSITIONDESC,
|
||||||
cr.NAME CREATORNAME,
|
cr.NAME CREATORNAME,
|
||||||
re.NAME RECTIFICATIONORNAME,
|
re.NAME RECTIFICATIONORNAME,
|
||||||
|
@ -451,6 +454,7 @@
|
||||||
hregion.HIDDENREGION as hregionName,
|
hregion.HIDDENREGION as hregionName,
|
||||||
od.DEPARTMENT_ID as confirmDept,
|
od.DEPARTMENT_ID as confirmDept,
|
||||||
fc.NAME FINAL_CHECKOR_NAME,
|
fc.NAME FINAL_CHECKOR_NAME,
|
||||||
|
fcd.NAME FINAL_CHECKOR_NDEPTNAME,
|
||||||
isa.INSPECTION_ASSESS_ID,
|
isa.INSPECTION_ASSESS_ID,
|
||||||
siu.NAME as acceptName,
|
siu.NAME as acceptName,
|
||||||
isa.ASSESS_SCORE,
|
isa.ASSESS_SCORE,
|
||||||
|
@ -473,6 +477,7 @@
|
||||||
left join sys_user su on su.USER_ID = f.CONFIRM_USER
|
left join sys_user su on su.USER_ID = f.CONFIRM_USER
|
||||||
left join oa_department od on od.DEPARTMENT_ID = su.DEPARTMENT_ID
|
left join oa_department od on od.DEPARTMENT_ID = su.DEPARTMENT_ID
|
||||||
LEFT JOIN sys_user fc ON fc.USER_ID = f.FINAL_CHECKOR
|
LEFT JOIN sys_user fc ON fc.USER_ID = f.FINAL_CHECKOR
|
||||||
|
left join oa_department fcd on fcd.DEPARTMENT_ID = fc.DEPARTMENT_ID
|
||||||
LEFT JOIN sys_user siu ON siu.USER_ID = f.CHECKOR
|
LEFT JOIN sys_user siu ON siu.USER_ID = f.CHECKOR
|
||||||
LEFT JOIN BUS_INSPECTION_SAFETYENVIRONMENTAL_ASSESS isa ON isa.HIDDEN_ID = f.HIDDEN_ID and isa.ISDELETE = '0'
|
LEFT JOIN BUS_INSPECTION_SAFETYENVIRONMENTAL_ASSESS isa ON isa.HIDDEN_ID = f.HIDDEN_ID and isa.ISDELETE = '0'
|
||||||
where
|
where
|
||||||
|
@ -4170,9 +4175,12 @@
|
||||||
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
|
<if test="pd.ENDTIME != null and pd.ENDTIME != ''">
|
||||||
and f.CREATTIME <= #{pd.ENDTIME}
|
and f.CREATTIME <= #{pd.ENDTIME}
|
||||||
</if>
|
</if>
|
||||||
<if test="pd.STATE != null and pd.STATE !='' and pd.STATE != 0 and pd.STATE != 99" >
|
<if test="pd.STATE != null and pd.STATE !='' and pd.STATE != 0 and pd.STATE != 99 and pd.STATE != 100" >
|
||||||
and f.STATE = #{pd.STATE}
|
and f.STATE = #{pd.STATE}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="pd.STATE != null and pd.STATE !='' and pd.STATE == 100" >
|
||||||
|
and f.STATE != '100'
|
||||||
|
</if>
|
||||||
<if test="pd.STATE != null and pd.STATE !='' and pd.STATE == 99" > <!-- BI页面未整改点进来之后 状态搜索框不搜索数据 数据显示未整改和已过期状态-->
|
<if test="pd.STATE != null and pd.STATE !='' and pd.STATE == 99" > <!-- BI页面未整改点进来之后 状态搜索框不搜索数据 数据显示未整改和已过期状态-->
|
||||||
and f.STATE in ('1','-1')
|
and f.STATE in ('1','-1')
|
||||||
</if>
|
</if>
|
||||||
|
@ -4360,7 +4368,7 @@
|
||||||
</choose>
|
</choose>
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
<if test="pd.STATE != null and pd.STATE != '' and pd.STATE != 99"><!-- 关键词检索 -->
|
<if test="pd.STATE != null and pd.STATE != '' and pd.STATE != 99 and pd.STATE != 100"><!-- 关键词检索 -->
|
||||||
and
|
and
|
||||||
f.STATE = #{pd.STATE}
|
f.STATE = #{pd.STATE}
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue