diff --git a/src/main/java/com/heai/modules/production/entity/SOOPInspectData.java b/src/main/java/com/heai/modules/production/entity/SOOPInspectData.java
index f16fd7b..ce0d5a4 100644
--- a/src/main/java/com/heai/modules/production/entity/SOOPInspectData.java
+++ b/src/main/java/com/heai/modules/production/entity/SOOPInspectData.java
@@ -27,4 +27,5 @@ public class SOOPInspectData extends SOOpsTransferHeaderData{
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date endDate;
private String shiftNo;
+ private String user;
}
diff --git a/src/main/java/com/heai/modules/production/entity/StockPrintData.java b/src/main/java/com/heai/modules/production/entity/StockPrintData.java
index b66b64d..ade0d64 100644
--- a/src/main/java/com/heai/modules/production/entity/StockPrintData.java
+++ b/src/main/java/com/heai/modules/production/entity/StockPrintData.java
@@ -64,6 +64,7 @@ public class StockPrintData {
private String status;
private Integer printQty;
private Double weight;
+ private Double qtyOnHand;
public String getPartDesc() {
return partDesc;
}
@@ -215,5 +216,13 @@ public class StockPrintData {
public void setWeight(Double weight) {
this.weight = weight;
}
+
+ public Double getQtyOnHand() {
+ return qtyOnHand;
+ }
+
+ public void setQtyOnHand(Double qtyOnHand) {
+ this.qtyOnHand = qtyOnHand;
+ }
}
diff --git a/src/main/resources/mapper/pad/PadMapper.xml b/src/main/resources/mapper/pad/PadMapper.xml
index f8fe1a7..a78234f 100644
--- a/src/main/resources/mapper/pad/PadMapper.xml
+++ b/src/main/resources/mapper/pad/PadMapper.xml
@@ -65,6 +65,7 @@
AND OrderRef1 = #{partNo}
AND DelFlag='N'
+ and OrderRef3='*'
diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml
index 7e882fb..9397487 100644
--- a/src/main/resources/mapper/production/DailyPlanMapper.xml
+++ b/src/main/resources/mapper/production/DailyPlanMapper.xml
@@ -521,37 +521,39 @@
Group by QtyReported
@@ -841,10 +843,10 @@
diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml
index a933f94..cdff3ac 100644
--- a/src/main/resources/mapper/production/SoScheduledListMapper.xml
+++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml
@@ -105,7 +105,7 @@
update SOOpsTransferHeader set inspected_flag='Y' ,inspect_result=#{inspectResult} ,inspect_remark=#{inspectRemark}
- ,NeedReceiveFlag=#{needReceiveFlag},ToEnteredDate=#{newDate}
+ ,NeedReceiveFlag=#{needReceiveFlag},ToEnteredDate=#{newDate},LatestUpdatedDate=GETDATE(),LatestUpdatedBy=#{user}
where site=#{site} and transNo=#{transNo}