|
1
|
package com.lframework.xingyun.basedata.mappers;
|
1
|
package com.lframework.xingyun.basedata.mappers;
|
|
2
|
|
2
|
|
|
|
|
3
|
+import com.lframework.starter.web.core.annotations.permission.DataPermission;
|
|
|
|
4
|
+import com.lframework.starter.web.core.annotations.permission.DataPermissions;
|
|
3
|
import com.lframework.starter.web.core.mapper.BaseMapper;
|
5
|
import com.lframework.starter.web.core.mapper.BaseMapper;
|
|
|
|
6
|
+import com.lframework.starter.web.inner.components.permission.OrderDataPermissionDataPermissionType;
|
|
4
|
import com.lframework.xingyun.basedata.entity.Customer;
|
7
|
import com.lframework.xingyun.basedata.entity.Customer;
|
|
5
|
import com.lframework.xingyun.basedata.vo.customer.QueryCustomerSelectorVo;
|
8
|
import com.lframework.xingyun.basedata.vo.customer.QueryCustomerSelectorVo;
|
|
6
|
import com.lframework.xingyun.basedata.vo.customer.QueryCustomerVo;
|
9
|
import com.lframework.xingyun.basedata.vo.customer.QueryCustomerVo;
|
|
@@ -31,6 +34,9 @@ public interface CustomerMapper extends BaseMapper<Customer> { |
|
@@ -31,6 +34,9 @@ public interface CustomerMapper extends BaseMapper<Customer> { |
|
31
|
@Sort(value = "createTime", autoParse = true),
|
34
|
@Sort(value = "createTime", autoParse = true),
|
|
32
|
@Sort(value = "updateTime", autoParse = true),
|
35
|
@Sort(value = "updateTime", autoParse = true),
|
|
33
|
})
|
36
|
})
|
|
|
|
37
|
+ @DataPermissions(type = OrderDataPermissionDataPermissionType.class, value = {
|
|
|
|
38
|
+ @DataPermission(template = "order", alias = "c")
|
|
|
|
39
|
+ })
|
|
34
|
List<Customer> query(@Param("vo") QueryCustomerVo vo);
|
40
|
List<Customer> query(@Param("vo") QueryCustomerVo vo);
|
|
35
|
|
41
|
|
|
36
|
/**
|
42
|
/**
|