浏览代码

令牌只显示手动生成的

Zhaops 6 年之前
父节点
当前提交
fd9d5c1712
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      diagbotman-service/src/main/resources/mapper/LantoneProductMapper.xml

+ 1 - 0
diagbotman-service/src/main/resources/mapper/LantoneProductMapper.xml

@@ -97,6 +97,7 @@
 			  and c.num=d.order_num
               and d.audit_status=1
               and a.is_deleted='N' and b.is_deleted='N' and c.is_deleted='N' and d.is_deleted='N'
+              and (find_in_set('1',a.access_type) or FIND_IN_SET('2',a.access_type))
               and b.user_id=#{userId}  and c.user_id=#{userId}  and d.user_id=#{userId}
     </select>