瀏覽代碼

部门客户统计修改及新增字段

anderx 1 年之前
父節點
當前提交
d8bf855921
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/mapper/AdminMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -920,7 +920,7 @@
         left join department d on a.department_id=d.id
         left join user_role e on a.id=e.uid
         left join `role` f on e.rid=f.id
-        where f.role_name in ('营销员','营销经理')
+        where f.role_type in (96,996)
         and	 a.status= 0
         <if test="depId != null">
             and a.department_id =  #{depId,jdbcType=VARCHAR}