|
@@ -117,15 +117,17 @@ func (this *ActivitiService) StartProcess(processKey string, formEntityId string
|
|
|
return string(p)
|
|
return string(p)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (this *ActivitiService) TaskComplete(processKey string, formEntityId string, userNames string, userId string, result string, remarks string) string {
|
|
|
|
|
-
|
|
|
|
|
- var ActiComplete ActiCompleteVM
|
|
|
|
|
|
|
+//func (this *ActivitiService) TaskComplete(processKey string, formEntityId string, userNames string, userId string, result string, remarks string) string {
|
|
|
|
|
+ /*var ActiComplete ActiCompleteVM
|
|
|
ActiComplete.ProcessKey = processKey
|
|
ActiComplete.ProcessKey = processKey
|
|
|
ActiComplete.BusinessKey = formEntityId
|
|
ActiComplete.BusinessKey = formEntityId
|
|
|
ActiComplete.UserNames = userNames
|
|
ActiComplete.UserNames = userNames
|
|
|
ActiComplete.UserId = userId
|
|
ActiComplete.UserId = userId
|
|
|
ActiComplete.Result = result
|
|
ActiComplete.Result = result
|
|
|
- ActiComplete.Remarks = remarks
|
|
|
|
|
|
|
+ ActiComplete.Remarks = remarks*/
|
|
|
|
|
+
|
|
|
|
|
+func (this *ActivitiService) TaskComplete(ActiComplete ActiCompleteVM) string {
|
|
|
|
|
+
|
|
|
jsonParams, err := json.Marshal(ActiComplete)
|
|
jsonParams, err := json.Marshal(ActiComplete)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
fmt.Println(err, "生成json字符串错误")
|
|
fmt.Println(err, "生成json字符串错误")
|
|
@@ -138,7 +140,7 @@ func (this *ActivitiService) TaskComplete(processKey string, formEntityId string
|
|
|
return string(p)
|
|
return string(p)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (this *ActivitiService) MultiTaskComplete(processKey string, formEntityId string, userNames string, multiOrgAudits []MultiOrgAuditVM, userId string, result string, remarks string) string {
|
|
|
|
|
|
|
+/*func (this *ActivitiService) MultiTaskComplete(processKey string, formEntityId string, userNames string, multiOrgAudits []MultiOrgAuditVM, userId string, result string, remarks string, callbackUrl string) string {
|
|
|
|
|
|
|
|
var ActiComplete MultiActiCompleteVM
|
|
var ActiComplete MultiActiCompleteVM
|
|
|
ActiComplete.ProcessKey = processKey
|
|
ActiComplete.ProcessKey = processKey
|
|
@@ -148,6 +150,10 @@ func (this *ActivitiService) MultiTaskComplete(processKey string, formEntityId s
|
|
|
ActiComplete.UserId = userId
|
|
ActiComplete.UserId = userId
|
|
|
ActiComplete.Result = result
|
|
ActiComplete.Result = result
|
|
|
ActiComplete.Remarks = remarks
|
|
ActiComplete.Remarks = remarks
|
|
|
|
|
+ ActiComplete.CallbackUrl = callbackUrl*/
|
|
|
|
|
+
|
|
|
|
|
+func (this *ActivitiService) MultiTaskComplete(ActiComplete MultiActiCompleteVM) string {
|
|
|
|
|
+
|
|
|
jsonParams, err := json.Marshal(ActiComplete)
|
|
jsonParams, err := json.Marshal(ActiComplete)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
fmt.Println(err, "生成json字符串错误")
|
|
fmt.Println(err, "生成json字符串错误")
|