|
@@ -48,7 +48,6 @@
|
|
|
<if test="sortCode != '' and sortCode != null ">
|
|
|
ORDER BY ${sortCode} ${sortType}
|
|
|
</if>
|
|
|
-
|
|
|
</select>
|
|
|
|
|
|
<select id="queryAccountList" resultType="com.alibaba.fastjson.JSONObject">
|
|
@@ -155,8 +154,12 @@
|
|
|
and t2.stat_date <=#{endTime}
|
|
|
LEFT JOIN ctop_project t3 ON t1.project_id = t3.id
|
|
|
where t1.auto_delivery != 3
|
|
|
- <if test="projectId != null ">
|
|
|
- and t1.project_id = #{projectId}
|
|
|
+ <if test="projectIds != null and projectIds.size()>0 ">
|
|
|
+ and t1.project_id in
|
|
|
+ <foreach collection="projectIds" item="item" separator=","
|
|
|
+ open="(" close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="userId != null ">
|
|
|
and t3.responsible_id =#{userId}
|