出库导入报错;
This commit is contained in:
@@ -42,7 +42,7 @@ public class RegexUtil {
|
||||
*/
|
||||
public static boolean isAccountLegal(String str) throws PatternSyntaxException {
|
||||
// 4-20位,大小写字母或数字
|
||||
String regEx = "(^[A-Za-z0-9]{3,20}$)";
|
||||
String regEx = "(^[A-Za-z0-9]{1,20}$)";
|
||||
Pattern p = Pattern.compile(regEx);
|
||||
Matcher m = p.matcher(str);
|
||||
return m.matches();
|
||||
|
||||
+2
-1
@@ -111,6 +111,7 @@ public class ReservationStockOutOrderDomainService {
|
||||
}
|
||||
stockOutOrderService.insert(stockOutOrderDO);
|
||||
List<ReservationDeliveryDetailsLink> reservationDeliveryDetailsLinkList = stockOutOrderDO.getReservationDeliveryDetailsLinkList();
|
||||
if (reservationDeliveryDetailsLinkList != null && !reservationDeliveryDetailsLinkList.isEmpty()){
|
||||
reservationDeliveryDetailsLinkList.forEach(reservationDeliveryDetailsLink -> {
|
||||
reservationDeliveryDetailsLink.setOrderNumber(stockOutOrderDO.getOutOrderNumber());
|
||||
reservationDeliveryDetailsLink.setOrderId(stockOutOrderDO.getOutOrderId());
|
||||
@@ -118,7 +119,7 @@ public class ReservationStockOutOrderDomainService {
|
||||
if (!CollectionUtils.isEmpty(reservationDeliveryDetailsLinkList)) {
|
||||
reservationDeliveryDetailsLinkService.saveBatch(reservationDeliveryDetailsLinkList);
|
||||
}
|
||||
|
||||
}
|
||||
return outMaterialDetailService.batchInsert(stockOutOrderDO.getOutOrderNumber(), stockOutOrderDO.getMaterialDetailList());
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -191,7 +191,7 @@ public class StockReceiptOrderPO extends StockInOrderBasePO {
|
||||
@Excel(name = "业务单号")
|
||||
private String businessOrderNo;
|
||||
|
||||
@ApiModelProperty("业务单号")
|
||||
@Excel(name = "业务单号")
|
||||
@ApiModelProperty("批次号")
|
||||
@Excel(name = "批次号")
|
||||
private String batchNo;
|
||||
}
|
||||
+3
-1
@@ -114,6 +114,8 @@ public class StockShelfOrder extends BaseVOEntity {
|
||||
|
||||
@ApiModelProperty("推送人姓名")
|
||||
private String pushByName;
|
||||
|
||||
@ApiModelProperty("批次号")
|
||||
@Excel(name = "批次号")
|
||||
private String batchNo;
|
||||
|
||||
}
|
||||
+3
@@ -135,5 +135,8 @@ public class StockShelfOrderPO extends StockInOrderBasePO {
|
||||
|
||||
@ApiModelProperty("推送人姓名")
|
||||
private String pushByName;
|
||||
@ApiModelProperty("批次号")
|
||||
@Excel(name = "批次号")
|
||||
private String batchNo;
|
||||
|
||||
}
|
||||
+3
@@ -148,4 +148,7 @@ public class StockShelfOrderDO extends StockInOrderBaseDO {
|
||||
|
||||
@ApiModelProperty("推送人姓名")
|
||||
private String pushByName;
|
||||
@ApiModelProperty("批次号")
|
||||
@Excel(name = "批次号")
|
||||
private String batchNo;
|
||||
}
|
||||
+3
@@ -137,4 +137,7 @@ public class StockShelfOrderDTO extends StockInOrderBaseDTO {
|
||||
|
||||
@ApiModelProperty("推送人姓名")
|
||||
private String pushByName;
|
||||
@ApiModelProperty("批次号")
|
||||
@Excel(name = "批次号")
|
||||
private String batchNo;
|
||||
}
|
||||
Reference in New Issue
Block a user