Browse Source

0412更新

master
ruanqi 3 years ago
parent
commit
9caa54104c
  1. 40
      src/main/java/com/heai/modules/board/entity/ViewKanbanCODelNotifyData.java
  2. 7
      src/main/resources/mapper/board/BoardMapper.xml

40
src/main/java/com/heai/modules/board/entity/ViewKanbanCODelNotifyData.java

@ -47,7 +47,11 @@ public class ViewKanbanCODelNotifyData {
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date planShipDate;
private String customerPONo;
private String delNotifyNo;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date enteredDate;
/**
*
*/
@ -69,6 +73,40 @@ public class ViewKanbanCODelNotifyData {
private String operationHk;
private String remark;
private String abbreviateName;
private String forwarderName;
public String getForwarderName() {
return forwarderName;
}
public void setForwarderName(String forwarderName) {
this.forwarderName = forwarderName;
}
public String getCustomerPONo() {
return customerPONo;
}
public void setCustomerPONo(String customerPONo) {
this.customerPONo = customerPONo;
}
public String getDelNotifyNo() {
return delNotifyNo;
}
public void setDelNotifyNo(String delNotifyNo) {
this.delNotifyNo = delNotifyNo;
}
public Date getEnteredDate() {
return enteredDate;
}
public void setEnteredDate(Date enteredDate) {
this.enteredDate = enteredDate;
}
public String getPartSpec() {
return partSpec;
}

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

@ -3,8 +3,9 @@
<mapper namespace="com.heai.modules.board.dao.BoardMapper">
<select id="getWeekShipmentBoardData" resultType="com.heai.modules.board.entity.ViewKanbanCODelNotifyData">
select PartSpec,NotifyQty,QtyPerBox,WeightperBag,BagsperBox,BoxType,WeightperBox,PlanShipDate,Site,FinishedFlag,Operation_SZ,remark,
Operation_HK,abbreviateName FROM view_KANBAN_CODelNotify
<!-- select PartSpec,NotifyQty,QtyPerBox,WeightperBag,BagsperBox,BoxType,WeightperBox,PlanShipDate,Site,FinishedFlag,Operation_SZ,remark,-->
<!-- Operation_HK,abbreviateName FROM view_KANBAN_CODelNotify-->
select abbreviateName,CustomerPONo,DelNotifyNo,PlanShipDate,PartSpec,NotifyQty,forwarderName,EnteredDate,Remark from view_KANBAN_CODelNotify_new
<where>
<if test="startDate != null ">
AND PlanShipDate >= #{startDate}
@ -159,7 +160,7 @@
LEFT JOIN PartSubPropertiesValue p2 on p2.site=a.site and p2.PartNo=a.PartNo and p2.PropertiesItemNo='GROSS WEIGHT'
LEFT JOIN ShopOrder SO1 on a.site=so1.site and a.OrderNo=SO1.OrderNo
LEFT JOIN ShopOrder SO2 on a.site=so2.site and SO1.E_OriginalOrderNo=SO2.OrderNo
LEFT JOIN PartSubPropertiesValue p3 on p3.site=a.site and p3.PartNo=a.PartNo and p3.PropertiesItemNo='HARDNESS'
LEFT JOIN PartSubPropertiesValue p3 on p3.site=a.site and p3.PartNo=a.PartNo and p3.PropertiesItemNo='DUROA'
LEFT JOIN PartSubPropertiesValue p4 on p4.site=a.site and p4.PartNo=a.PartNo and p4.PropertiesItemNo='COLOR'
where a.ClosedFlag='N' and a.scheduleType='日计划派工单'
order By a.S_ScheduledDate,a.seqNo

Loading…
Cancel
Save