|
|
@ -106,8 +106,8 @@ public class RishengPendingMessageFacadeControllerBean extends AbstractRishengPe |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String FBIZOBJID = queryPendingRows.getString("FBIZOBJID");// 业务对象内码
|
|
|
|
String FBIZOBJID = queryPendingRows.getString("FBIZOBJID");// 业务对象内码
|
|
|
|
//String rcvNum = queryPendingRows.getString("RECEIVERNUMBER"); //暂时设置为0003
|
|
|
|
String rcvNum = queryPendingRows.getString("RECEIVERNUMBER"); //暂时设置为0003
|
|
|
|
String rcvNum = "0003"; |
|
|
|
// String rcvNum = "0003";
|
|
|
|
String receiverNumberBase = Base64.encode(rcvNum.getBytes()); |
|
|
|
String receiverNumberBase = Base64.encode(rcvNum.getBytes()); |
|
|
|
String mbosUrl = getUrl(taskId, EID, "https://mbos.kdeascloud.com/mbos/page/loadPage?", "10036", ctx,FBIZOBJID); |
|
|
|
String mbosUrl = getUrl(taskId, EID, "https://mbos.kdeascloud.com/mbos/page/loadPage?", "10036", ctx,FBIZOBJID); |
|
|
|
mbosUrl = mbosUrl+"&token="+receiverNumberBase+"&isOtherApp=true&path=lczs2"; |
|
|
|
mbosUrl = mbosUrl+"&token="+receiverNumberBase+"&isOtherApp=true&path=lczs2"; |
|
|
@ -122,14 +122,16 @@ public class RishengPendingMessageFacadeControllerBean extends AbstractRishengPe |
|
|
|
if(cjr.equals("1")||cjr.equals("2")){ |
|
|
|
if(cjr.equals("1")||cjr.equals("2")){ |
|
|
|
cjrNumber=cjrNumber.substring(1, cjrNumber.length()); |
|
|
|
cjrNumber=cjrNumber.substring(1, cjrNumber.length()); |
|
|
|
} |
|
|
|
} |
|
|
|
queryPendingMap.put("creator", "0003"); |
|
|
|
//queryPendingMap.put("creator", "0003");
|
|
|
|
|
|
|
|
queryPendingMap.put("creator", cjrNumber); |
|
|
|
//接收人,接收人先设置为0003
|
|
|
|
//接收人,接收人先设置为0003
|
|
|
|
String jsrNumber = queryPendingRows.getString("RECEIVERNUMBER"); |
|
|
|
String jsrNumber = queryPendingRows.getString("RECEIVERNUMBER"); |
|
|
|
String substring = jsrNumber.substring(0, 1); |
|
|
|
String substring = jsrNumber.substring(0, 1); |
|
|
|
if(substring.equals("1")||substring.equals("2")){ |
|
|
|
if(substring.equals("1")||substring.equals("2")){ |
|
|
|
jsrNumber=jsrNumber.substring(1, jsrNumber.length()); |
|
|
|
jsrNumber=jsrNumber.substring(1, jsrNumber.length()); |
|
|
|
} |
|
|
|
} |
|
|
|
queryPendingMap.put("receiver", "0003");// 接收人ID
|
|
|
|
// queryPendingMap.put("receiver", "0003");// 接收人ID
|
|
|
|
|
|
|
|
queryPendingMap.put("receiver", jsrNumber);// 接收人ID
|
|
|
|
Date createTime = queryPendingRows.getDate("RECEIVETIME"); |
|
|
|
Date createTime = queryPendingRows.getDate("RECEIVETIME"); |
|
|
|
queryPendingMap.put("createdatetime", sdf.format(createTime));// 流程创建时间
|
|
|
|
queryPendingMap.put("createdatetime", sdf.format(createTime));// 流程创建时间
|
|
|
|
queryPendingMap.put("receivedatetime", sdf.format(createTime));// 接受日期
|
|
|
|
queryPendingMap.put("receivedatetime", sdf.format(createTime));// 接受日期
|
|
|
@ -290,11 +292,11 @@ public class RishengPendingMessageFacadeControllerBean extends AbstractRishengPe |
|
|
|
queryPendingMap.put("nodename", "1");// 步骤名称
|
|
|
|
queryPendingMap.put("nodename", "1");// 步骤名称
|
|
|
|
queryPendingMap.put("viewtype", "0");// 流程查看状态
|
|
|
|
queryPendingMap.put("viewtype", "0");// 流程查看状态
|
|
|
|
String cjrNumber = queryUpfatePendRows.getString("SENDERNUMBER"); |
|
|
|
String cjrNumber = queryUpfatePendRows.getString("SENDERNUMBER"); |
|
|
|
//queryPendingMap.put("creator", cjrNumber);// 创建人 暂时设置成0003
|
|
|
|
queryPendingMap.put("creator", cjrNumber);// 创建人 暂时设置成0003
|
|
|
|
queryPendingMap.put("creator", "0003"); |
|
|
|
// queryPendingMap.put("creator", "0003");
|
|
|
|
String jsrNumber = queryUpfatePendRows.getString("RECEIVERNUMBER"); |
|
|
|
String jsrNumber = queryUpfatePendRows.getString("RECEIVERNUMBER"); |
|
|
|
//queryPendingMap.put("receiver", jsrNumber);// 接收人ID 暂时设置成0003
|
|
|
|
queryPendingMap.put("receiver", jsrNumber);// 接收人ID 暂时设置成0003
|
|
|
|
queryPendingMap.put("receiver", "0003"); |
|
|
|
// queryPendingMap.put("receiver", "0003");
|
|
|
|
Date createTime = queryUpfatePendRows.getDate("RECEIVETIME"); |
|
|
|
Date createTime = queryUpfatePendRows.getDate("RECEIVETIME"); |
|
|
|
queryPendingMap.put("createdatetime", sdf.format(createTime));// 流程创建时间
|
|
|
|
queryPendingMap.put("createdatetime", sdf.format(createTime));// 流程创建时间
|
|
|
|
queryPendingMap.put("receivedatetime", sdf.format(createTime));// 接受日期
|
|
|
|
queryPendingMap.put("receivedatetime", sdf.format(createTime));// 接受日期
|
|
|
@ -305,8 +307,8 @@ public class RishengPendingMessageFacadeControllerBean extends AbstractRishengPe |
|
|
|
queryPendingMap.put("pcurl",url);// pc地址
|
|
|
|
queryPendingMap.put("pcurl",url);// pc地址
|
|
|
|
String FBIZOBJID = queryUpfatePendRows.getString("FBIZOBJID");// 业务对象内码
|
|
|
|
String FBIZOBJID = queryUpfatePendRows.getString("FBIZOBJID");// 业务对象内码
|
|
|
|
|
|
|
|
|
|
|
|
//String rcvNum = queryPendingRows.getString("RECEIVERNUMBER"); //暂时设置为0003
|
|
|
|
String rcvNum = jsrNumber; //暂时设置为0003
|
|
|
|
String rcvNum = "0003"; |
|
|
|
//String rcvNum = "0003";
|
|
|
|
String receiverNumberBase = Base64.encode(rcvNum.getBytes()); |
|
|
|
String receiverNumberBase = Base64.encode(rcvNum.getBytes()); |
|
|
|
String mbosUrl = getUrl(taskId, EID, "https://mbos.kdeascloud.com/mbos/page/loadPage?", "10036", ctx,FBIZOBJID); |
|
|
|
String mbosUrl = getUrl(taskId, EID, "https://mbos.kdeascloud.com/mbos/page/loadPage?", "10036", ctx,FBIZOBJID); |
|
|
|
mbosUrl = mbosUrl+"&token="+receiverNumberBase+"&isOtherApp=true&path=lczs2"; |
|
|
|
mbosUrl = mbosUrl+"&token="+receiverNumberBase+"&isOtherApp=true&path=lczs2"; |
|
|
|