优化日志输出
This commit is contained in:
@@ -103,7 +103,7 @@ public class FadadaNode extends BaseSuperNodeAction {
|
||||
@Override
|
||||
public SuperNodeResponse executeAction(String token, String activityId, Map<String, Object> params) throws BusinessException {
|
||||
//进入超级审核节点
|
||||
System.out.println("开始处理单据FadadaNode");
|
||||
log.info("开始处理单据FadadaNode");
|
||||
String summaryId = params.get("WF_SUPER_NODE_SUMMARY_ID").toString();
|
||||
SuperNodeResponse response = new SuperNodeResponse();
|
||||
Map<String, Object> data = getFormData(params);
|
||||
@@ -219,13 +219,12 @@ public class FadadaNode extends BaseSuperNodeAction {
|
||||
CAP4FormKit.setCellValue(master, "summaryId2", affairId);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("异常:"+ e);
|
||||
log.error("异常:"+ e.getMessage(),e);
|
||||
response.setReturnCode(RunAction.BACK.getKey());
|
||||
response.setSuccess(false);
|
||||
response.setReturnMsg("异常:"+ e);
|
||||
CAP4FormKit.setCellValue(master, "返回结果", "处理异常:"+ e);
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
formDataApi4Cap4.insertOrUpdateMasterData(master, false);
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user