|
@ -22,14 +22,39 @@ public class SyKeyLoginUtil { |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId="+affairId; |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId="+affairId; |
|
|
} |
|
|
} |
|
|
if(templateCode.equals(TbsSeeYonConst.CostCheckConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.CostCheckConf.Code())){ |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-expense-application-activity-write-off-approval-pending-detail?" + |
|
|
|
|
|
"expenseApplicationId=382658" + //费用id
|
|
|
|
|
|
"&writeOffId=1936474" + //核销id
|
|
|
|
|
|
"&activityId=2277848" + //活动id
|
|
|
|
|
|
"&approvalId="+affairId; |
|
|
} |
|
|
} |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-policy-application-approval-pending-detail?policyApplicationId=" + targetId + |
|
|
|
|
|
"&approvalId="+affairId; |
|
|
} |
|
|
} |
|
|
return "404"; |
|
|
return "404"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 获取核销待审批详情 |
|
|
|
|
|
* @param costApplyId |
|
|
|
|
|
* @param activityId |
|
|
|
|
|
* @param verificationId |
|
|
|
|
|
* @param affairId |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public static String getPreCheckUrl4Verification(Long costApplyId, |
|
|
|
|
|
Long activityId, |
|
|
|
|
|
Long verificationId, |
|
|
|
|
|
String affairId){ |
|
|
|
|
|
return "my-expense-application-activity-write-off-approval-pending-detail?" + |
|
|
|
|
|
"expenseApplicationId=" + costApplyId+ //费用id
|
|
|
|
|
|
"&writeOffId=" + verificationId +//核销id
|
|
|
|
|
|
"&activityId=" + activityId +//活动id
|
|
|
|
|
|
"&approvalId="+affairId; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取已审批详情 |
|
|
* 获取已审批详情 |
|
|
* @param templateCode |
|
|
* @param templateCode |
|
@ -38,17 +63,33 @@ public class SyKeyLoginUtil { |
|
|
*/ |
|
|
*/ |
|
|
public static String getCheckedDetailUrl(String templateCode,String targetId){ |
|
|
public static String getCheckedDetailUrl(String templateCode,String targetId){ |
|
|
if(templateCode.equals(TbsSeeYonConst.CostApplyConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.CostApplyConf.Code())){ |
|
|
return "my-expense-application-approval-approved-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-expense-application-approval-approved-detail?expenseApplicationId="+targetId |
|
|
} |
|
|
+"&approvalId=0"; |
|
|
if(templateCode.equals(TbsSeeYonConst.CostCheckConf.Code())){ |
|
|
|
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
|
|
|
} |
|
|
} |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-policy-application-approval-approved-detail?policyApplicationId=" + targetId + |
|
|
|
|
|
"&approvalId=0"; |
|
|
} |
|
|
} |
|
|
return "404"; |
|
|
return "404"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 获取核销待审批详情 |
|
|
|
|
|
* @param costApplyId |
|
|
|
|
|
* @param activityId |
|
|
|
|
|
* @param verificationId |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public static String getCheckedDetailUrl4Verification(Long costApplyId, |
|
|
|
|
|
Long activityId, |
|
|
|
|
|
Long verificationId){ |
|
|
|
|
|
return "my-expense-application-activity-write-off-approval-approved-detail?" + |
|
|
|
|
|
"expenseApplicationId=" + costApplyId+ //费用id
|
|
|
|
|
|
"&writeOffId=" + verificationId +//核销id
|
|
|
|
|
|
"&activityId=" + activityId +//活动id
|
|
|
|
|
|
"&approvalId=0"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取个人申请详情 |
|
|
* 获取个人申请详情 |
|
|
* @param templateCode |
|
|
* @param templateCode |
|
@ -60,10 +101,10 @@ public class SyKeyLoginUtil { |
|
|
return "my-expense-application-detail?id="+targetId; |
|
|
return "my-expense-application-detail?id="+targetId; |
|
|
} |
|
|
} |
|
|
if(templateCode.equals(TbsSeeYonConst.CostCheckConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.CostCheckConf.Code())){ |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-expense-application-activity-write-off-management"; |
|
|
} |
|
|
} |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
if(templateCode.equals(TbsSeeYonConst.PolicyConf.Code())){ |
|
|
return "my-expense-application-approval-pending-detail?expenseApplicationId="+targetId+"&approvalId=0"; |
|
|
return "my-policy-application-detail?id="+targetId; |
|
|
} |
|
|
} |
|
|
return "404"; |
|
|
return "404"; |
|
|
} |
|
|
} |
|
|