Liugl hace 3 años
padre
commit
f0aa6eb497

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

@@ -40,7 +40,7 @@
 			from mp_channel_commission t1
 			left join mp_channel t2 on t1.channel_id = t2.channel_id
 			where (t2.channel_no like concat(#{channelNo},'.%') or t2.channel_no = #{channelNo})
-			AND t1.created_time > between DATE_SUB(CURDATE(),INTERVAL #{days} DAY)
+			AND t1.created_time > DATE_SUB(CURDATE(),INTERVAL #{days} DAY)
 			GROUP BY t1.ticket_id
 		) t3
 	</select>