Przeglądaj źródła

人名搜索不搜索删除的人员

lixing 4 lat temu
rodzic
commit
8bd1ba3f0f

+ 1 - 1
fm-person/src/main/resources/mapper/PersonMapper.xml

@@ -120,7 +120,7 @@
         select p.name
         from person p,
         work_resume w
-        where p.id = w.person_id
+        where p.id = w.person_id and p.valid = '1' and w.valid = '1'
         <if test="depId != null and depId != ''">
             and w.dep_id = #{depId}
         </if>