This commit is contained in:
parent
e194a430fe
commit
58dc019e3b
|
|
@ -1637,7 +1637,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sbd_audit.sg_project_department sp ON sd.company_code = sp.parent_id
|
LEFT JOIN sbd_audit.sg_project_department sp ON sd.company_code = sp.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
sp.`name` IS NOT NULL
|
sp.`name` IS NOT NULL
|
||||||
AND sp.`status` = 1
|
AND sp.`status` IN (0, 1)
|
||||||
<if test="impUnitName != null and impUnitName != ''">
|
<if test="impUnitName != null and impUnitName != ''">
|
||||||
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
AND sd.dept_name LIKE CONCAT('%', #{impUnitName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue