将输出的log日志去除
This commit is contained in:
parent
e09bbaa61b
commit
ed9c277d7e
@ -64,14 +64,10 @@ public class Report1Gener {
|
|||||||
public ResponseObject execute(OutputTaskModel model, String wizardJsonData, DCContext dcContext) {
|
public ResponseObject execute(OutputTaskModel model, String wizardJsonData, DCContext dcContext) {
|
||||||
try {
|
try {
|
||||||
synchronized (_lock) {
|
synchronized (_lock) {
|
||||||
System.out.println("outPuttaskModel>>>>>>>>"+model);
|
|
||||||
System.out.println("wizardJsonData>>>>>>>>"+wizardJsonData);
|
|
||||||
System.out.println("dcContext>>>>>>>>"+dcContext);
|
|
||||||
isRunning = true;
|
isRunning = true;
|
||||||
String teamId = model.getTeamId();
|
String teamId = model.getTeamId();
|
||||||
String wsId = model.getWsId();
|
String wsId = model.getWsId();
|
||||||
String userId = model.getUserId();
|
String userId = model.getUserId();
|
||||||
System.out.println("这个的id是什么>>>>>>>>>"+userId);
|
|
||||||
log.info("execute ready...");
|
log.info("execute ready...");
|
||||||
log.info("-------------------");
|
log.info("-------------------");
|
||||||
log.info("TeamId=" + teamId);
|
log.info("TeamId=" + teamId);
|
||||||
@ -263,7 +259,6 @@ public class Report1Gener {
|
|||||||
_tr.put(OutputWordUtil.SHAPE_NAME, rowMap.getString("NODENAME")); // 活动名称
|
_tr.put(OutputWordUtil.SHAPE_NAME, rowMap.getString("NODENAME")); // 活动名称
|
||||||
_tr.put(OutputWordUtil.SHAPE_DESC, rowMap.getString("ACTIVITYDESC")); // 活动描述
|
_tr.put(OutputWordUtil.SHAPE_DESC, rowMap.getString("ACTIVITYDESC")); // 活动描述
|
||||||
_tr.put(OutputWordUtil.SHAPE_ITSYSTEM, rowMap.getString("ITSYSVAL")); // 系统名称
|
_tr.put(OutputWordUtil.SHAPE_ITSYSTEM, rowMap.getString("ITSYSVAL")); // 系统名称
|
||||||
System.out.println("角色名称>>>>>>>>>>"+rowMap.getString("ROLENAME"));
|
|
||||||
if (UtilString.isNotEmpty(rowMap.getString("ROLENAME"))){
|
if (UtilString.isNotEmpty(rowMap.getString("ROLENAME"))){
|
||||||
|
|
||||||
_tr.put("shape_role", rowMap.getString("ROLENAME")); // 角色名称
|
_tr.put("shape_role", rowMap.getString("ROLENAME")); // 角色名称
|
||||||
@ -299,9 +294,7 @@ public class Report1Gener {
|
|||||||
if (null != PUBDEPTJA && !PUBDEPTJA.isEmpty()) {
|
if (null != PUBDEPTJA && !PUBDEPTJA.isEmpty()) {
|
||||||
for (Object PUBDEPTO : PUBDEPTJA) {
|
for (Object PUBDEPTO : PUBDEPTJA) {
|
||||||
JSONObject PUBDEPTJO = JSONObject.parseObject(String.valueOf(PUBDEPTO));
|
JSONObject PUBDEPTJO = JSONObject.parseObject(String.valueOf(PUBDEPTO));
|
||||||
System.out.println("在这个是什么呢>sad>>>>>>"+PUBDEPTJO);
|
|
||||||
String dempId = PUBDEPTJO.getString("name");
|
String dempId = PUBDEPTJO.getString("name");
|
||||||
System.out.println("第二这个是什么呢>>>>>"+dempId);
|
|
||||||
if (StringUtils.isEmpty(dempId)){
|
if (StringUtils.isEmpty(dempId)){
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
@ -237,7 +237,6 @@ public class Report2Gener {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
System.out.println("循环了几次>>>>>>>" + q);
|
|
||||||
//这个代码是为了解决 岗位参与执行的流程存储
|
//这个代码是为了解决 岗位参与执行的流程存储
|
||||||
JSONObject _tr = new JSONObject(new LinkedHashMap<>());
|
JSONObject _tr = new JSONObject(new LinkedHashMap<>());
|
||||||
_tr.put("nums", q + 1);
|
_tr.put("nums", q + 1);
|
||||||
@ -254,7 +253,6 @@ public class Report2Gener {
|
|||||||
"SELECT * FROM (SELECT NODEID,NODENAME,ITSYSVAL,NODETYPE,PLID,PLNAME,ACTIVITYNUMBER,ACTIVITYDESC,ROLE,ROLENAME,POST,POSTNAME FROM BO_EU_PAL_FILENODE6 WHERE POST LIKE '%"
|
"SELECT * FROM (SELECT NODEID,NODENAME,ITSYSVAL,NODETYPE,PLID,PLNAME,ACTIVITYNUMBER,ACTIVITYDESC,ROLE,ROLENAME,POST,POSTNAME FROM BO_EU_PAL_FILENODE6 WHERE POST LIKE '%"
|
||||||
+ UserContext.fromUID(userId).getUserModel().getPositionName() + "%' OR POST LIKE '%内蒙古伊利实业集团股份有限公司%') WHERE PLID = '" + lists.get(q) + "'");
|
+ UserContext.fromUID(userId).getUserModel().getPositionName() + "%' OR POST LIKE '%内蒙古伊利实业集团股份有限公司%') WHERE PLID = '" + lists.get(q) + "'");
|
||||||
int m = 1;
|
int m = 1;
|
||||||
System.out.println("nodeRowMaps_shape>>>>>>>>>" + nodeRowMaps_shape.size());
|
|
||||||
for (RowMap rowMap :
|
for (RowMap rowMap :
|
||||||
nodeRowMaps_shape) {
|
nodeRowMaps_shape) {
|
||||||
JSONObject _tr_shape = new JSONObject(new LinkedHashMap<>());
|
JSONObject _tr_shape = new JSONObject(new LinkedHashMap<>());
|
||||||
@ -304,7 +302,6 @@ public class Report2Gener {
|
|||||||
|
|
||||||
List<DesignerShapeRelationModel> relationList2 = DesignerShapeRelationCache.getListByAttrId(lists.get(q), "", "R_relevant_flies");
|
List<DesignerShapeRelationModel> relationList2 = DesignerShapeRelationCache.getListByAttrId(lists.get(q), "", "R_relevant_flies");
|
||||||
int o = 1;
|
int o = 1;
|
||||||
System.out.println("shuj>>>>>>>>" + relationList2.size());
|
|
||||||
if (relationList2.size() > 0) {
|
if (relationList2.size() > 0) {
|
||||||
for (DesignerShapeRelationModel relation : relationList2) {
|
for (DesignerShapeRelationModel relation : relationList2) {
|
||||||
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
||||||
@ -332,7 +329,6 @@ public class Report2Gener {
|
|||||||
for (RowMap rowMap :
|
for (RowMap rowMap :
|
||||||
nodeRowMaps_shape) {
|
nodeRowMaps_shape) {
|
||||||
String itsysval = rowMap.getString("ITSYSVAL");
|
String itsysval = rowMap.getString("ITSYSVAL");
|
||||||
SDK.getLogAPI().consoleInfo("这个进来了吗并且输出了系统名称了吗>>>>>>>>>>>>>"+itsysval);
|
|
||||||
if (!list_it_system.contains(itsysval)) {
|
if (!list_it_system.contains(itsysval)) {
|
||||||
list_it_system.add(itsysval);
|
list_it_system.add(itsysval);
|
||||||
}
|
}
|
||||||
@ -350,9 +346,7 @@ public class Report2Gener {
|
|||||||
}
|
}
|
||||||
_tr.put("it_system_table", itsystemTable);
|
_tr.put("it_system_table", itsystemTable);
|
||||||
//这个是存储kpi数据
|
//这个是存储kpi数据
|
||||||
SDK.getLogAPI().consoleInfo("lists.get(q)>>>>>>>>>>>>>>>>"+lists.get(q));
|
|
||||||
List<DesignerShapeRelationModel> relationList2 = DesignerShapeRelationCache.getListByAttrId(lists.get(q), "", "Process_performance_metrics");
|
List<DesignerShapeRelationModel> relationList2 = DesignerShapeRelationCache.getListByAttrId(lists.get(q), "", "Process_performance_metrics");
|
||||||
SDK.getLogAPI().consoleInfo("relationList2>>>>>>>>>>>>"+relationList2);
|
|
||||||
int u = 1;
|
int u = 1;
|
||||||
if (relationList2.size() > 0) {
|
if (relationList2.size() > 0) {
|
||||||
for (DesignerShapeRelationModel relation : relationList2) {
|
for (DesignerShapeRelationModel relation : relationList2) {
|
||||||
@ -374,7 +368,6 @@ public class Report2Gener {
|
|||||||
positionTable.add(_tr);
|
positionTable.add(_tr);
|
||||||
//这里是存储数据表格
|
//这里是存储数据表格
|
||||||
//for (int i=0;i<2;i++){
|
//for (int i=0;i<2;i++){
|
||||||
System.out.println("dataMap>>>>>>>>>>>>>>>"+dataMap.toString());
|
|
||||||
updateOtherTableInfo(dataMap, repositoryShapeTable, institutionTable, formTable, itsystemTable, KPITable);
|
updateOtherTableInfo(dataMap, repositoryShapeTable, institutionTable, formTable, itsystemTable, KPITable);
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user