瀏覽代碼

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

baichengfei 5 年之前
父節點
當前提交
0681ec9a34
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/dashoo.cn/backend/api/controllers/oilsupplier/annualListener.go

+ 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()
 }