|
@@ -139,7 +139,7 @@
|
|
|
AND (uc.real_name LIKE '%${query.realName}%' OR uc.user_name LIKE '%${query.realName}%')
|
|
|
</if>
|
|
|
|
|
|
- <if test="query.courseDeparts!=null and query.courseDeparts!=''">
|
|
|
+ <if test="query.courseDeparts!=null">
|
|
|
AND dept.dept_code in <foreach item="item" collection="query.courseDeparts" separator="," open="(" close=")" index="">'${item}'</foreach>
|
|
|
</if>
|
|
|
|
|
@@ -164,7 +164,7 @@
|
|
|
AND (uc.real_name LIKE '%${query.realName}%' OR uc.user_name LIKE '%${query.realName}%')
|
|
|
</if>
|
|
|
|
|
|
- <if test="query.courseDeparts!=null and query.courseDeparts!=''">
|
|
|
+ <if test="query.courseDeparts!=null">
|
|
|
AND uc.dept_code in <foreach item="item" collection="query.courseDeparts" separator="," open="(" close=")" index="">'${item}'</foreach>
|
|
|
</if>
|
|
|
ORDER BY cl.state DESC,totalMin DESC
|