修改bug

ww
wangwei 2 years ago
parent fe79d720f4
commit e21a04628a

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

Loading…
Cancel
Save