|
@@ -10,22 +10,22 @@ import java.util.List;
|
|
|
|
|
|
@Mapper
|
|
|
public interface SheetSearchDao {
|
|
|
- @Select("select top 10 rtrim(code) code, rtrim(name) name from " +
|
|
|
+ @Select("select top 10 surgical_operation_code as code, operation_operation_name as name from " +
|
|
|
"(SELECT ROW_NUMBER() OVER(ORDER BY code) AS 'Number', * " +
|
|
|
- "from zd_cm3 where py_code like #{content}) a " +
|
|
|
- "where a.[Number]>10*(#{page})")
|
|
|
+ "from t_si_dl_oprtn where py_code like #{content}) a " +
|
|
|
+ "where a.[Number]>10*(#{page}-1)")
|
|
|
List<PureCodeName> searchSurgeryByAlpha(@Param("content") String content, @Param("page") int page);
|
|
|
|
|
|
- @Select("select top 10 rtrim(code) code, rtrim(name) name from " +
|
|
|
+ @Select("select top 10 surgical_operation_code as code, operation_operation_name as name from " +
|
|
|
"(SELECT ROW_NUMBER() OVER(ORDER BY code) AS 'Number', * " +
|
|
|
- "from zd_cm3 where code like #{content}) a " +
|
|
|
- "where a.[Number]>10*(#{page})")
|
|
|
+ "from t_si_dl_oprtn where surgical_operation_code like #{content}) a " +
|
|
|
+ "where a.[Number]>10*(#{page}-1)")
|
|
|
List<PureCodeName> searchSurgeryByCode(@Param("content") String content, @Param("page") int page);
|
|
|
|
|
|
- @Select("select top 10 rtrim(code) code, rtrim(name) name from " +
|
|
|
+ @Select("select top 10 surgical_operation_code as code, operation_operation_name as name from " +
|
|
|
"(SELECT ROW_NUMBER() OVER(ORDER BY code) AS 'Number', * " +
|
|
|
- "from zd_cm3 where name like #{content}) a " +
|
|
|
- "where a.[Number]>10*(#{page})")
|
|
|
+ "from t_si_dl_oprtn where operation_operation_name like #{content}) a " +
|
|
|
+ "where a.[Number]>10*(#{page}-1)")
|
|
|
List<PureCodeName> searchSurgeryByName(@Param("content") String content, @Param("page") int page);
|
|
|
|
|
|
@Select("select top 10 rtrim(CODE) code, rtrim(NAME) name from " +
|