|
@@ -28,9 +28,14 @@
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="shopBill" resultType="com.sqx.modules.reconciliation.model.ShopBillVo">
|
|
<select id="shopBill" resultType="com.sqx.modules.reconciliation.model.ShopBillVo">
|
|
|
- select pb.*,gs.shop_name as shopName,gs.phone,gs.shop_id as shopId
|
|
|
|
|
- from platform_bill pb left join tb_user tu on pb.user_id =tu.user_id
|
|
|
|
|
- left join goods_shop gs on gs.user_id =tu.user_id
|
|
|
|
|
|
|
+ select
|
|
|
|
|
+ pb.*,
|
|
|
|
|
+ gs.shop_name as shopName,
|
|
|
|
|
+ gs.phone,
|
|
|
|
|
+ gs.shop_id as shopId
|
|
|
|
|
+ from
|
|
|
|
|
+ platform_bill pb
|
|
|
|
|
+ left join goods_shop gs on gs.user_id = pb.user_id and gs.status = 1
|
|
|
<where>
|
|
<where>
|
|
|
pb.`type` = 1
|
|
pb.`type` = 1
|
|
|
<if test="params.startDate != null and params.startDate != '' and params.startDate != 'null'">
|
|
<if test="params.startDate != null and params.startDate != '' and params.startDate != 'null'">
|
|
@@ -48,6 +53,7 @@
|
|
|
</where>
|
|
</where>
|
|
|
order by pb.day_id desc
|
|
order by pb.day_id desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
<select id="platformBill" resultType="com.sqx.modules.reconciliation.model.PlatformBill">
|
|
<select id="platformBill" resultType="com.sqx.modules.reconciliation.model.PlatformBill">
|
|
|
select pb.*
|
|
select pb.*
|
|
|
from platform_bill pb
|
|
from platform_bill pb
|