Merge remote-tracking branch 'origin/master'

This commit is contained in:
猫猫guowen
2025-09-30 15:33:47 +08:00
6 changed files with 49 additions and 4 deletions

View File

@@ -15,5 +15,6 @@ public class ReceiveJob {
private String entranceId;
private String inOrOut;
private String jobId;
private String roadwayId;
}

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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>