2 次代码提交 04d434d253 ... 2ae2f0845a

作者 SHA1 备注 提交日期
  刘俊驰 2ae2f0845a Merge branch 'feature/250324_fix' into develop-new 2 月之前
  刘俊驰 2022da7fb8 fix 2 月之前

+ 1 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicCompareRecordStatMapper.xml

@@ -39,6 +39,7 @@
         SELECT t1.id_, t2.cbs_music_sheet_id_, t1.user_id_, t1.train_duration_, t1.train_frequency_, t1.evaluate_duration_, t1.evaluate_frequency_, t1.recent_time_, t2.music_sheet_name_, t2.composer_, t2.music_tag_
         FROM music_compare_record_stat t1 LEFT JOIN music_sheet t2 ON t1.music_sheet_id_ = t2.id_
         <where>
+            t2.cbs_music_sheet_id_ is not null
             <if test="record.clientType != null">
                 AND t1.client_id_ = #{record.clientType}
             </if>

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

@@ -844,7 +844,7 @@
             music_sheet ms
                 LEFT JOIN music_sheet_purchase_record pr ON ms.id_ = pr.music_sheet_id_
         WHERE
-            ms.del_flag_=0
+            ms.del_flag_=0 and ms.cbs_music_sheet_id_ is not null
           AND ms.charge_type_='CHARGE'
           AND ms.state_=1
           AND pr.order_status_='PAID'