修改bug

ww
wangwei 2 years ago
parent fe79d720f4
commit e21a04628a

@ -98,10 +98,10 @@ public class BussinessOriginTypeController {
}
if (bussinessTypeEntity != null) {
//校验单据类型代码是否重复
boolean exists = bussinessOriginTypeService.checkActionExists(bussinessTypeEntity.getAction(), bussinessTypeEntity.getThirdSys());
if (exists) {
return ResultVOUtils.error(500, "单据类型已存在!");
}
// boolean exists = bussinessOriginTypeService.checkActionExists(bussinessTypeEntity.getAction(), bussinessTypeEntity.getThirdSys());
// if (exists) {
// return ResultVOUtils.error(500, "单据类型已存在!");
// }
bussinessTypeEntity.setUpdateTime(new Date());
bussinessOriginTypeService.updateBusOriginType(bussinessTypeEntity);
} else {

Loading…
Cancel
Save