Commit a430620c authored by zhaoyuan's avatar zhaoyuan

/orders/pending的返回参数中加入customerAddr字段,并且查询SQL加入了

AND (NVL(b.REMAINC , 0) > 0 OR NVL(b.REMAINA,0) > 0)
parent 9a11f7e2
......@@ -8,6 +8,7 @@ public class OrderWithPendingVo {
private String orderNo;
private String customerName;
private String customerCode;
private String customerAddr;
private Integer totalLines;
private Integer tallyLines;
private Integer remainLines; // 剩余行数
......
......@@ -186,6 +186,7 @@
h.order_no AS orderNo,
h.customer_name AS customerName,
h.customer_code AS customerCode,
h.customer_addr AS customerAddr,
h.total_lines AS totalLines,
h.tally_lines AS tallyLines,
h.ordertype,
......@@ -218,6 +219,7 @@
OR INSTR(',' || o.TEMPERATURECLASS || ',', ',' || h.TEMPERATURECLASS || ',') > 0)
)
)
AND (NVL(b.REMAINC , 0) > 0 OR NVL(b.REMAINA,0) > 0)
<if test="customerName != null and customerName != ''">
AND h.customer_name LIKE '%' || #{customerName} || '%'
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment