Showing
3 changed files
with
7 additions
and
5 deletions
| ... | ... | @@ -42,7 +42,7 @@ public class TransactorHandler { |
| 42 | 42 | for (String id : userIdList) { |
| 43 | 43 | log.info("================== listTransactorsByRoleCode roleUserId:{}", id); |
| 44 | 44 | List<String> userIds = userIdMap.get(id); |
| 45 | - log.info("================== listTransactorsByRoleCode userDeptUserId:{}", JsonUtil.toJsonString(userIds)); | |
| 45 | + log.info("================== listTransactorsByRoleCode userDeptUserId size:{}", userIds.size()); | |
| 46 | 46 | if (CollectionUtils.isNotEmpty(userIds) && userIds.contains(userId)) { |
| 47 | 47 | result.add(id); |
| 48 | 48 | } | ... | ... |
xingyun-sc/src/main/java/com/lframework/xingyun/sc/impl/customer/CustomerDevelopPlanServiceImpl.java
| ... | ... | @@ -48,10 +48,6 @@ public class CustomerDevelopPlanServiceImpl extends BaseMpServiceImpl<CustomerDe |
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | @Resource |
| 51 | - private FlowDefinitionWrapperService flowDefinitionWrapperService; | |
| 52 | - @Resource | |
| 53 | - private InsService insService; | |
| 54 | - @Resource | |
| 55 | 51 | private FlowTaskWrapperMapper flowTaskWrapperMapper; |
| 56 | 52 | @Resource |
| 57 | 53 | private FlowInstanceWrapperService flowInstanceWrapperService; | ... | ... |
| 1 | 1 | package com.lframework.xingyun.sc.mappers; |
| 2 | 2 | |
| 3 | +import com.lframework.starter.web.core.annotations.permission.DataPermission; | |
| 4 | +import com.lframework.starter.web.core.annotations.permission.DataPermissions; | |
| 3 | 5 | import com.lframework.starter.web.core.annotations.sort.Sort; |
| 4 | 6 | import com.lframework.starter.web.core.annotations.sort.Sorts; |
| 7 | +import com.lframework.starter.web.inner.components.permission.OrderDataPermissionDataPermissionType; | |
| 5 | 8 | import com.lframework.xingyun.sc.entity.CustomerDevelopPlan; |
| 6 | 9 | import com.lframework.starter.web.core.mapper.BaseMapper; |
| 7 | 10 | import com.lframework.xingyun.sc.vo.customer.develop.QueryCustomerDevelopPlanVo; |
| ... | ... | @@ -27,5 +30,8 @@ public interface CustomerDevelopPlanMapper extends BaseMapper<CustomerDevelopPla |
| 27 | 30 | @Sort(value = "tb.createTime", autoParse = true), |
| 28 | 31 | @Sort(value = "tb.updateTime", autoParse = true), |
| 29 | 32 | }) |
| 33 | + @DataPermissions(type = OrderDataPermissionDataPermissionType.class, value = { | |
| 34 | + @DataPermission(template = "order", alias = "tb") | |
| 35 | + }) | |
| 30 | 36 | List<CustomerDevelopPlan> query(@Param("vo") QueryCustomerDevelopPlanVo vo); |
| 31 | 37 | } | ... | ... |