Commit fc50ee6fb85d58aa6555cea7b2ab80302c12d93f
1 parent
d85625ad
更换获取部门信息接口
Showing
1 changed file
with
3 additions
and
0 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/inspectionplan/InspectionPlanServiceImpl.java
| ... | ... | @@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; |
| 9 | 9 | import com.zteits.urbanops.framework.common.pojo.CommonResult; |
| 10 | 10 | import com.zteits.urbanops.framework.common.pojo.PageResult; |
| 11 | 11 | import com.zteits.urbanops.framework.common.util.object.BeanUtils; |
| 12 | +import com.zteits.urbanops.framework.datapermission.core.annotation.DataPermission; | |
| 12 | 13 | import com.zteits.urbanops.framework.dict.core.DictFrameworkUtils; |
| 13 | 14 | import com.zteits.urbanops.framework.mybatis.core.util.MyBatisUtils; |
| 14 | 15 | import com.zteits.urbanops.framework.security.core.util.SecurityFrameworkUtils; |
| ... | ... | @@ -281,6 +282,7 @@ public class InspectionPlanServiceImpl implements InspectionPlanService { |
| 281 | 282 | return inspectionPlanMapper.selectById(id); |
| 282 | 283 | } |
| 283 | 284 | |
| 285 | + @DataPermission(enable = false) | |
| 284 | 286 | @Override |
| 285 | 287 | public PageResult<InspectionPlanRespVO> getInspectionPlanPage(InspectionPlanPageReqVO pageReqVO) { |
| 286 | 288 | |
| ... | ... | @@ -296,6 +298,7 @@ public class InspectionPlanServiceImpl implements InspectionPlanService { |
| 296 | 298 | * |
| 297 | 299 | * @param list 分页对象 |
| 298 | 300 | */ |
| 301 | + | |
| 299 | 302 | private void addDataInspectionPlan(List<InspectionPlanRespVO> list) { |
| 300 | 303 | if (CollectionUtils.isEmpty(list)) { |
| 301 | 304 | return; | ... | ... |