营业板块
This commit is contained in:
@@ -30,7 +30,7 @@ public interface TbShopUserFlowMapper extends BaseMapper<TbShopUserFlow> {
|
||||
" LEFT JOIN ( " +
|
||||
" SELECT shop_user_id, SUM(amount) AS total_amount " +
|
||||
" FROM tb_shop_user_flow " +
|
||||
" WHERE biz_code IN ('cashMemberIn','scanMemberIn', 'scanMemberAwardIn') " +
|
||||
" WHERE biz_code IN ('cashMemberIn', 'inMoneyIn', 'scanMemberIn') " +
|
||||
" AND create_time BETWEEN #{startTime} AND #{endTime} " +
|
||||
" GROUP BY shop_user_id " +
|
||||
" ) AS flow ON flow.shop_user_id = a.id " +
|
||||
|
||||
Reference in New Issue
Block a user