fix(oms):出入库执行单修改
This commit is contained in:
+1
-1
@@ -1219,7 +1219,7 @@ public class ReservationStockInOrderDomainService {
|
||||
public String generateExecutionOrderNumber(String warehouseCode) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd");
|
||||
String datePart = sdf.format(new Date());
|
||||
String prefix = warehouseCode + datePart;
|
||||
String prefix = "R" + warehouseCode + datePart;
|
||||
int todayCount = executionStockInOrderMapper.countByOrderNumberPrefix(prefix);
|
||||
String seq = String.format("%03d", todayCount + 1);
|
||||
return prefix + seq;
|
||||
|
||||
+1
-1
@@ -1058,7 +1058,7 @@ public class ReservationStockOutOrderDomainService {
|
||||
public String generateExecutionOrderNumber(String warehouseCode) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd");
|
||||
String datePart = sdf.format(new Date());
|
||||
String prefix = warehouseCode + datePart;
|
||||
String prefix = "C" + warehouseCode + datePart;
|
||||
int todayCount = executionStockOutOrderMapper.countByOrderNumberPrefix(prefix);
|
||||
String seq = String.format("%03d", todayCount + 1);
|
||||
return prefix + seq;
|
||||
|
||||
Reference in New Issue
Block a user