|
|
@@ -245,6 +245,19 @@ func (this *OilSupplierCertAppendListenerController) GetPrePayer() {
|
|
|
var supplierEntity supplier.OilSupplier
|
|
|
supplierSrv.GetEntityById(supplierCertAppendEntity.SupplierId, &supplierEntity)
|
|
|
|
|
|
+ // 发短信通知交费
|
|
|
+ bFlag := ""
|
|
|
+ if supplierCertAppendEntity.AppendType == "01" {
|
|
|
+ bFlag = "物资类"
|
|
|
+ } else if supplierCertAppendEntity.AppendType == "02" {
|
|
|
+ bFlag = "基建类"
|
|
|
+ } else {
|
|
|
+ bFlag = "服务类"
|
|
|
+ }
|
|
|
+ msg := "您的" + bFlag + "增项申请已通过,请及时交费!"
|
|
|
+ msgService := msg2.GetMsgService(utils.DBE)
|
|
|
+ msgService.HandleMsg(supplierEntity.Mobile, msg, "5-1", supplierCertAppendEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertAppendEntity.CreateUserId), this.User.Username)
|
|
|
+
|
|
|
paySvc := paymentinfo.GetPaymentService(utils.DBE)
|
|
|
var Amount float64
|
|
|
costSvc := oilcostmanage.GetOilCostManageService(utils.DBE)
|