Jelajahi Sumber

更新跑腿财务中心接口

liu 1 tahun lalu
induk
melakukan
6e92dddde3

+ 6 - 0
src/main/java/com/sqx/modules/pay/entity/CashOut.java

@@ -117,6 +117,12 @@ public class CashOut implements Serializable {
     @ApiModelProperty(name = "银行卡开户行")
     private String openBank ;
 
+    /**
+     * 用户手机号
+     */
+    private String phone;
+
+
     @TableField(exist = false)
     private String userName;
 

+ 5 - 0
src/main/java/com/sqx/modules/pay/vo/CashOutVO.java

@@ -20,4 +20,9 @@ public class CashOutVO extends CashOut {
      */
     private String stationName;
 
+    /**
+     * 用户手机号
+     */
+    private String phoneNumber;
+
 }

+ 1 - 1
src/main/resources/mapper/pay/CashDao.xml

@@ -298,7 +298,7 @@
     </sql>
 
     <select id="selectCashOutList" resultType="com.sqx.modules.pay.vo.CashOutVO">
-        select gh.shop_name, co.*,rs.station_name as stationName,tu.user_name as userName
+        select gh.shop_name, co.*,rs.station_name as stationName,tu.user_name as userName,tu.phone as phoneNumber
         from cash_out co
         left join goods_shop gh on gh.shop_id = co.shop_id
         left join tb_user tu on tu.user_id=co.user_id