|
@@ -154,7 +154,7 @@
|
|
|
and a.company_id = #{operateLogDto.companyId}
|
|
|
</if>
|
|
|
<if test="operateLogDto.departmentId != null">
|
|
|
- and a.DEPARTMENT_ID = #{operateLogDto.departmentId}
|
|
|
+ and (a.DEPARTMENT_ID = #{operateLogDto.departmentId} or a.company_id = #{operateLogDto.departmentId})
|
|
|
</if>
|
|
|
<if test="operateLogDto.beginTime != null">
|
|
|
and a.create_time >= #{operateLogDto.beginTime}
|