修改bug

master
wangwei 2 years ago
parent 58bf32ddf5
commit 659be532be

@ -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