记得上下班打卡 | git大法好,push需谨慎

Commit 40e205f4 authored by anjiabin's avatar anjiabin

提交chime社交相关

parent b429480f
......@@ -36,6 +36,7 @@
WHERE 1 > 0
and kotr.performance_id = ${performanceId}
and kots.`status` in (1, 3, 6)
and kots.transfer_status in('0','1','3','5')
and kot.coupon_type = 'no'
group by kotr.performance_id,ca.province
) x order by x.total_number desc
......@@ -55,6 +56,7 @@
left join sys_dict_id_card_area ca on substr(kote.enter_id_code,1,6) = ca.code
WHERE 1>0 and kotr.performance_id = #{performanceId}
and kots.`status` in(1,3,6)
and kots.transfer_status in('0','1','3','5')
and kot.coupon_type ='no'
group by kotr.performance_id,ca.pre_city
) x order by x.total_number desc
......@@ -72,6 +74,7 @@
WHERE 1 > 0
and kotr.performance_id = #{performanceId}
and kots.`status` in (1, 3, 6)
and kots.transfer_status in('0','1','3','5')
and kot.coupon_type = 'no'
and length(kote.enter_id_code)=18
group by kotr.performance_id, substr(curdate(), 1, 4) - substr(kote.enter_id_code, 7, 4)
......@@ -89,6 +92,7 @@
WHERE 1 > 0
and kotr.performance_id = ${performanceId}
and kots.`status` in (1, 3, 6)
and kots.transfer_status in('0','1','3','5')
and kot.coupon_type = 'no'
and length(kote.enter_id_code)=18
)x group by x.sex
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment