|
|
@@ -311,8 +311,9 @@
|
|
|
from (select a.id,a.name ,date_format(b.record_time,'%Y-%m')recordTime
|
|
|
from project_task a left join project_staff_record b on a.id =b.pid
|
|
|
left join sys_user c on b.aid=c.user_id left join sys_dept d on c.dept_id=d.dept_id
|
|
|
+ where b.process_status=2
|
|
|
<if test="companyId !=null">
|
|
|
- where d.company_id= #{companyId}
|
|
|
+ and d.company_id= #{companyId}
|
|
|
</if>
|
|
|
)x where x.recordTime is not null group by x.id,x.name,x.recordTime
|
|
|
</select>
|