diff --git a/src/com/customization/dito/sendtodo/SendPortalWithAddTodoCmd.java b/src/com/customization/dito/sendtodo/SendPortalWithAddTodoCmd.java index 83f25812..fb230ae3 100644 --- a/src/com/customization/dito/sendtodo/SendPortalWithAddTodoCmd.java +++ b/src/com/customization/dito/sendtodo/SendPortalWithAddTodoCmd.java @@ -77,7 +77,7 @@ public class SendPortalWithAddTodoCmd { String terminal = "1" ; String taskType = "0"; - String actionType = "0" ; + String actionType = "1" ; String objectAction = "0" ; String objectType = "0"; @@ -312,6 +312,11 @@ public class SendPortalWithAddTodoCmd { String resultCode = msgObject.getString("resultCode"); if("0".equals(resultCode)){ map.put("resultCode","0"); + }else if ("TODO-FAIL-001".equals(resultCode)){ +// requestObject.put("actionType","2"); +// bb.writeLog("after TODO-FAIL-001 sendTodoDataByNode---requestObject:"+requestObject.toJSONString()); +// String msg= httpRequestUtil.doPostByAuth(portal_todourl,requestObject.toJSONString(),auth); +// bb.writeLog("after TODO-FAIL-001"+msg); }else{ bb.writeLog(msgObject.get("resultMsg")); map.put("resultCode",resultCode); diff --git a/src/com/customization/dito/sendtodo/SendRemarkOperateTodoCmd.java b/src/com/customization/dito/sendtodo/SendRemarkOperateTodoCmd.java index 6dfc4016..4bd7ad6b 100644 --- a/src/com/customization/dito/sendtodo/SendRemarkOperateTodoCmd.java +++ b/src/com/customization/dito/sendtodo/SendRemarkOperateTodoCmd.java @@ -341,6 +341,9 @@ public class SendRemarkOperateTodoCmd extends AbstractCommandProxy 1 or t1.deleted is null or t1.deleted = '')\n" + " and t2.isremark = '1' \n" + @@ -433,7 +438,7 @@ public class SendRemarkOperateTodoCmd extends AbstractCommandProxy 20) { + messageTitle = messageTitle.substring(0, 17) + "..."; + } + return messageTitle; + } }