baichengfei 5 年之前
父节点
当前提交
df153f045b

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

@@ -338,10 +338,9 @@ func (this *OilAnnualListenerController) ApprovalRefuse() {
 	//var supplierEntity supplier.OilSupplier
 	//supplierSrv.GetEntityById(annualEntity.SupplierId, &supplierEntity)
 
-	// 发送驳回通知短信
+	// TODO 发送驳回通知短信
 	//this.AuditRejectNotice(supplierCertEntity, supplierEntity)
 
-	// TODO 驳回后原工作流的处理, 新工作流的处理
 	this.Data["json"] = annualEntity.CreateUserId
 	this.ServeJSON()
 }
@@ -360,7 +359,7 @@ func (this *OilAnnualListenerController) AuditRejectNotice(supplierCertEntity su
 	} else {
 		bFlag = "服务类"
 	}
-	msg := "您的" + bFlag + "增项审核未通过,请及时查看!"
+	msg := "您的" + bFlag + "年审申请审核未通过,请及时查看!"
 	msgService := msg2.GetMsgService(utils.DBE)
-	msgService.HandleMsg(toMobile, msg, "5-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
+	msgService.HandleMsg(toMobile, msg, "5-2", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
 }

+ 3 - 4
src/dashoo.cn/backend/api/controllers/oilsupplier/infoChangeListener.go

@@ -281,10 +281,9 @@ func (this *OilInfoChangeListenerController) ApprovalRefuse() {
 	//supplierSrv := supplier.GetOilSupplierService(utils.DBE)
 	//var supplierEntity supplier.OilSupplier
 	//supplierSrv.GetEntityById(infoChangeEntity.SupplierId, &supplierEntity)
-	// 发送驳回通知短信
+	// TODO 发送驳回通知短信
 	//this.AuditRejectNotice(infoChangeEntity, supplierEntity)
 
-	// TODO 驳回后原工作流的处理, 新工作流的处理
 	this.Data["json"] = infoChangeEntity.CreateUserId
 	this.ServeJSON()
 }
@@ -303,7 +302,7 @@ func (this *OilInfoChangeListenerController) AuditRejectNotice(infoChangeEntity
 	} else {
 		bFlag = "服务类"
 	}
-	msg := "您的" + bFlag + "增项审核未通过,请及时查看!"
+	msg := "您的" + bFlag + "资质信息变更申请审核未通过,请及时查看!"
 	msgService := msg2.GetMsgService(utils.DBE)
-	msgService.HandleMsg(toMobile, msg, "5-1", infoChangeEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(infoChangeEntity.CreateUserId), this.User.Username)
+	msgService.HandleMsg(toMobile, msg, "5-2", infoChangeEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(infoChangeEntity.CreateUserId), this.User.Username)
 }

+ 3 - 4
src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercertAppendListener.go

@@ -387,10 +387,9 @@ func (this *OilSupplierCertAppendListenerController) ApprovalRefuse() {
 	//supplierSrv := supplier.GetOilSupplierService(utils.DBE)
 	//var supplierEntity supplier.OilSupplier
 	//supplierSrv.GetEntityById(supplierCertAppendEntity.SupplierId, &supplierEntity)
-	// 发送驳回通知短信
+	// TODO 发送驳回通知短信
 	//this.AuditRejectNotice(supplierCertAppendEntity, supplierEntity)
 
-	// TODO 驳回后原工作流的处理, 新工作流的处理
 	this.Data["json"] = supplierCertAppendEntity.CreateUserId
 	this.ServeJSON()
 }
@@ -409,7 +408,7 @@ func (this *OilSupplierCertAppendListenerController) AuditRejectNotice(supplierC
 	} else {
 		bFlag = "服务类"
 	}
-	msg := "您的" + bFlag + "增项审核未通过,请及时查看!"
+	msg := "您的" + bFlag + "增项申请审核未通过,请及时查看!"
 	msgService := msg2.GetMsgService(utils.DBE)
-	msgService.HandleMsg(toMobile, msg, "5-1", supplierCertAppendEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertAppendEntity.CreateUserId), this.User.Username)
+	msgService.HandleMsg(toMobile, msg, "5-2", supplierCertAppendEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertAppendEntity.CreateUserId), this.User.Username)
 }

+ 3 - 4
src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercertListener.go

@@ -384,10 +384,9 @@ func (this *OilSupplierCertListenerController) ApprovalRefuse() {
 	//进入此步骤,记录在数据库中
 	supplierCertEntity.Status = stepCodeStatus
 	certSrv.UpdateEntityByIdCols(supplierCertId, supplierCertEntity, cols)
-	// 发送驳回通知短信
-	//this.AuditRejectNotice(supplierCertEntity, supplierEntity)
+	// TODO 发送驳回通知短信
+	//this.auditRejectNotice(supplierCertEntity, supplierEntity)
 
-	// TODO 驳回后原工作流的处理, 新工作流的处理
 	// 驳回给创建人
 	approverIds := supplierCertEntity.CreateUserId
 	this.Data["json"] = approverIds
@@ -410,5 +409,5 @@ func (this *OilSupplierCertListenerController) AuditRejectNotice(supplierCertEnt
 	}
 	msg := "您的" + bFlag + "准入申请未通过,请及时查看!"
 	msgService := msg2.GetMsgService(utils.DBE)
-	msgService.HandleMsg(toMobile, msg, "5-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
+	msgService.HandleMsg(toMobile, msg, "5-2", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
 }