Kaynağa Gözat

更新文件 SmartAuthorGroupMapper.xml

陈士柏 2 yıl önce
ebeveyn
işleme
b919544ce5

+ 1 - 1
src/main/resources/mapper/template/SmartAuthorGroupMapper.xml

@@ -29,6 +29,6 @@
     <select id="getSmartAuthorGroupManager" resultType="com.template.model.pojo.SmartAuthorGroupManager" resultMap="smartAuthorGroupManager">
         select a.`id`,a.`group_id`,a.`user_id`,b.card_no,b.`name` as user_name,a.`department_manage`,a.`department_view`
             from `smart_authority` a left join `smart_user` b on a.`user_id`=b.id
-            where group_id=#{groupId}
+            where group_id=#{groupId} and a.deleted=0 and b.deleted=0
     </select>
 </mapper>