方法修改

main
dongdingding 9 months ago
parent 5abf9f5aac
commit dd867b272b

@ -38,7 +38,11 @@ public class ACheckQuatzEntity {
*/ */
@ApiModelProperty(value = "人员编号") @ApiModelProperty(value = "人员编号")
private String rybh; private String rybh;
/**
* a_safe_fxdxxbh
*/
@ApiModelProperty(value = "a_safe_fxdxxbh")
private String fxdxxbh;
/** /**
* (-2,-1,0,1) * (-2,-1,0,1)
*/ */

@ -76,6 +76,13 @@ public class ACheckQuatzZichaEntity {
@ApiModelProperty(value = "风险点编号") @ApiModelProperty(value = "风险点编号")
private String fxdbh; private String fxdbh;
/**
* a_safe_fxdxxbh
*/
@ApiModelProperty(value = "a_safe_fxdxxbh")
private String fxdxxbh;
/** /**
* *
*/ */

@ -115,8 +115,8 @@ public class AcheckTaskQuartz {
// @ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据") // @ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据")
public AjaxResult selectAll() throws ParseException { public AjaxResult selectAll() throws ParseException {
//巡查任务周期id //巡查任务周期id
RwzqUuidResponse rwzqUuidResponse=aSafeRwzqService.getXcUuid(); RwzqUuidResponse rwzqUuidResponse = aSafeRwzqService.getXcUuid();
String rwzqUuid=rwzqUuidResponse.getXxbh(); String rwzqUuid = rwzqUuidResponse.getXxbh();
String responseList = HttpRequest.post(imUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body(); String responseList = HttpRequest.post(imUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body();
JSONObject jsonResponseList = JSON.parseObject(responseList); JSONObject jsonResponseList = JSON.parseObject(responseList);
String dataList = jsonResponseList.getString("data"); String dataList = jsonResponseList.getString("data");
@ -228,7 +228,7 @@ public class AcheckTaskQuartz {
//周期编号 //周期编号
aSafeYhzgxx.setZqbh(rwzqUuid); aSafeYhzgxx.setZqbh(rwzqUuid);
//企业风险点编号 对应a_safe_fxd的信息编号 //企业风险点编号 对应a_safe_fxd的信息编号
aSafeYhzgxx.setQyfxdbh(b.getCheckId()); aSafeYhzgxx.setQyfxdbh(b.getFxdxxbh());
//隐患来源 //隐患来源
aSafeYhzgxx.setYhly("1"); aSafeYhzgxx.setYhly("1");
//检查时间 //检查时间
@ -569,8 +569,8 @@ public class AcheckTaskQuartz {
// @ApiOperation(value = "自查") // @ApiOperation(value = "自查")
public AjaxResult zicha() throws ParseException { public AjaxResult zicha() throws ParseException {
//自己查任务周期id //自己查任务周期id
RwzqUuidResponse rwzqUuidResponse=aSafeRwzqService.getZcUuid(); RwzqUuidResponse rwzqUuidResponse = aSafeRwzqService.getZcUuid();
String rwzqUuid=rwzqUuidResponse.getXxbh(); String rwzqUuid = rwzqUuidResponse.getXxbh();
String responseList = HttpRequest.post(zcXxUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body(); String responseList = HttpRequest.post(zcXxUrl).contentType("application/x-www-form-urlencoded;charset=UTF-8").execute().body();
JSONObject jsonResponseList = JSON.parseObject(responseList); JSONObject jsonResponseList = JSON.parseObject(responseList);
String dataList = jsonResponseList.getString("data"); String dataList = jsonResponseList.getString("data");
@ -586,7 +586,7 @@ public class AcheckTaskQuartz {
/** /**
*a_safe_rwzq *a_safe_rwzq
*/ */
saveRwzq(a, rwzqUuid); // saveRwzq(a, rwzqUuid);
/** /**
* a_safe_zcrw * a_safe_zcrw
*/ */
@ -694,7 +694,7 @@ public class AcheckTaskQuartz {
//任务编号 //任务编号
aSafeZcrwjl.setRwbh(zcrwUuid); aSafeZcrwjl.setRwbh(zcrwUuid);
//企业风险点编号 //企业风险点编号
aSafeZcrwjl.setQyfxdbh(b.getCheckId()); aSafeZcrwjl.setQyfxdbh(b.getFxdxxbh());
//企业风险点位置编号 //企业风险点位置编号
aSafeZcrwjl.setQyfxdwzbh(b.getFxbh()); aSafeZcrwjl.setQyfxdwzbh(b.getFxbh());
//是否发现隐患 //是否发现隐患
@ -878,7 +878,7 @@ public class AcheckTaskQuartz {
//周期编号 //周期编号
aSafeYhzgxx.setZqbh(rwzqUuid); aSafeYhzgxx.setZqbh(rwzqUuid);
//企业风险点编号 对应a_safe_fxd的信息编号 //企业风险点编号 对应a_safe_fxd的信息编号
aSafeYhzgxx.setQyfxdbh(b.getCheckId()); aSafeYhzgxx.setQyfxdbh(b.getFxdxxbh());
//隐患来源 //隐患来源
aSafeYhzgxx.setYhly("2"); aSafeYhzgxx.setYhly("2");
//检查时间 //检查时间

Loading…
Cancel
Save