Browse Source

搜索医生护士时增加返回医保赋码

lighter 2 years ago
parent
commit
05ca10a0fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/thyyxxk/webserver/dao/his/search/SearchDao.java

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/search/SearchDao.java

@@ -9,7 +9,7 @@ import thyyxxk.webserver.entity.dictionary.CodeName;
 
 @Mapper
 public interface SearchDao {
-    @Select("select rtrim(code) as code,rtrim(name) name," +
+    @Select("select rtrim(code) as code,rtrim(name) as name,rtrim(yb_code) as ybCode, " +
             "deptName=(select rtrim(d.name) from zd_unit_code d where d.code=dept_code) " +
             "from a_employee_mi where isnull(del_flag,0)!=1 and ${method} like #{content}")
     IPage<CodeName> searchPhysician(IPage<CodeName> iPage, @Param("method") String method, @Param("content") String content);