|
|
@@ -43,8 +43,8 @@ public interface SheetSearchDao {
|
|
|
@Select("select top 10 rtrim(code) code, rtrim(name) name, rtrim(yb_code) ybCode, " +
|
|
|
"deptName=(select rtrim(t.name) from zd_unit_code t where t.code=dept_code) from " +
|
|
|
"(SELECT ROW_NUMBER() OVER(ORDER BY code) AS 'Number', * " +
|
|
|
- "from a_employee_mi with(nolock) where isnull(del_flag,0)=0 and ${method} like #{content}) a " +
|
|
|
- "where a.[Number]>10*(#{page})")
|
|
|
+ "from a_employee_mi with(nolock) where isnull(del_flag,0)=0 and yb_code is not null " +
|
|
|
+ "and ${method} like #{content}) a where a.[Number]>10*(#{page})")
|
|
|
List<CodeName> searchEmployee(@Param("method") String method, @Param("content") String content, @Param("page") int page);
|
|
|
|
|
|
@Select("select rtrim(dis_diag) from zy_dis_diag_yb where inpatient_no=#{bah} and admiss_times=#{times} and dis_diag_no=1")
|