fix 门店状态已完成
This commit is contained in:
@@ -402,9 +402,9 @@
|
||||
select
|
||||
shop_id as shopId,
|
||||
max(plan_complete_time) as planCompleteTime,
|
||||
count(1) as totalColumn,
|
||||
sum(if(is_terminated = 1 , 1, 0)) as completionColumn
|
||||
from xfsg_shop_stage_info where
|
||||
count(1)-1 as totalColumn,
|
||||
sum(if(is_terminated = 1 and shop_sub_stage!=85, 1, 0)) as completionColumn
|
||||
from xfsg_shop_stage_info where shop_stage = 2 and
|
||||
shop_id = #{shopId}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user