|
@@ -614,6 +614,8 @@ public class CheckStandardServiceImpl extends BaseServiceImpl<CheckStandardMappe
|
|
checkStandard.setLevel(2);
|
|
checkStandard.setLevel(2);
|
|
}else if (vo.getLevel().trim().equals("三级")){
|
|
}else if (vo.getLevel().trim().equals("三级")){
|
|
checkStandard.setLevel(3);
|
|
checkStandard.setLevel(3);
|
|
|
|
+ }else {
|
|
|
|
+ throw new BusinessException("维护等级:' "+vo.getLevel()+"' 填写错误!");
|
|
}
|
|
}
|
|
// sbInfo.setLevel(vo.getSbLevel());
|
|
// sbInfo.setLevel(vo.getSbLevel());
|
|
// SysUser user = new SysUser();
|
|
// SysUser user = new SysUser();
|
|
@@ -654,12 +656,12 @@ public class CheckStandardServiceImpl extends BaseServiceImpl<CheckStandardMappe
|
|
if ("1".equals(vo.getCheckUserType())) {
|
|
if ("1".equals(vo.getCheckUserType())) {
|
|
// checkStandard.setSbId(sbInfo.getId());
|
|
// checkStandard.setSbId(sbInfo.getId());
|
|
checkStandard.setCheckUserId(sbInfo.getSaveUser());
|
|
checkStandard.setCheckUserId(sbInfo.getSaveUser());
|
|
- checkStandard.setLevel(1);
|
|
|
|
|
|
+// checkStandard.setLevel(1);
|
|
}
|
|
}
|
|
- if ("2".equals(vo.getCheckUserType()) || "3".equals(vo.getCheckUserType())) {// 设备的维修员
|
|
|
|
|
|
+ if ("2".equals(vo.getCheckUserType())) {// 设备的维修员
|
|
// checkStandard.setSbId(sbInfo.getId());
|
|
// checkStandard.setSbId(sbInfo.getId());
|
|
checkStandard.setCheckUserId(sbInfo.getRepairUser());
|
|
checkStandard.setCheckUserId(sbInfo.getRepairUser());
|
|
- checkStandard.setLevel(2);
|
|
|
|
|
|
+// checkStandard.setLevel(2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|