This commit is contained in:
USER-20220102CG\noblelift
2023-03-09 18:34:57 +08:00
parent a8c881b58a
commit a3ad778fbd
3 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ public class StandardAutodoorDeviceDriver extends AbstractOpcDeviceDriver implem
}
if(this.getClose() == 0){
open = "未知";
} else if(this.getOpen() == 1){
} else if(this.getClose() == 1){
open = "关到位";
}
jo.put("device_name", this.getDevice().getDevice_name());

View File

@@ -774,7 +774,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
public Map<String, Object> updateTask(String whereJson) {
JSONArray datas = JSONArray.parseArray(whereJson);
log.info("updateTask--------------:输入参数" + datas.toString());
JSONObject map = new JSONObject();
JSONArray errArr = new JSONArray();
if (datas.size() > 0) {
for (int i = 0; i < datas.size(); i++) {

View File

@@ -782,6 +782,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
public void finish(Instruction dto) {
String now = DateUtil.now();
dto.setInstruction_status("2");
dto.setUpdate_time(now);
WQLObject wo = WQLObject.getWQLObject("acs_instruction");
JSONObject json = (JSONObject) JSONObject.toJSON(dto);