|
|
@@ -623,9 +623,14 @@
|
|
|
select id,name,dep_no from department where super_id in (#{superIds,jdbcType=VARCHAR})
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectBysuperName" resultType="com.goafanti.admin.bo.depCountBo">
|
|
|
- select a.id ,#{superName} ,0 userCount,0 inputCount,0 receiveCount, 0 completeCount, 0 interviewCount
|
|
|
- from department a left join department b on a.super_id=b.id
|
|
|
+ <select id="selectBysuperName" resultType="com.goafanti.admin.bo.depCountBo">
|
|
|
+ select a.id ,a.name ,0 userCount,0 inputCount,0 receiveCount, 0 completeCount, 0 interviewCount
|
|
|
+ from department a left join department b on a.super_id=b.id where b.name= #{superName,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="selectAll" resultType="com.goafanti.admin.bo.depCountBo">
|
|
|
+ select a.id ,a.name ,0 userCount,0 inputCount,0 receiveCount, 0 completeCount, 0 interviewCount
|
|
|
+ from department a left join department b on a.super_id=b.id
|
|
|
</select>
|
|
|
|
|
|
<!-- 查询所有 -->
|