调整wms接口增加的字段
This commit is contained in:
@@ -20,7 +20,7 @@ import lombok.NoArgsConstructor;
|
||||
public class StockinReceive {
|
||||
|
||||
/**
|
||||
* 系统生成的任务编号(唯一)
|
||||
* 系统生成的任务编号(唯一)/wms下发的任务号
|
||||
*/
|
||||
private String taskCode;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -150,7 +151,7 @@ public class ApiServiceImpl implements IApiService {
|
||||
*/
|
||||
@Override
|
||||
public RequestLog finishMydoJob(Map<String, Object> param) {
|
||||
return requestLogService.getRequestLog(JOB_FINISH_URL, "任务完成上报", JSONUtil.toJsonStr(param));
|
||||
return requestLogService.getRequestLog(WMS_TASK_FINISH, "任务完成上报", JSONUtil.toJsonStr(param));
|
||||
}
|
||||
|
||||
|
||||
@@ -576,6 +577,31 @@ public class ApiServiceImpl implements IApiService {
|
||||
}
|
||||
}
|
||||
|
||||
//// @PostConstruct
|
||||
// void qwe() {
|
||||
// HashMap<String, Object> map = new HashMap<>();
|
||||
// map.put("v_param", "RK");
|
||||
// mydoJobService.getJobId(map);
|
||||
// String s = map.get("v_serial").toString();
|
||||
// System.out.println(s);
|
||||
//
|
||||
//
|
||||
// map.put("v_param", "CK");
|
||||
// mydoJobService.getJobId(map);
|
||||
// s = map.get("v_serial").toString();
|
||||
// System.out.println(s);
|
||||
//
|
||||
// map.put("v_param", "2");
|
||||
// mydoJobService.getTaskNo(map);
|
||||
// s = map.get("v_serial").toString();
|
||||
// System.out.println(s);
|
||||
//
|
||||
// map.put("v_param", "3");
|
||||
// mydoJobService.getTaskNo(map);
|
||||
// s = map.get("v_serial").toString();
|
||||
// System.out.println(s);
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user