Fork me on GitHub
摘要: 场景 需要根据当前用户的权限过滤需要显示的数据。 比如有一张旅馆表,主键为hotel_code,该值的构成为6位行政区划+4位流水号。杭州用户只能看到3301开头的旅馆信息,而3302开头的只能看到宁波的旅馆信息。 如: |hotel_code|hotel_name| |: :|: :| |3301 阅读全文
posted @ 2017-11-21 13:59 alchimistin 阅读(14346) 评论(3) 推荐(0) 编辑