Merge remote-tracking branch 'origin/master'

master
x_z 2 years ago
commit 7b0de826e3

@ -102,10 +102,10 @@ public class ThrBusTypeOriginController {
}
if (thrBusTypeOriginEntity != null) {
//校验单据类型代码是否重复
boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
if (exists) {
return ResultVOUtils.error(500, "单据类型已存在!");
}
// boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
// if (exists) {
// return ResultVOUtils.error(500, "单据类型已存在!");
// }
thrBusTypeOriginService.updateBusOriginType(thrBusTypeOriginEntity);
} else {
ResultVOUtils.error(999, "参数错误");

Loading…
Cancel
Save