Commit 5cdc4adf authored by wanghao's avatar wanghao

1 写自检后 判断下 是否写成功

parent 20aa86c8
......@@ -129,7 +129,7 @@ public class PalletDeviceBinding extends BaseEntity
/**
* 实时AD
*/
private Integer realTimeAd;
private int realTimeAd;
/**
* 实时状态 0-异常;1-正常
......@@ -353,11 +353,11 @@ public class PalletDeviceBinding extends BaseEntity
this.runTimeStatus = runTimeStatus;
}
public Integer getRealTimeAd() {
public int getRealTimeAd() {
return realTimeAd;
}
public void setRealTimeAd(Integer realTimeAd) {
public void setRealTimeAd(int realTimeAd) {
this.realTimeAd = realTimeAd;
}
......
......@@ -109,7 +109,7 @@ public class PalletDeviceBindingServiceImpl implements IPalletDeviceBindingServi
return AjaxResult.error("有错误设备未解除绑定,不允许重置");
}
palletDeviceBindingMapper.deleteAllByTrayId(trayId);
palletDeviceBindingMapper.resetAll(trayId);
tTrayInfoMapper.initStatusByTrayId(trayId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment