Commit 647ede5d sunke

三楼线外发分盘料时不对已绑定的料进行解绑

1 个父辈 73c64dff
package com.myproject.bean.qisda; package com.myproject.bean.qisda;
import org.apache.logging.log4j.util.Strings;
import java.util.Date; import java.util.Date;
/** /**
...@@ -23,6 +25,11 @@ public class DeviceAlarmMsgBean { ...@@ -23,6 +25,11 @@ public class DeviceAlarmMsgBean {
private String name; private String name;
/**
* 设备名称
*/
private String device;
private String msgKey; private String msgKey;
private String msgValue; private String msgValue;
...@@ -93,4 +100,15 @@ public class DeviceAlarmMsgBean { ...@@ -93,4 +100,15 @@ public class DeviceAlarmMsgBean {
public boolean isInfoMsg(){ public boolean isInfoMsg(){
return type == 1; return type == 1;
} }
public String getDevice() {
if(Strings.isBlank(device)){
return name;
}
return device;
}
public void setDevice(String device) {
this.device = device;
}
} }
...@@ -340,6 +340,8 @@ public class QisdaApiController extends BaseController { ...@@ -340,6 +340,8 @@ public class QisdaApiController extends BaseController {
int realBindQty = cutOutItem.getRealLockQty() + outSendQty; int realBindQty = cutOutItem.getRealLockQty() + outSendQty;
if(cutOutItem.isCutMaterial()){ if(cutOutItem.isCutMaterial()){
if(DataCache.isProductionFor(DataCache.CUSTOMER.QISDA4D)){
//四楼线外发分盘料对已绑定的分盘料解绑,三楼不解绑
OutInfo cutOutInfo = soseqCache.getCutActionInfoFromCache(soseq); OutInfo cutOutInfo = soseqCache.getCutActionInfoFromCache(soseq);
cutOutInfo = outInfoCache.addEventItem(cutOutInfo,"线外发料,解绑站位["+slotserial+"]"); cutOutInfo = outInfoCache.addEventItem(cutOutInfo,"线外发料,解绑站位["+slotserial+"]");
soseqCache.addTotalOutInfo(cutOutInfo); soseqCache.addTotalOutInfo(cutOutInfo);
...@@ -358,7 +360,7 @@ public class QisdaApiController extends BaseController { ...@@ -358,7 +360,7 @@ public class QisdaApiController extends BaseController {
} }
realBindQty = cutOutItem.getRealLockQty() + cutOutItem.getQty(); realBindQty = cutOutItem.getRealLockQty() + cutOutItem.getQty();
}
} }
//更新发料数量,更新真实绑定数量 //更新发料数量,更新真实绑定数量
soseqCache.addToTotalSendQty(cutOutItem,outSendQty); soseqCache.addToTotalSendQty(cutOutItem,outSendQty);
......
...@@ -15,6 +15,23 @@ ...@@ -15,6 +15,23 @@
<li class="timeline-blue"> <li class="timeline-blue">
<div class="timeline-time"> <div class="timeline-time">
<span class="date">2021</span> <span class="date">2021</span>
<span class="time">10-13</span>
</div>
<div class="timeline-icon">
<i class="fa fa-clock-o"></i>
</div>
<div class="timeline-body">
<h2>版本: V2021101310</h2>
<div class="timeline-content">
<ul>
<li>三楼线外发分盘料时不对已绑定的料进行解绑</li>
</ul>
</div>
</div>
</li>
<li class="timeline-blue">
<div class="timeline-time">
<span class="date">2021</span>
<span class="time">09-09</span> <span class="time">09-09</span>
</div> </div>
<div class="timeline-icon"> <div class="timeline-icon">
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<div class="page-footer-inner"> <div class="page-footer-inner">
2016&copy; <a href="${ctx}/updateHistory.html">SMD BOX</a> 2016&copy; <a href="${ctx}/updateHistory.html">SMD BOX</a>
</div> </div>
<span class="right" style="color: #a3a3a3;">Version: 2021.09.09</span> <span class="right" style="color: #a3a3a3;">Version: 2021.10.13</span>
<div class="scroll-to-top"> <div class="scroll-to-top">
<i class="icon-arrow-up"></i> <i class="icon-arrow-up"></i>
</div> </div>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!