瀏覽代碼

-- 充电任务生产AMS的时候添加车号

star 1 年之前
父節點
當前提交
4e49c1852a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      warewms-ams/src/main/java/com/ruoyi/ams/business/BusinessServiceImpl.java

+ 1 - 0
warewms-ams/src/main/java/com/ruoyi/ams/business/BusinessServiceImpl.java

@@ -617,6 +617,7 @@ public class BusinessServiceImpl implements IBusinessService {
         if(wcsTask.getBusinessType().equals(Constant.TASK_BUSINESS_TYPE.TASK_POWER.getValue())){
             amsTask.setStFrom(Integer.valueOf(wcsTask.getLocationFrom()));
             amsTask.setStTo(Integer.valueOf(wcsTask.getLocationTo()));
+            amsTask.setDeviceName(wcsTask.getDeviceName());
         }else{
             amsTask.setStFrom(locFrom.getAgvStation().intValue());
             amsTask.setStTo(locTo.getAgvStation().intValue());