Pārlūkot izejas kodu

已完成工单显示指派用户下数据权限的数据

tags/v1.0.0^2
chengwang pirms 1 gada
vecāks
revīzija
ec7be7818e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java

+ 2
- 2
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java Parādīt failu

@@ -561,7 +561,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
List<String> deptIdList = deptMapper.selectAllChildListById(deptId);
//获取当前分配人对应的工单分页数据
IPage<WorkOrder> workPageData1 = workOrderMapper.selectPage(page, Wrappers.<WorkOrder>lambdaQuery()
.in(WorkOrder::getDeptId, deptIdList)
.in(WorkOrder::getAssignDeptId, deptIdList)
.eq(WorkOrder::getStatus, 15)
.eq(WorkOrder::getTenantId, tenantId)
.between(null != query.getOrderStartTime() && null != query.getOrderEndTime(), WorkOrder::getCreateTime, query.getOrderStartTime(), query.getOrderEndTime())
@@ -610,7 +610,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
}
//获取当前分配人对应的工单分页数据
IPage<WorkOrder> workPageData1 = workOrderMapper.selectPage(page, Wrappers.<WorkOrder>lambdaQuery()
.eq(WorkOrder::getDeptId, deptId)
.eq(WorkOrder::getAssignDeptId, deptId)
.eq(WorkOrder::getStatus, 15)
.eq(WorkOrder::getTenantId, tenantId)
.between(null != query.getOrderStartTime() && null != query.getOrderEndTime(), WorkOrder::getCreateTime, query.getOrderStartTime(), query.getOrderEndTime())

Notiek ielāde…
Atcelt
Saglabāt