|
@ -9,6 +9,7 @@ import org.nl.wms.ext.service.dto.to.iot.IotOrdersReq; |
|
|
import org.nl.wms.ext.service.dto.to.iot.IotPartsReq; |
|
|
import org.nl.wms.ext.service.dto.to.iot.IotPartsReq; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
|
|
|
import org.springframework.http.HttpStatus; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -22,20 +23,32 @@ public class IotToWmsServiceImpl implements IotToWmsService { |
|
|
private AcsToWmsService acsToWmsService; |
|
|
private AcsToWmsService acsToWmsService; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public BaseResponse acsApply(JSONObject param) { |
|
|
public JSONObject acsApply(JSONObject param) { |
|
|
return acsToWmsService.acsApply(param); |
|
|
// return acsToWmsService.acsApply(param);
|
|
|
|
|
|
JSONObject resultJson = new JSONObject(); |
|
|
|
|
|
resultJson.put("status", HttpStatus.OK); |
|
|
|
|
|
resultJson.put("message", "操作成功"); |
|
|
|
|
|
resultJson.put("data", new JSONObject()); |
|
|
|
|
|
return resultJson; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public BaseResponse parts(IotPartsReq iotPartsReq) { |
|
|
public JSONObject parts(IotPartsReq iotPartsReq) { |
|
|
return null; |
|
|
JSONObject resultJson = new JSONObject(); |
|
|
|
|
|
resultJson.put("status", HttpStatus.OK); |
|
|
|
|
|
resultJson.put("message", "操作成功"); |
|
|
|
|
|
resultJson.put("data", new JSONObject()); |
|
|
|
|
|
return resultJson; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public BaseResponse orders(IotOrdersReq iotOrdersReq) { |
|
|
public JSONObject orders(IotOrdersReq iotOrdersReq) { |
|
|
|
|
|
JSONObject resultJson = new JSONObject(); |
|
|
return null; |
|
|
resultJson.put("status", HttpStatus.OK); |
|
|
|
|
|
resultJson.put("message", "操作成功"); |
|
|
|
|
|
resultJson.put("data", new JSONObject()); |
|
|
|
|
|
return resultJson; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|