设置部门id为机具设备分公司101

This commit is contained in:
hongchao 2025-03-31 17:38:44 +08:00
parent 4a7ffb0145
commit e01105e3f0
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN sys_dept sd ON sd.dept_id = mt.company_id LEFT JOIN sys_dept sd ON sd.dept_id = mt.company_id
WHERE mt.`level` = '4' AND mt.del_flag = '0' WHERE mt.`level` = '4' AND mt.del_flag = '0'
<if test="maType!=null and maType == 1"> <if test="maType!=null and maType == 1">
AND sd.dept_name = #{maTypeName} AND sd.dept_id = 101
</if> </if>
<if test="maType!=null and maType == 2"> <if test="maType!=null and maType == 2">
AND sd.dept_name = #{maTypeName} AND sd.dept_name = #{maTypeName}