|
@@ -195,7 +195,7 @@ public interface BedDeptDictDao {
|
|
|
@Select(" select * from zd_dept_all where dept_id = #{deptId} ")
|
|
|
Map<String, Object> selectSmallDeptByCode(@Param("deptId") Integer deptId);
|
|
|
|
|
|
- @Select(" select * from zd_dept_all where dept = #{dept} and small_dept = #{smallDept} ")
|
|
|
+ @Select(" select count(*) cs from zd_dept_all where dept = #{dept} and small_dept = #{smallDept} ")
|
|
|
int selectSmallDeptByDept(@Param("dept") String dept, @Param("smallDept") String smallDept);
|
|
|
|
|
|
@Update("<script>" +
|