Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -15,5 +15,6 @@ public class ReceiveJob {
|
||||
private String entranceId;
|
||||
private String inOrOut;
|
||||
private String jobId;
|
||||
private String roadwayId;
|
||||
|
||||
}
|
||||
|
||||
@@ -355,7 +355,9 @@ public class ApiServiceImpl implements IApiService {
|
||||
mydoJob.setInOrOut(receiveOutJob.getInOrOut());
|
||||
mydoJob.setStatus("1");
|
||||
mydoJob.setTrayCode(receiveOutJob.getTrayCode());
|
||||
mydoJob.setRoadwayId(receiveOutJob.getRoadwayId());
|
||||
mydoJob.setCreateTime(DateUtils.getNowDate());
|
||||
mydoJob.setExecutionPhase("0");
|
||||
int i = mydoJobService.insertMydoJob(mydoJob);
|
||||
if (i > 0) {
|
||||
return AjaxResult.success();
|
||||
|
||||
@@ -143,7 +143,7 @@ public class ScheduleThread {
|
||||
monitoringCustomThread.thread.start();
|
||||
//floor1BothWayInSsjCustomThread.thread.start();
|
||||
//floor1BothWayOutSsjCustomThread.thread.start();
|
||||
//floor1SingleSsjCustomThread.thread.start();
|
||||
floor1SingleSsjCustomThread.thread.start();
|
||||
floor2InSsjCustomThread.thread.start();
|
||||
lineSsjCustomThread.thread.start();
|
||||
floor2OutSsjCustomThread.thread.start();
|
||||
|
||||
@@ -198,9 +198,9 @@ public class LineSsjThread implements Runnable {
|
||||
String deviceCode = "";
|
||||
if (mydoJob != null) {
|
||||
if ("1".equals(mydoJob.getRoadwayId())) {
|
||||
deviceCode = "L1012";
|
||||
} else {
|
||||
deviceCode = "L1011";
|
||||
} else {
|
||||
deviceCode = "L1012";
|
||||
}
|
||||
int kx = deviceSsjMap.get(deviceCode).getKx();
|
||||
MydoJob mydoJob1 = new MydoJob();
|
||||
|
||||
@@ -130,7 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</trim>
|
||||
</insert>
|
||||
<insert id="insertHistory">
|
||||
insert into mydo_job_wcs_history
|
||||
insert into mydo_job_wcs_finish
|
||||
select * from mydo_job_wcs where job_id = #{jobId}
|
||||
</insert>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user