Commit 7111bcb7 authored by litengwei's avatar litengwei

双规小程序接口

parent b35196f3
...@@ -260,17 +260,17 @@ public class CheckController extends AbstractBaseController { ...@@ -260,17 +260,17 @@ public class CheckController extends AbstractBaseController {
requestParam.setOrgCode(orgCode); requestParam.setOrgCode(orgCode);
requestParam.setUserId(getUserId()); requestParam.setUserId(getUserId());
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 (personIdentity != null) { // if (personIdentity != null) {
requestParam.setDepId(personIdentity.getCompanyId()); // requestParam.setDepId(personIdentity.getCompanyId());
requestParam.setDepName(personIdentity.getCompanyName()); // requestParam.setDepName(personIdentity.getCompanyName());
} // }
CheckDto checkDto = checkService.saveCheckRecordNew(requestParam,token); CheckDto checkDto = checkService.saveCheckRecordNew(requestParam,token);
// if(StringUtil.isNotEmpty(checkDto)){ // if(StringUtil.isNotEmpty(checkDto)){
......
...@@ -524,13 +524,11 @@ public class CheckServiceImpl implements ICheckService { ...@@ -524,13 +524,11 @@ public class CheckServiceImpl implements ICheckService {
depts.stream().forEach(dept -> { depts.stream().forEach(dept -> {
deptName.append(dept.split("@")[2]).append(","); deptName.append(dept.split("@")[2]).append(",");
}); });
}
check.setDepName(deptName.substring(0,deptName.length() - 1)); check.setDepName(deptName.substring(0,deptName.length() - 1));
}
check.setUserName(requestParam.getUserName()); check.setUserName(requestParam.getUserName());
//check.setDepId(requestParam.getDepId());
//check.setDepName(requestParam.getDepName());
check.setCheckMode(requestParam.getCheckMode()); check.setCheckMode(requestParam.getCheckMode());
......
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