Browse Source

增加ReleaseDate记录

huyy 7 years ago
parent
commit
9acc756a81

+ 2 - 0
src/main/java/com/uas/platform/b2c/trade/seek/service/impl/SeekPurchaseBomServiceImpl.java

@@ -901,6 +901,8 @@ public class SeekPurchaseBomServiceImpl implements SeekPurchaseBomService {
                     map.put("message", "没有找到Bom清单id或者bomId不一致");
                     return map;
                 }
+                Date now = new Date();
+                newProduct.setReleaseDate(now);
                 //如果该物料在物料表中不存在,则将新增物料添加到物料表中
                 Product product = new Product();
                 if (!CollectionUtils.isEmpty(productDao.findProductByPcmpcodeAndPbrandenAndEnUU(newProduct.getCode(), newProduct.getBrand(), SystemSession.getUser().getEnterprise().getUu()))){