Quellcode durchsuchen

商户对账查询增加商户id

wanxl vor 1 Jahr
Ursprung
Commit
575bb4ac13

+ 1 - 0
src/main/java/com/sqx/modules/reconciliation/model/ShopBillVo.java

@@ -6,5 +6,6 @@ import lombok.Data;
 public class ShopBillVo extends PlatformBill{
 
     private String phone;
+    private String shopId;
 
 }

+ 1 - 1
src/main/resources/mapper/reconciliation/PlatformBillMapper.xml

@@ -28,7 +28,7 @@
     </select>
 
     <select id="shopBill" resultType="com.sqx.modules.reconciliation.model.ShopBillVo">
-        select pb.*,gs.shop_name as shopName,gs.phone
+        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
         <where>