Explorar el Código

[task-6943] 新批号字段拼上货号

huangws hace 1 día
padre
commit
db5e3809d8

+ 1 - 1
GetDataByView/src/main/java/com/jyxt/getdatabyview/HandleData.java

@@ -95,7 +95,7 @@ public class HandleData {
             reagentSubMap.put("parent_id_", orderedId);
             reagentSubMap.put("create_time_", String.valueOf(getCurTime("yyyy-MM-dd HH:mm:ss")));
             reagentSubMap.put("shi_ji_hao_cai_", reagentName);
-            reagentSubMap.put("shi_ji_xin_pi_hao", newBatchNumber);
+            reagentSubMap.put("shi_ji_xin_pi_hao", newBatchNumber+"/"+inStoreDate.replace("-", ""));
             reagentSubMap.put("shi_ji_jiu_pi_hao", oldBatchNumber);
             reagentSubMap.put("jiu_you_xiao_qi_", oldExpiredDate);
             reagentSubMap.put("xin_you_xiao_qi_", newExpiredDate);