Procházet zdrojové kódy

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

star před 1 rokem
rodič
revize
4e49c1852a

+ 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());