diff --git a/src/main/java/com/gaotao/modules/notify/entity/SOIssueNotifyOrderList.java b/src/main/java/com/gaotao/modules/notify/entity/SOIssueNotifyOrderList.java
index a1c3cce..8df3b81 100644
--- a/src/main/java/com/gaotao/modules/notify/entity/SOIssueNotifyOrderList.java
+++ b/src/main/java/com/gaotao/modules/notify/entity/SOIssueNotifyOrderList.java
@@ -1,5 +1,6 @@
package com.gaotao.modules.notify.entity;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -73,6 +74,12 @@ public class SOIssueNotifyOrderList implements Serializable {
* 订单类型(shoporder/customer等)- rqrq
*/
private String orderType;
+
+ /**
+ * 配送区域描述(通过production_area关联area表获取的area_desc,非数据库字段)- rqrq
+ */
+ @TableField(exist = false)
+ private String areaDesc;
}
diff --git a/src/main/resources/mapper/customer/ShipmentIssueMapper.xml b/src/main/resources/mapper/customer/ShipmentIssueMapper.xml
index 87cf759..a81d103 100644
--- a/src/main/resources/mapper/customer/ShipmentIssueMapper.xml
+++ b/src/main/resources/mapper/customer/ShipmentIssueMapper.xml
@@ -11,10 +11,12 @@
where a.site=#{site} and a.username=#{username} and a.status='UNISSUE' and a.order_type='shipment'
order by a.entered_date desc
+
@@ -359,7 +359,7 @@
AND unit_id = #{serialNo}
-
+
SELECT
site,
@@ -376,7 +376,6 @@
FROM SOIssueNotifyOrderMaterialList_detail WITH (NOLOCK)
WHERE site = #{site}
AND notify_no = #{notifyNo}
- AND order_type = 'shoporder'
ORDER BY item_no, BOM_item_no, task_seq