|
@@ -1044,7 +1044,11 @@ func (this *OilSupplierCertController) UpdateIsStorage() {
|
|
|
this.ServeJSON()
|
|
this.ServeJSON()
|
|
|
} else {
|
|
} else {
|
|
|
//返回正确结果
|
|
//返回正确结果
|
|
|
- errinfo.Message = "入库成功"
|
|
|
|
|
|
|
+ if result == "1" {
|
|
|
|
|
+ errinfo.Message = "入库成功"
|
|
|
|
|
+ } else {
|
|
|
|
|
+ errinfo.Message = "退回成功"
|
|
|
|
|
+ }
|
|
|
errinfo.Code = 0
|
|
errinfo.Code = 0
|
|
|
this.Data["json"] = &errinfo
|
|
this.Data["json"] = &errinfo
|
|
|
this.ServeJSON()
|
|
this.ServeJSON()
|
|
@@ -1110,7 +1114,7 @@ func (this *OilSupplierCertController) UpdateIsStorage() {
|
|
|
ActiComplete.ProcessKey = workflow.OIL_ENUSER_SUPPLIER_APPLY
|
|
ActiComplete.ProcessKey = workflow.OIL_ENUSER_SUPPLIER_APPLY
|
|
|
ActiComplete.BusinessKey = supplierCertEntity.BusinessKey
|
|
ActiComplete.BusinessKey = supplierCertEntity.BusinessKey
|
|
|
ActiComplete.UserId = this.User.Id //审批人员
|
|
ActiComplete.UserId = this.User.Id //审批人员
|
|
|
- ActiComplete.Result = "1"
|
|
|
|
|
|
|
+ ActiComplete.Result = result
|
|
|
ActiComplete.Remarks = AuditRemark
|
|
ActiComplete.Remarks = AuditRemark
|
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
|
receiveVal := svcActiviti.TaskComplete(ActiComplete)
|
|
receiveVal := svcActiviti.TaskComplete(ActiComplete)
|