Browse Source

DRG&DIP接口只抽取在职的员工

lighter 2 năm trước cách đây
mục cha
commit
6d1db14fed

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/api/forpowersi/drgdip/DrgDipDao.java

@@ -27,7 +27,7 @@ public interface DrgDipDao {
             "rtrim(yb_code) as standardCode, " +
             "rtrim(dept_code) as empDeptId, " +
             "empDept=(select rtrim(z.name) from zd_unit_code z where z.code=dept_code) " +
-            "from a_employee_mi with(nolock)) t where t.idx>#{page}*#{size} " +
+            "from a_employee_mi with(nolock) where del_flag!=1) t where t.idx>#{page}*#{size} " +
             "and t.idx<=(#{page}+1)*#{size}")
     List<HisBaseEmpInfo> selectHisBaseEmpInfo(int page, int size);