ACS请求LMS获取点位高度接口重新调整
This commit is contained in:
@@ -11,6 +11,7 @@ import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.nl.common.exception.BadRequestException;
|
||||
import org.nl.system.service.notice.ISysNoticeService;
|
||||
import org.nl.system.service.param.ISysParamService;
|
||||
import org.nl.wms.database.material.service.IMdBaseMaterialService;
|
||||
import org.nl.wms.database.material.service.dao.MdBaseMaterial;
|
||||
import org.nl.wms.ext.service.AcsToWmsService;
|
||||
@@ -201,9 +202,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
Map<String, String> map=new HashMap<>();
|
||||
map.put("start_point",schBaseTask.getPoint_code1());
|
||||
map.put("next_point",schBaseTask.getPoint_code2());
|
||||
//todo
|
||||
map.put("start_height","0");
|
||||
map.put("next_height","0");
|
||||
map.put("start_height",schBaseTask.getPoint_code1_height());
|
||||
map.put("next_height",schBaseTask.getPoint_code2_height());
|
||||
result.setParameters(map);
|
||||
} catch (Exception e) {
|
||||
String message = ObjectUtil.isEmpty(e.getMessage())
|
||||
|
||||
@@ -120,4 +120,10 @@ public class SchBaseTask implements Serializable {
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private String update_time;
|
||||
|
||||
@ApiModelProperty(value = "点位1高度")
|
||||
private String point_code1_height="0";
|
||||
|
||||
@ApiModelProperty(value = "点位2高度")
|
||||
private String point_code2_height="0";
|
||||
|
||||
}
|
||||
|
||||
@@ -246,6 +246,6 @@ public class MJXLTask extends AbstractTask {
|
||||
|
||||
@Override
|
||||
protected void feedbackTaskState(JSONObject param,SchBaseTask schBaseTask, BaseResponse result) {
|
||||
//todo 重算最优点
|
||||
//无需重算,返回当前点位即可
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user