1、新增常用货物
2、新增运输计划 3、新增项目管理 4、新增运单管理 5、新增常用线路 6、新增发货模板 7、新增合同管理 8、新增过程配置 9、新增临时额度管理
This commit is contained in:
@@ -257,7 +257,7 @@ public class CargoTypeServiceImpl extends BaseServiceImpl<CargoTypeMapper, Cargo
|
||||
throw new ServiceException("货物类型编码格式不正确");
|
||||
}
|
||||
if (!cargoType.getCargoCode().startsWith(parent.getCargoCode())) {
|
||||
throw new ServiceException("二级编码前2位必须与上级货物类型编码一致");
|
||||
throw new ServiceException("货物类型编码前2位必须与上级货物类型编码一致");
|
||||
}
|
||||
if (Objects.equals(cargoType.getId(), parent.getId())) {
|
||||
throw new ServiceException("请选择上级货物类型");
|
||||
|
||||
Reference in New Issue
Block a user