fix:修复组织机构管理不显示数据BUG

This commit is contained in:
2023-05-16 18:45:37 +08:00
parent d75607102a
commit aa80c5da1f
2 changed files with 12 additions and 12 deletions
@@ -12,7 +12,7 @@ public class OrgEOPage extends BasePage {
/** /**
* 部门编码 * 部门编码
*/ */
private String DepartmentCode; private String departmentCode;
/** /**
* 唯一值 * 唯一值
@@ -22,17 +22,17 @@ public class OrgEOPage extends BasePage {
/** /**
* 部门名称 * 部门名称
*/ */
private String LongName; private String longName;
/** /**
* 部门级别 * 部门级别
*/ */
private Integer orgLevel; private Integer level;
/** /**
* 父部门编码 * 父部门编码
*/ */
private String supOrgCode; private String parentId;
/** /**
* 部门简称 * 部门简称
@@ -4,17 +4,17 @@
<!-- 查询条件 --> <!-- 查询条件 -->
<sql id="Base_Where_Clause"> <sql id="Base_Where_Clause">
<if test="pageVO.DepartmentCode != null and pageVO.DepartmentCode !=''"> <if test="pageVO.departmentCode != null and pageVO.DepartmentCode !=''">
and DEPARTMENT_CODE = #{pageVO.DepartmentCode} and DEPARTMENT_CODE = #{pageVO.departmentCode}
</if> </if>
<if test="pageVO.LongName != null and pageVO.LongName != ''"> <if test="pageVO.longName != null and pageVO.longName != ''">
and LONG_NAME LIKE CONCAT(CONCAT('%',#{pageVO.LongName}) ,'%') and LONG_NAME LIKE CONCAT(CONCAT('%',#{pageVO.longName}) ,'%')
</if> </if>
<if test="pageVO.LEVEL != null"> <if test="pageVO.level != null">
and LEVEL = #{pageVO.LEVEL} and LEVEL = #{pageVO.level}
</if> </if>
<if test="pageVO.ParentID != null and pageVO.ParentID !=''"> <if test="pageVO.parentId != null and pageVO.parentId !=''">
and PARENT_ID = #{pageVO.ParentID} and PARENT_ID = #{pageVO.parentId}
</if> </if>
<if test="pageVO.attribution != null and pageVO.attribution != ''"> <if test="pageVO.attribution != null and pageVO.attribution != ''">
and ATTRIBUTION = #{pageVO.attribution} and ATTRIBUTION = #{pageVO.attribution}