@@ -22,7 +22,7 @@ public interface DepartmentMapper {
int updateByPrimaryKey(Department record);
- List<OrganizationListOut> selectSuperId(@Param("hideSign")int hideSign);
+ List<OrganizationListOut> selectSuperId(@Param("hideSign")Integer hideSign);
/**
* 根据组织名称查组织编号
*/
@@ -293,7 +293,9 @@
from department
where
status ='0'
+ <if test="hideSign != null ">
and hide_sign= #{hideSign}
+ </if>
order by CONVERT (name USING gbk)
</select>