zelong.shao

customer|运单号校验

......@@ -61,7 +61,7 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS
ConsignmentAddDto consignmentAddDto = new ConsignmentAddDto();
if (StringUtils.isEmpty(bo.getConsignmentCode()) || !bo.getConsignmentCode().matches("\\d{12}")) {
consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO);
return responseUtils.success(ResponseCode.MESSAGE_CODE_30004, consignmentAddDto);
return responseUtils.success(ResponseCode.MESSAGE_CODE_30017, consignmentAddDto);
}
//查询运单表是否存在已提交的运单
LocalDate thirtyDaysAgo = LocalDate.now().minusDays(30);
......