供应商发票页面优化问题

dev
黄泽腾 2 years ago
parent d9462d3f2e
commit 5c451346ea

@ -197,4 +197,5 @@ public class FilterOrderRequest extends ListPageRequest {
private String unionRemark; private String unionRemark;
private String remark; private String remark;
private Integer confirmStatus;
} }

@ -9,5 +9,6 @@ public class InnerOrderDetailRequest extends ListPageRequest {
private String orderIdFk; private String orderIdFk;
private String productId; private String productId;
private String billNo; private String billNo;
private String nameCode;
} }

@ -230,7 +230,7 @@ public class IoOrderResponse {
//总金额 //总金额
private BigDecimal allAmount; private BigDecimal allAmount;
private Integer confirmStatus;
/** /**
* *

@ -503,6 +503,9 @@
LEFT JOIN basic_corp bc ON io.fromCorp = bc.erpId LEFT JOIN basic_corp bc ON io.fromCorp = bc.erpId
LEFT JOIN io_order_detail_code dc ON io.billNo = dc.orderIdFk LEFT JOIN io_order_detail_code dc ON io.billNo = dc.orderIdFk
<where> <where>
<if test="confirmStatus != null and confirmStatus != ''">
AND io.checkStatus = #{confirmStatus}
</if>
<if test="id != null and id != ''"> <if test="id != null and id != ''">
AND io.id = #{id} AND io.id = #{id}
</if> </if>
@ -630,7 +633,7 @@
order by ${orderBy} ${sort} order by ${orderBy} ${sort}
</when> </when>
<otherwise> <otherwise>
order by updateTime desc order by checkStatus asc,updateTime desc
</otherwise> </otherwise>
</choose> </choose>
</select> </select>

Loading…
Cancel
Save