八项作业

pull/14/head
dearlin 2023-12-25 14:46:14 +08:00
commit 4e4ac731e6
4 changed files with 21 additions and 15 deletions

View File

@ -421,8 +421,8 @@ public class AppGFBlindBoardController extends BaseController {
pd2.put("OTHER_PROTECTIVE_MEASURES", OTHER_PROTECTIVE_MEASURES); pd2.put("OTHER_PROTECTIVE_MEASURES", OTHER_PROTECTIVE_MEASURES);
GFblindboardService.edit(pd2); GFblindboardService.edit(pd2);
log.put("ACTION", "作业负责人通过"); log.put("ACTION", "作业负责人通过");
GFblindBoardInfoService.delete(pd);
if(pd.get("boardList")!=null){ if(pd.get("boardList")!=null){
GFblindBoardInfoService.delete(pd);
List<JSONObject> list = (List<JSONObject>) JSON.parse(pd.get("boardList").toString()); List<JSONObject> list = (List<JSONObject>) JSON.parse(pd.get("boardList").toString());
for (JSONObject json : list) { for (JSONObject json : list) {
PageData board = new PageData(); PageData board = new PageData();

View File

@ -68,6 +68,8 @@ public class LoginController extends BaseController {
@Autowired @Autowired
private OffDutyService offdutyService; private OffDutyService offdutyService;
@Autowired
private PhotoService photoService;
@Value("${czks-useridentity}") @Value("${czks-useridentity}")
private String czksIdentity; private String czksIdentity;
@Value("${czks-baseimgpath}") @Value("${czks-baseimgpath}")
@ -81,14 +83,6 @@ public class LoginController extends BaseController {
private String gwjBaseimgpath; private String gwjBaseimgpath;
@Value("${gwj-backendaddr}") @Value("${gwj-backendaddr}")
private String gwjBackendaddr; private String gwjBackendaddr;
@Autowired
private PhotoService photoService;
/** /**
* *
* *
@ -208,8 +202,6 @@ public class LoginController extends BaseController {
// 后台地址 // 后台地址
map.put("BACKENDADDR", gwjBackendaddr); map.put("BACKENDADDR", gwjBackendaddr);
} }
PageData cpd = corpinfoService.findById(pd); PageData cpd = corpinfoService.findById(pd);
//System.out.println(cpd.getString("ISUSE")); //System.out.println(cpd.getString("ISUSE"));
if (cpd != null) { if (cpd != null) {

View File

@ -73,7 +73,9 @@
f.ACCEPT_CONFESS_DEPARTMENT_ID, f.ACCEPT_CONFESS_DEPARTMENT_ID,
f.ACCEPT_CONFESS_USER_ID, f.ACCEPT_CONFESS_USER_ID,
f.ACCEPT_CONFESS_USER_SIGNER_PATH, f.ACCEPT_CONFESS_USER_SIGNER_PATH,
f.ACCEPT_CONFESS_USER_SIGNER_TIME f.ACCEPT_CONFESS_USER_SIGNER_TIME,
f.WORK_LATITUDE,
f.WORK_LONGITUDE
</sql> </sql>
<!-- 字段用于新增 --> <!-- 字段用于新增 -->
@ -137,7 +139,9 @@
ACCEPT_CONFESS_DEPARTMENT_ID, ACCEPT_CONFESS_DEPARTMENT_ID,
ACCEPT_CONFESS_USER_ID, ACCEPT_CONFESS_USER_ID,
ACCEPT_CONFESS_USER_SIGNER_PATH, ACCEPT_CONFESS_USER_SIGNER_PATH,
ACCEPT_CONFESS_USER_SIGNER_TIME ACCEPT_CONFESS_USER_SIGNER_TIME,
WORK_LATITUDE,
WORK_LONGITUDE
</sql> </sql>
<!-- 字段值 --> <!-- 字段值 -->
@ -202,7 +206,9 @@
#{ACCEPT_CONFESS_DEPARTMENT_ID}, #{ACCEPT_CONFESS_DEPARTMENT_ID},
#{ACCEPT_CONFESS_USER_ID}, #{ACCEPT_CONFESS_USER_ID},
#{ACCEPT_CONFESS_USER_SIGNER_PATH}, #{ACCEPT_CONFESS_USER_SIGNER_PATH},
#{ACCEPT_CONFESS_USER_SIGNER_TIME} #{ACCEPT_CONFESS_USER_SIGNER_TIME},
#{WORK_LATITUDE},
#{WORK_LONGITUDE}
</sql> </sql>
<!-- 新增--> <!-- 新增-->
@ -487,6 +493,8 @@
f.ACCEPT_CONFESS_USER_ID, f.ACCEPT_CONFESS_USER_ID,
f.ACCEPT_CONFESS_USER_SIGNER_PATH, f.ACCEPT_CONFESS_USER_SIGNER_PATH,
f.ACCEPT_CONFESS_USER_SIGNER_TIME, f.ACCEPT_CONFESS_USER_SIGNER_TIME,
f.WORK_LATITUDE,
f.WORK_LONGITUDE,
(SELECT replace(a.ANALYZE_TIME,'-','/') from GF_CONFINEDSPACEGAS a where a.ISDELETE = '0' (SELECT replace(a.ANALYZE_TIME,'-','/') from GF_CONFINEDSPACEGAS a where a.ISDELETE = '0'
AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID
ORDER BY ORDER BY
@ -615,6 +623,8 @@
f.CONFESS_USER_SIGNER_TIME, f.CONFESS_USER_SIGNER_TIME,
f.ACCEPT_CONFESS_DEPARTMENT_ID, f.ACCEPT_CONFESS_DEPARTMENT_ID,
f.ACCEPT_CONFESS_USER_ID, f.ACCEPT_CONFESS_USER_ID,
f.WORK_LATITUDE,
f.WORK_LONGITUDE,
IFNULL((SELECT a.ANALYZE_TIME from GF_confinedspacegas a where a.ISDELETE = '0' IFNULL((SELECT a.ANALYZE_TIME from GF_confinedspacegas a where a.ISDELETE = '0'
AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID
ORDER BY ORDER BY
@ -845,6 +855,8 @@
f.CONFESS_USER_SIGNER_TIME, f.CONFESS_USER_SIGNER_TIME,
f.ACCEPT_CONFESS_DEPARTMENT_ID, f.ACCEPT_CONFESS_DEPARTMENT_ID,
f.ACCEPT_CONFESS_USER_ID, f.ACCEPT_CONFESS_USER_ID,
f.WORK_LATITUDE,
f.WORK_LONGITUDE,
IFNULL((SELECT replace(a.ANALYZE_TIME,'-','/') from GF_confinedspacegas a where a.ISDELETE = '0' IFNULL((SELECT replace(a.ANALYZE_TIME,'-','/') from GF_confinedspacegas a where a.ISDELETE = '0'
AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID
ORDER BY ORDER BY
@ -1067,6 +1079,8 @@
f.CONFESS_USER_SIGNER_TIME, f.CONFESS_USER_SIGNER_TIME,
f.ACCEPT_CONFESS_DEPARTMENT_ID, f.ACCEPT_CONFESS_DEPARTMENT_ID,
f.ACCEPT_CONFESS_USER_ID, f.ACCEPT_CONFESS_USER_ID,
f.WORK_LATITUDE,
f.WORK_LONGITUDE,
IFNULL((SELECT a.ANALYZE_TIME from gf_confinedspacegas a where a.ISDELETE = '0' IFNULL((SELECT a.ANALYZE_TIME from gf_confinedspacegas a where a.ISDELETE = '0'
AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID AND a.CONFINEDSPACE_ID = f.CONFINEDSPACE_ID
ORDER BY ORDER BY

View File

@ -252,7 +252,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!-- 通过USERNAME获取数据 --> <!-- 通过USERNAME获取数据 -->
<select id="findByUsername" parameterType="pd" resultType="pd" > <select id="findByUsername" parameterType="pd" resultType="pd" >
select select
<include refid="Fieldf"></include> ,dept.name as deptName <include refid="Fieldf"></include> ,f.USER_IDENTITY,dept.name as deptName
from from
<include refid="tableName"></include> f <include refid="tableName"></include> f
LEFT JOIN OA_DEPARTMENT dept on f.DEPARTMENT_ID = dept.DEPARTMENT_ID LEFT JOIN OA_DEPARTMENT dept on f.DEPARTMENT_ID = dept.DEPARTMENT_ID