|
@@ -511,7 +511,7 @@
|
|
WHERE stat_date >= DATE_FORMAT(#{startTime}, '%Y%m%d' )
|
|
WHERE stat_date >= DATE_FORMAT(#{startTime}, '%Y%m%d' )
|
|
AND stat_date <= DATE_FORMAT(#{endTime}, '%Y%m%d' )
|
|
AND stat_date <= DATE_FORMAT(#{endTime}, '%Y%m%d' )
|
|
<if test="accountIds !=null and accountIds.size()>0">
|
|
<if test="accountIds !=null and accountIds.size()>0">
|
|
- and t1.project_id in
|
|
|
|
|
|
+ and project_id in
|
|
(
|
|
(
|
|
SELECT project_id FROM `jeecg-boot`.ctop_user_allocation WHERE account_id in
|
|
SELECT project_id FROM `jeecg-boot`.ctop_user_allocation WHERE account_id in
|
|
<foreach collection="accountIds" item="id" separator=","
|
|
<foreach collection="accountIds" item="id" separator=","
|