物资审核代码提交

master
郑明梁 2 years ago
parent 1e11b9b5d3
commit ac92524ae9

@ -255,7 +255,7 @@ public class DeptController extends BaseController {
return ResultVOUtils.error(999, msg); return ResultVOUtils.error(999, msg);
} }
//判断供应商状态 //判断供应商状态
if (deptEntity.isSpUse() == false) { if (deptEntity.getSpUse() == false) {
FilterDeptUserReqeust filterDeptUserReqeust = new FilterDeptUserReqeust(); FilterDeptUserReqeust filterDeptUserReqeust = new FilterDeptUserReqeust();
filterDeptUserReqeust.setDeptId(deptEntity.getId().longValue()); filterDeptUserReqeust.setDeptId(deptEntity.getId().longValue());
List<DeptUserEntity> deptUserEntities = deptUserService.selectDeptUser(filterDeptUserReqeust); List<DeptUserEntity> deptUserEntities = deptUserService.selectDeptUser(filterDeptUserReqeust);

@ -257,6 +257,10 @@ public class ThrProductsAddDiController {
thrProductsAddDiEntity.setRemark(remark); thrProductsAddDiEntity.setRemark(remark);
thrProductsAddDiEntity.setStatus(status); thrProductsAddDiEntity.setStatus(status);
thrProductsAddDiService.updateDiProduct(thrProductsAddDiEntity); thrProductsAddDiService.updateDiProduct(thrProductsAddDiEntity);
}else {
thrProductsAddDiEntity.setRemark(remark);
thrProductsAddDiEntity.setStatus(status);
thrProductsAddDiService.updateDiProduct(thrProductsAddDiEntity);
} }
return ResultVOUtils.success("更新成功"); return ResultVOUtils.success("更新成功");
} }

@ -28,6 +28,6 @@ public class DeptEntity {
private String thirdId3; private String thirdId3;
private String thirdId4; private String thirdId4;
private boolean spUse; private Boolean spUse;
} }

Loading…
Cancel
Save