Commit 3388e703 authored by tangwei's avatar tangwei

修改无计划巡检部门

parent 19fcdd55
...@@ -229,16 +229,15 @@ public class CheckController extends AbstractBaseController { ...@@ -229,16 +229,15 @@ public class CheckController extends AbstractBaseController {
requestParam.setUserName(personIdentity.getPersonName()); requestParam.setUserName(personIdentity.getPersonName());
if (reginParams.getDepartment() != null && reginParams.getDepartment().getSequenceNbr() != null) { if (reginParams.getDepartment() != null && reginParams.getDepartment().getSequenceNbr() != null) {
requestParam.setDepId(reginParams.getDepartment().getSequenceNbr().toString());
// requestParam.setDepId(reginParams.getDepartment().getSequenceNbr().toString());
requestParam.setCheckDepartmentId(reginParams.getDepartment().getSequenceNbr().toString()); requestParam.setCheckDepartmentId(reginParams.getDepartment().getSequenceNbr().toString());
} }
if (reginParams.getDepartment() != null) { if (personIdentity != null) {
requestParam.setDepName(reginParams.getDepartment().getDepartmentName()); requestParam.setDepId(personIdentity.getCompanyId());
requestParam.setDepName(personIdentity.getCompanyName());
} }
CheckDto checkDto = checkService.saveCheckRecordNew(requestParam,token); CheckDto checkDto = checkService.saveCheckRecordNew(requestParam,token);
if(StringUtil.isNotEmpty(checkDto)){ if(StringUtil.isNotEmpty(checkDto)){
asyncTaskf(checkDto.getCheckId()); asyncTaskf(checkDto.getCheckId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment