|
@@ -40,7 +40,8 @@ public interface SheetSearchDao {
|
|
|
"where a.[Number]>10*(#{page}) order by weight desc")
|
|
|
List<CodeName> searchHurtReason(@Param("method") String method, @Param("content") String content, @Param("page") int page);
|
|
|
|
|
|
- @Select("select top 10 rtrim(code) code, rtrim(name) name from " +
|
|
|
+ @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})")
|