mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
SnowflakeIdWorker3rd逻辑还原
This commit is contained in:
+1
-1
@@ -674,7 +674,7 @@ public class DefaultExcelOrderImportFactory {
|
||||
.name(combination.getName())
|
||||
.type(OrderPlateTypeEnum.LAYERBOARD.getType())
|
||||
.goodsId(goodsId)
|
||||
.plateNo("1" + String.format("%05d", organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.plateNo(String.valueOf(organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.height(BigDecimal.valueOf(Double.parseDouble(height)))
|
||||
.width(BigDecimal.valueOf(Double.parseDouble(width)))
|
||||
.thickness(BigDecimal.valueOf(Double.parseDouble(combination.getThickness())))
|
||||
|
||||
+1
-1
@@ -515,7 +515,7 @@ public class DefaultXmlOrderImportFactory {
|
||||
.id(plateId)
|
||||
.orderId(orderId)
|
||||
.name(blockXmlVO.getName())
|
||||
.plateNo("1" + String.format("%05d", organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.plateNo(String.valueOf(organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.type(plateType)
|
||||
.goodsId(goodsId)
|
||||
.width(BigDecimal.valueOf(Double.parseDouble(blockXmlVO.getWidth())))
|
||||
|
||||
+1
-1
@@ -1269,7 +1269,7 @@ public class ProducingOrderImportFactory {
|
||||
.id(plateId)
|
||||
.orderId(orderId)
|
||||
.name(block.getName())
|
||||
.plateNo("1" + String.format("%05d", organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.plateNo(String.valueOf(organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.type(block.getType())
|
||||
.goodsId(goodsDO.getId())
|
||||
.width(getBigDecimalOrNull(block.getWidth()))
|
||||
|
||||
+1
-1
@@ -797,7 +797,7 @@ public class WebCadOrderImportAsyncFactory {
|
||||
.id(plateId)
|
||||
.orderId(orderId)
|
||||
.name(block.getName())
|
||||
.plateNo("1" + String.format("%05d", organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.plateNo(String.valueOf(organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.type(block.getType())
|
||||
.goodsId(goodsDO.getId())
|
||||
.width(getBigDecimalOrNull(block.getWidth()))
|
||||
|
||||
+1
-1
@@ -978,7 +978,7 @@ public class WebCadOrderImportFactory {
|
||||
.id(plateId)
|
||||
.orderId(orderId)
|
||||
.name(block.getName())
|
||||
.plateNo("1" + String.format("%05d", organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.plateNo(String.valueOf(organId) + obtainingTime + Long.toString(plateNo).substring(2))
|
||||
.type(block.getType())
|
||||
.goodsId(goodsDO.getId())
|
||||
.width(getBigDecimalOrNull(block.getWidth()))
|
||||
|
||||
Reference in New Issue
Block a user