Browse Source

sale_price改成sale_amt

chunping 3 years ago
parent
commit
0c235001af

+ 2 - 2
mp-service/src/main/java/com/qs/mp/channel/domain/ChannelCommission.java

@@ -47,8 +47,8 @@ public class ChannelCommission implements Serializable {
   /**
    * 销售金额
    */
-  @TableField("sale_price")
-  private Integer salePrice;
+  @TableField("sale_amt")
+  private Integer saleAmt;
 
   /**
    * 参与分佣的销售金额比例

+ 2 - 2
mp-service/src/main/resources/mapper/channel/ChannelCommissionMapper.xml

@@ -8,7 +8,7 @@
         <result column="channel_id" property="channelId" />
         <result column="order_id" property="orderId" />
         <result column="ticket_id" property="ticketId" />
-        <result column="sale_price" property="salePrice" />
+        <result column="sale_amt" property="saleAmt" />
         <result column="sale_comm_rate" property="saleCommRate" />
         <result column="sale_comm_amt" property="saleCommAmt" />
         <result column="comm_rate" property="commRate" />
@@ -19,7 +19,7 @@
 
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
-        id, channel_id, order_id, ticket_id, sale_price, sale_comm_rate, sale_comm_amt, comm_rate, comm_amt, created_time, updated_time
+        id, channel_id, order_id, ticket_id, sale_amt, sale_comm_rate, sale_comm_amt, comm_rate, comm_amt, created_time, updated_time
     </sql>
 
 </mapper>