Browse Source

修改

master
ruanqi 2 years ago
parent
commit
3658355def
  1. 12
      src/main/java/com/jianteng/modules/board/entity/SOSRoutingBoardData.java
  2. 2
      src/main/resources/mapper/board/BoardMapper.xml

12
src/main/java/com/jianteng/modules/board/entity/SOSRoutingBoardData.java

@ -13,6 +13,8 @@ public class SOSRoutingBoardData extends SOScheduledRoutingOutData {
private String operationDesc;
private String lastOperationDesc;
private Date needDate;
private String productionLineDesc;
public String getLastLineName() {
return lastLineName;
}
@ -68,4 +70,14 @@ public class SOSRoutingBoardData extends SOScheduledRoutingOutData {
public void setNeedDate(Date needDate) {
this.needDate = needDate;
}
@Override
public String getProductionLineDesc() {
return productionLineDesc;
}
@Override
public void setProductionLineDesc(String productionLineDesc) {
this.productionLineDesc = productionLineDesc;
}
}

2
src/main/resources/mapper/board/BoardMapper.xml

@ -7,7 +7,7 @@
a.OutWorkFlag,a.S_ScheduledDate,a.S_ResourceID,a.S_ShiftNo,e.NeedDate,
a.S_WorkCenterNo,a.mat_issueflag,a.partNo,b.QtyRequired lastRequireQty,b.QtyReported lastReportQty,
dbo.Get_ProductionLineDesc(a.Site,dbo.Get_WorkCenter_ProLineNo(b.site,b.S_WorkCenterNo)) lastLineName,
a.previousSeqNo lastSeqNoDoing,c.operationDesc,d.operationDesc as lastOperationDesc
a.previousSeqNo lastSeqNoDoing,c.operationDesc,d.operationDesc as lastOperationDesc,dbo.Get_ProductionLineDesc(a.Site,dbo.Get_WorkCenter_ProLineNo(a.site,sos.S_WorkCenterNo)) ProductionLineDesc
from SOScheduledRouting a left join SOScheduledRouting b on a.Site=b.Site and a.previousSeqNo=b.SeqNo
left join v_sorouting c on a.Site=c.Site and a.OrderNo=c.OrderNo and a.ItemNo=c.ItemNo
left join v_sorouting d on b.Site=d.Site and b.OrderNo=d.OrderNo and b.ItemNo=d.ItemNo

Loading…
Cancel
Save