提交 d85a21e9 authored 作者: zjm's avatar zjm

feat(单位模块): 单位展示区域给核查专用接口

单位展示区域给核查专用接口
上级 c4278613
...@@ -369,6 +369,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService { ...@@ -369,6 +369,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
} }
} }
); );
mapUnitList.forEach((k,v) ->{ mapUnitList.forEach((k,v) ->{
AtomicReference<Integer> count= new AtomicReference<>(0); AtomicReference<Integer> count= new AtomicReference<>(0);
v.forEach(units1 -> { v.forEach(units1 -> {
...@@ -1556,11 +1557,11 @@ public class RepelBusinessServiceImpl implements RepelBusinessService { ...@@ -1556,11 +1557,11 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
* 判读是否留在代办 * 判读是否留在代办
*/ */
private void isCommission(TaskBto taskBto, Integer repelId) { private void isCommission(TaskBto taskBto, Integer repelId) {
boolean flag = repelTaskStatisticalService.findAllRepelTaskStatistical(taskBto.getParentTaskId(), repelId).stream().allMatch(e -> e.getTaskStatus() != 3); // boolean flag = repelTaskStatisticalService.findAllRepelTaskStatistical(taskBto.getParentTaskId(), repelId).stream().allMatch(e -> e.getTaskStatus() != 3);
if (flag) { // if (flag) {
TaskBto parentTask = taskService.get(taskBto.getParentTaskId()); // TaskBto parentTask = taskService.get(taskBto.getParentTaskId());
taskService.moveToSpecial(parentTask, GlobalMap.getStatusEnumMap().get(parentTask.getBillStatus()), -1); // taskService.moveToSpecial(parentTask, GlobalMap.getStatusEnumMap().get(parentTask.getBillStatus()), -1);
} // }
} }
/** /**
......
...@@ -5,6 +5,7 @@ import com.tykj.dev.device.user.subject.entity.Units; ...@@ -5,6 +5,7 @@ import com.tykj.dev.device.user.subject.entity.Units;
import lombok.Data; import lombok.Data;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
...@@ -68,4 +69,11 @@ public class AreaExhibitionCache { ...@@ -68,4 +69,11 @@ public class AreaExhibitionCache {
this.areaExhibitions=areaExhibitionList; this.areaExhibitions=areaExhibitionList;
return this; return this;
} }
public Map<Integer,String> checkSpecial(){
Map<Integer,String> map=new HashMap<>();
map.put(1,idMap.get(3).getAreaName());
map.put(2,idMap.get(4).getAreaName());
return map;
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论