|
|
@@ -699,7 +699,7 @@
|
|
|
|
|
|
<select id="salesmanOrderInvoiceList" resultType="com.goafanti.order.bo.TOrderInvoiceBo">
|
|
|
select a.id ,a.order_no as orderNo,b.contract_no contractNo,a.amount,date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTime,
|
|
|
- a.reject_reason as rejectReason,a.status from t_order_invoice a left join t_order_new b
|
|
|
+ a.reject_reason as rejectReason,a.status ,a.approval from t_order_invoice a left join t_order_new b
|
|
|
on a.order_no=b.order_no where a.status !=4
|
|
|
<if test="orderNo !=null">
|
|
|
and a.order_no = #{orderNo,jdbcType=VARCHAR}
|