Browse Source

新增出入库备注“

liyg 2 years ago
parent
commit
5f5e7151f3

+ 4 - 0
src/main/java/com/steerinfo/dil/service/impl/WmshGridMaterialServiceImpl.java

@@ -164,6 +164,10 @@ public class WmshGridMaterialServiceImpl implements IWmshGridMaterialService {
             //手动清场使用当前时间
             wmshOutboundResult.setWorkTime(new Date());
         }
+        //添加备注
+        if(map.get("insertUpdateRemark")!=null){
+            wmshOutboundResult.setInsertUpdateRemark(""+map.get("insertUpdateRemark"));
+        }
         i = wmshOutboundResultMapper.insertSelective(wmshOutboundResult);
         return id.intValue();
     }

+ 4 - 0
src/main/java/com/steerinfo/dil/service/impl/WmshInboundResultServiceImpl.java

@@ -68,6 +68,10 @@ public class WmshInboundResultServiceImpl implements IWmshInboundResultService {
             //默认使用当前时间
             wmshInboundResult.setWorkTime(new Date());
         }
+        //添加备注
+        if(map.get("insertUpdateRemark")!=null){
+            wmshInboundResult.setInsertUpdateRemark(""+map.get("insertUpdateRemark"));
+        }
         wmshInboundResult.setDeleted(new BigDecimal(0)); //状态 0 正常
         return wmshInboundResultMapper.insertSelective(wmshInboundResult);
     }

+ 4 - 0
src/main/java/com/steerinfo/dil/service/impl/WmshOutboundResultServiceImpl.java

@@ -80,6 +80,10 @@ public class WmshOutboundResultServiceImpl implements IWmshOutboundResultService
         }else {
             wmshOutboundResult.setWorkTime(new Date());
         }
+        //添加备注
+        if(map.get("insertUpdateRemark")!=null){
+            wmshOutboundResult.setInsertUpdateRemark(""+map.get("insertUpdateRemark"));
+        }
         wmshOutboundResultMapper.insertSelective(wmshOutboundResult);
         return  id;
     }