yumeng hace 1 año
padre
commit
87dba59269

+ 1 - 1
ruixuan-live/src/main/resources/mapper/isc/KuaishouRuleSettlementDataMapper.xml

@@ -338,7 +338,7 @@
         sum(anchor_amount) as 'anchorAmount',
         sum(reference_amount) as 'referenceAmount'
         from kuaishou_rule_settlement_data
-        where stat_date = #{statDate}
+        where stat_date = #{date}
         and settlement_status != 3
         <if test="promoterId != null and promoterId != '' ">
             and promoter_id = #{promoterId}

+ 2 - 2
ruixuan-live/src/main/resources/mapper/jiaoyang/JiaoYangReportMapper.xml

@@ -231,10 +231,10 @@
         where
         stat_date = #{date}
         <if test="promoterId != null and promoterId != ''">
-            and clipId = #{promoterId}
+            and clip_id = #{promoterId}
         </if>
         <if test="promoterName != null and promoterName != ''">
-            and clipName like concat(concat('%',#{promoterName}),'%')
+            and clip_name like concat(concat('%',#{promoterName}),'%')
         </if>
     </select>
     <select id="getOrderTotal" resultType="com.alibaba.fastjson.JSONObject">