|
@@ -1158,8 +1158,8 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and a.beh_dept_name like CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
|
- <if test="className != null and className != ''">
|
|
|
- and e.dept_name = #{className}
|
|
|
+ <if test="deptClass != null and deptClass != ''">
|
|
|
+ and e.dept_name = #{deptClass}
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
@@ -1218,8 +1218,8 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and a.beh_dept_name like CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
|
- <if test="className != null and className != ''">
|
|
|
- and g.dept_name = #{className}
|
|
|
+ <if test="deptClass != null and deptClass != ''">
|
|
|
+ and g.dept_name = #{deptClass}
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
@@ -1237,6 +1237,8 @@
|
|
|
<choose>
|
|
|
<when test='asc=="deptId"'>deptId asc</when>
|
|
|
<when test='asc=="deptName"'>deptName asc</when>
|
|
|
+ <when test='asc=="deptClassId"'>deptClassId asc</when>
|
|
|
+ <when test='asc=="deptClass"'>deptClass asc</when>
|
|
|
<when test='asc=="entryNum"'>entryNum asc</when>
|
|
|
<when test='asc=="mrNum"'>mrNum asc</when>
|
|
|
<when test='asc=="totleValue"'>totleValue asc</when>
|
|
@@ -1258,6 +1260,8 @@
|
|
|
<choose>
|
|
|
<when test='desc=="deptId"'>deptId desc</when>
|
|
|
<when test='desc=="deptName"'>deptName desc</when>
|
|
|
+ <when test='desc=="deptClassId"'>deptClassId desc</when>
|
|
|
+ <when test='desc=="deptClass"'>deptClass desc</when>
|
|
|
<when test='desc=="entryNum"'>entryNum desc</when>
|
|
|
<when test='desc=="mrNum"'>mrNum desc</when>
|
|
|
<when test='desc=="totleValue"'>totleValue desc</when>
|