|
@@ -148,24 +148,24 @@ public class SceneDeptShareServiceImpl extends ServiceImpl<ISceneDeptShareMapper
|
|
|
List<SceneDeptShare> list = this.list(wrapper);
|
|
List<SceneDeptShare> list = this.list(wrapper);
|
|
|
|
|
|
|
|
//获取案件共享中场景
|
|
//获取案件共享中场景
|
|
|
- List<SceneDeptShare> caseIds = this.getCaseIdsListByDeptId(deptId);
|
|
|
|
|
- for (SceneDeptShare sceneDeptShare : caseIds) {
|
|
|
|
|
- List<CaseNumEntity> byCaseId = caseNumService.getByCaseId(sceneDeptShare.getCaseId());
|
|
|
|
|
- for (CaseNumEntity caseNumEntity : byCaseId) {
|
|
|
|
|
- if(isObj == 0 && NumTypeUtils.isLaser(caseNumEntity.getNumType())){
|
|
|
|
|
- SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
- sceneDeptShare2.setNum(caseNumEntity.getNum());
|
|
|
|
|
- sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
- list.add(sceneDeptShare2);
|
|
|
|
|
- }
|
|
|
|
|
- if(isObj == 1 && !NumTypeUtils.isLaser(caseNumEntity.getNumType()) && caseNumEntity.getNumType() != 3){
|
|
|
|
|
- SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
- sceneDeptShare2.setNum(caseNumEntity.getNum());
|
|
|
|
|
- sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
- list.add(sceneDeptShare2);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// List<SceneDeptShare> caseIds = this.getCaseIdsListByDeptId(deptId);
|
|
|
|
|
+// for (SceneDeptShare sceneDeptShare : caseIds) {
|
|
|
|
|
+// List<CaseNumEntity> byCaseId = caseNumService.getByCaseId(sceneDeptShare.getCaseId());
|
|
|
|
|
+// for (CaseNumEntity caseNumEntity : byCaseId) {
|
|
|
|
|
+// if(isObj == 0 && NumTypeUtils.isLaser(caseNumEntity.getNumType())){
|
|
|
|
|
+// SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
+// sceneDeptShare2.setNum(caseNumEntity.getNum());
|
|
|
|
|
+// sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
+// list.add(sceneDeptShare2);
|
|
|
|
|
+// }
|
|
|
|
|
+// if(isObj == 1 && !NumTypeUtils.isLaser(caseNumEntity.getNumType()) && caseNumEntity.getNumType() != 3){
|
|
|
|
|
+// SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
+// sceneDeptShare2.setNum(caseNumEntity.getNum());
|
|
|
|
|
+// sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
+// list.add(sceneDeptShare2);
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
return list;
|
|
return list;
|
|
|
}
|
|
}
|
|
@@ -179,16 +179,16 @@ public class SceneDeptShareServiceImpl extends ServiceImpl<ISceneDeptShareMapper
|
|
|
List<SceneDeptShare> list = this.list(wrapper);
|
|
List<SceneDeptShare> list = this.list(wrapper);
|
|
|
|
|
|
|
|
//获取案件共享中场景
|
|
//获取案件共享中场景
|
|
|
- List<SceneDeptShare> caseIds = this.getCaseIdsListByDeptId(deptId);
|
|
|
|
|
- for (SceneDeptShare sceneDeptShare : caseIds) {
|
|
|
|
|
- List<CaseFusionRelation> byCaseId = fusionRelationService.getByCaseId(sceneDeptShare.getCaseId());
|
|
|
|
|
- for (CaseFusionRelation caseNumEntity : byCaseId) {
|
|
|
|
|
- SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
- sceneDeptShare2.setFusionId(caseNumEntity.getFusionId());
|
|
|
|
|
- sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
- list.add(sceneDeptShare2);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// List<SceneDeptShare> caseIds = this.getCaseIdsListByDeptId(deptId);
|
|
|
|
|
+// for (SceneDeptShare sceneDeptShare : caseIds) {
|
|
|
|
|
+// List<CaseFusionRelation> byCaseId = fusionRelationService.getByCaseId(sceneDeptShare.getCaseId());
|
|
|
|
|
+// for (CaseFusionRelation caseNumEntity : byCaseId) {
|
|
|
|
|
+// SceneDeptShare sceneDeptShare2 = new SceneDeptShare();
|
|
|
|
|
+// sceneDeptShare2.setFusionId(caseNumEntity.getFusionId());
|
|
|
|
|
+// sceneDeptShare2.setIsAuth(sceneDeptShare.getIsAuth());
|
|
|
|
|
+// list.add(sceneDeptShare2);
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
return list;
|
|
return list;
|
|
|
}
|
|
}
|