正确使用dto.deptId在LogStatistics查询中
解决LogStatisticsMapper.xml中的部门ID不正确引用问题,确保部门筛选逻辑在查询中正确应用。
This commit is contained in:
parent
82fab6cf68
commit
a6e46f1675
@ -173,7 +173,7 @@
|
||||
and b.type = #{dto.type}
|
||||
</if>
|
||||
<if test="dto.deptId != null">
|
||||
and b.dept_id = #{deptId}
|
||||
and b.dept_id = #{dto.deptId}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user