Просмотр исходного кода

更新文件 SmartAuthorGroupMapper.xml

陈士柏 2 лет назад
Родитель
Сommit
b919544ce5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/template/SmartAuthorGroupMapper.xml

+ 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 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`
         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
             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>
     </select>
 </mapper>
 </mapper>