|
|
|
@ -6,6 +6,7 @@ import org.springblade.core.tenant.annotation.NonDS; |
|
|
|
import org.springblade.desk.produce.service.IDisTaskingService; |
|
|
|
import org.springblade.desk.produce.service.IDisTaskingService; |
|
|
|
import org.springblade.desk.produce.service.IHandoverRecordService; |
|
|
|
import org.springblade.desk.produce.service.IHandoverRecordService; |
|
|
|
import org.springblade.desk.produce.service.IPdaSaveService; |
|
|
|
import org.springblade.desk.produce.service.IPdaSaveService; |
|
|
|
|
|
|
|
import org.springblade.desk.produce.service.IWorkOrderService; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
@ -25,6 +26,8 @@ public class DisTaskingClient implements IDisTaskingClient { |
|
|
|
|
|
|
|
|
|
|
|
private final IHandoverRecordService handoverRecordService; |
|
|
|
private final IHandoverRecordService handoverRecordService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final IWorkOrderService workOrderService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean syncDisTasking() { |
|
|
|
public boolean syncDisTasking() { |
|
|
|
return disTaskingService.syncDisTasking(false); |
|
|
|
return disTaskingService.syncDisTasking(false); |
|
|
|
@ -44,4 +47,11 @@ public class DisTaskingClient implements IDisTaskingClient { |
|
|
|
public boolean unBindEc() { |
|
|
|
public boolean unBindEc() { |
|
|
|
return pdaSaveServiceImpl.unBindEc(); |
|
|
|
return pdaSaveServiceImpl.unBindEc(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean saveWorkOrderRun(String woId) { |
|
|
|
|
|
|
|
workOrderService.addPrWorkOrderRun(woId); |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|