更新
This commit is contained in:
@@ -388,6 +388,9 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
|
||||
Integer now_need_emptypallet_num = Integer.parseInt(taskService.findByCode(dto.getTask_code()).getEmptypallet_num());
|
||||
//当前叠盘架有空托盘数量
|
||||
int now_number = emptyVehicleStackingPositionDeviceDriver.getNumber();
|
||||
if (now_number == 0){
|
||||
now_number = 1;
|
||||
}
|
||||
//判断从第几层取
|
||||
int i = now_number - now_need_emptypallet_num - emptyNum + 1;
|
||||
if (i <= 0) {
|
||||
|
||||
@@ -291,6 +291,7 @@ public class HFHandServiceImpl implements HFHandService {
|
||||
String task_type = jsonObject.get("task_type");
|
||||
String priority = jsonObject.get("priority");
|
||||
String carrier = jsonObject.get("carrier");
|
||||
String emptypallet_num = jsonObject.get("emptypallet_num");
|
||||
|
||||
JSONObject resultJson = new JSONObject();
|
||||
DeviceAppService appService = SpringContextHolder.getBean(DeviceAppServiceImpl.class);
|
||||
@@ -363,6 +364,7 @@ public class HFHandServiceImpl implements HFHandService {
|
||||
dto.setTask_type(task_type);
|
||||
dto.setPriority(priority);
|
||||
dto.setVehicle_code(carrier);
|
||||
dto.setEmptypallet_num(emptypallet_num);
|
||||
try {
|
||||
taskService.create(dto);
|
||||
// startDevice.setIslock("true");
|
||||
|
||||
Reference in New Issue
Block a user