|
|
|
@ -70,7 +70,8 @@ |
|
|
|
</select> |
|
|
|
<!--多条件查询收款订单列表--> |
|
|
|
<select id="selectCollection1" resultType="com.example.demo.domain.vo.cash.CashCollection"> |
|
|
|
select cr.id,cr.jwcode,cr.name,cr.market,cr.activity,cr.order_code,cr.bank_code, |
|
|
|
select cr.id,cr.jwcode,cr.name,cr.market, |
|
|
|
m.name as marketName,cr.activity,cr.order_code,cr.bank_code, |
|
|
|
cr.goods_name,cr.good_num,cr.payment_currency,cr.payment_amount, |
|
|
|
cr.received_currency,cr.received_amount,cr.handling_charge, |
|
|
|
cr.received_market,cr.pay_type,cr.pay_time,cr.received_time, |
|
|
|
@ -82,6 +83,7 @@ |
|
|
|
from cash_record cr |
|
|
|
left join admin a1 on cr.submitter_id = a1.id |
|
|
|
left join admin a2 on cr.audit_id = a2.id |
|
|
|
left join market m on m.id = cr.market |
|
|
|
<where> |
|
|
|
1 = 1 |
|
|
|
<if test="cashCollection.market != null and cashCollection.market != ''"> |
|
|
|
|