Ver Fonte

年审结束监听器返回创建人

baichengfei há 5 anos atrás
pai
commit
0681ec9a34

+ 2 - 2
src/dashoo.cn/backend/api/controllers/oilsupplier/annualListener.go

@@ -295,7 +295,7 @@ func (this *OilAnnualListenerController) WorkflowEndAudit() {
 		"ApplyTime",
 	}
 	//进入此步骤,记录在数据库中
-	annualEntity.Status = suppliercert.STORE_STATUS //审核完成
+	annualEntity.Status = suppliercert.STORE_STATUS                  //审核完成
 	annualEntity.ApplyTime = annualEntity.ApplyTime.AddDate(1, 0, 0) //更新年审表时间
 	srv.UpdateEntityByIdCols(annualId, annualEntity, cols)
 
@@ -342,7 +342,7 @@ func (this *OilAnnualListenerController) ApprovalRefuse() {
 	//this.AuditRejectNotice(supplierCertEntity, supplierEntity)
 
 	// TODO 驳回后原工作流的处理, 新工作流的处理
-	this.Data["json"] = 1
+	this.Data["json"] = annualEntity.CreateUserId
 	this.ServeJSON()
 }