|
@@ -302,14 +302,14 @@ public class TongbuServiceImpl implements TongbuService {
|
|
|
//发布部门类型
|
|
|
String fabubumenleixing = jsonObject.getString("radioField_m9getzvn");
|
|
|
System.out.println("发布部门类型:" + fabubumenleixing);
|
|
|
- if (fabubumenleixing.equals("组织内部门")){
|
|
|
+ /*if (fabubumenleixing.equals("组织内部门")){
|
|
|
//获取发布部门id
|
|
|
long fabubumenId = jsonObject.getJSONArray("departmentSelectField_m99jf2e4").getLong(0);
|
|
|
System.out.println("发布部门ID:" + fabubumenId);
|
|
|
- /**根据发布部门获取当前部门及下级所有部门的人员列表*/
|
|
|
+ *//**根据发布部门获取当前部门及下级所有部门的人员列表*//*
|
|
|
List bumenIdList = new ArrayList();
|
|
|
bumenIdList.add(fabubumenId);
|
|
|
- /**调用获取当前部门的下一层级部门id列表*/
|
|
|
+ *//**调用获取当前部门的下一层级部门id列表*//*
|
|
|
log.info("获取当前部门的下一层级部门id列表中......");
|
|
|
JSONArray nextBumenIdList = getBumenIdList(fabubumenId);
|
|
|
if (nextBumenIdList != null && !nextBumenIdList.isEmpty()){
|
|
@@ -334,7 +334,7 @@ public class TongbuServiceImpl implements TongbuService {
|
|
|
JSONArray jsonArray = JSON.parseArray(JSON.toJSONString(bumenIdList));
|
|
|
System.out.println("封装【部门id汇总列表】jsonArray:" + jsonArray);
|
|
|
|
|
|
- /**调用获取每个部门id下的人员userId列表*/
|
|
|
+ *//**调用获取每个部门id下的人员userId列表*//*
|
|
|
log.info("获取每个部门id下的人员userId列表中......");
|
|
|
for (int i = 0; i < jsonArray.size(); i++) {
|
|
|
long bmid = jsonArray.getLong(i);
|
|
@@ -348,7 +348,7 @@ public class TongbuServiceImpl implements TongbuService {
|
|
|
String renyuanId = userIdList.getString(j);
|
|
|
System.out.println("循环当前的人员Id:" + renyuanId);
|
|
|
|
|
|
- /**根据参会人员userId获取unionId*/
|
|
|
+ *//**根据参会人员userId获取unionId*//*
|
|
|
String canhuirenyuanUnionId = getUnionId(renyuanId);
|
|
|
|
|
|
Map canhuirenyuanMap = new HashMap<>();
|
|
@@ -358,7 +358,7 @@ public class TongbuServiceImpl implements TongbuService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
//参会部门勾选项
|
|
|
JSONArray checkboxField_m99d3k6z = jsonObject.getJSONArray("checkboxField_m99d3k6z");
|