demand: TMS系统 - 订单管理 - 订单列表 - 数据展示优化-底部增加查询数据总数和分页查看数据 默认每页20条数据 TMS系统/APP - 运单录入/运单修改/网点费用申请-货物名称 不允许 只填写”空格、标点符号、特殊符号“来代替 货物名称
This commit is contained in:
parent
a129e3653b
commit
518539d50d
@ -2363,7 +2363,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
// 校验货物信息,不能只包含空格或符号
|
||||
String goodsInfo = emisWaybillSave.getGoodsInfo();
|
||||
if (StringUtils.isBlank(goodsInfo) || !Pattern.compile("[\\p{L}\\p{N}]").matcher(goodsInfo).find()) {
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "货物信息不能只包含空格、标点或特殊符号");
|
||||
// 货物信息不能只包含空格、标点或特殊符号
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "货物名称命名不规范,请检查!");
|
||||
}
|
||||
|
||||
String orderSn = WaybillHelper.genOrderSn();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user