优化
This commit is contained in:
@@ -13,6 +13,8 @@ import org.nl.exception.BadRequestException;
|
|||||||
import org.nl.ext.acs.service.AcsToWmsService;
|
import org.nl.ext.acs.service.AcsToWmsService;
|
||||||
import org.nl.ext.acs.service.WmsToAcsService;
|
import org.nl.ext.acs.service.WmsToAcsService;
|
||||||
import org.nl.modules.security.service.dto.JwtUserDto;
|
import org.nl.modules.security.service.dto.JwtUserDto;
|
||||||
|
import org.nl.modules.system.service.GenCodeService;
|
||||||
|
import org.nl.modules.system.service.impl.GenCodeServiceImpl;
|
||||||
import org.nl.pda.exception.PdaRequestException;
|
import org.nl.pda.exception.PdaRequestException;
|
||||||
import org.nl.utils.SecurityUtils;
|
import org.nl.utils.SecurityUtils;
|
||||||
import org.nl.wms.pf.service.FlourworkService;
|
import org.nl.wms.pf.service.FlourworkService;
|
||||||
@@ -57,6 +59,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Map<String, Object> transferApply(Map<String, String> jsObject) {
|
public Map<String, Object> transferApply(Map<String, String> jsObject) {
|
||||||
|
Map<String, Object> map = transferApply2(jsObject);
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static synchronized Map<String, Object> transferApply2(Map<String, String> jsObject){
|
||||||
//任务表
|
//任务表
|
||||||
WQLObject wo_Task = WQLObject.getWQLObject("SCH_BASE_Task");
|
WQLObject wo_Task = WQLObject.getWQLObject("SCH_BASE_Task");
|
||||||
WQLObject wo_EmptyVehicleRecord = WQLObject.getWQLObject("ST_IVT_EmptyVehicleRecord");
|
WQLObject wo_EmptyVehicleRecord = WQLObject.getWQLObject("ST_IVT_EmptyVehicleRecord");
|
||||||
@@ -303,7 +310,6 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
result.put("message", "下发成功!");
|
result.put("message", "下发成功!");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS客户端--->WMS服务端
|
* ACS客户端--->WMS服务端
|
||||||
* ACS向WMS申请空盘入库任务
|
* ACS向WMS申请空盘入库任务
|
||||||
|
|||||||
Reference in New Issue
Block a user