|
|
@@ -1,6 +1,7 @@
|
|
|
package oilsupplier
|
|
|
|
|
|
import (
|
|
|
+ "dashoo.cn/backend/api/business/msg"
|
|
|
"dashoo.cn/backend/api/business/audithistory"
|
|
|
"dashoo.cn/backend/api/business/codecsequence"
|
|
|
"dashoo.cn/backend/api/business/oilsupplier/supplier"
|
|
|
@@ -784,7 +785,10 @@ func (this *OilSupplierCertController) AuditEntityFir() {
|
|
|
//取出审批列表
|
|
|
certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
|
|
|
var supplierCertEntity suppliercert.OilSupplierCert
|
|
|
+ var supplierEntity supplier.OilSupplier
|
|
|
certSrv.GetEntityById(certId, &supplierCertEntity)
|
|
|
+ wheresup := "SupplierId= " + strconv.Itoa(supplierCertEntity.SupplierId)
|
|
|
+ certSrv.GetEntity(&supplierEntity, wheresup)
|
|
|
var jsonblob = this.Ctx.Input.RequestBody
|
|
|
json.Unmarshal(jsonblob, &dataother)
|
|
|
var errinfo ErrorDataInfo
|
|
|
@@ -976,6 +980,9 @@ func (this *OilSupplierCertController) AuditEntityFir() {
|
|
|
"Step",
|
|
|
}
|
|
|
certSrv.UpdateEntityByIdCols(certId, supplierCertEntity, cols)
|
|
|
+ msgService:=msg.GetMsgService(utils.DBE)
|
|
|
+ msg := "准入申请通过,请确认缴费信息"
|
|
|
+ msgService.HandleMsg(supplierEntity.Mobile,msg,"1-1","test",supplierEntity.ContactName,"1")
|
|
|
} else {
|
|
|
supplierCertEntity.Status = suppliercert.STOREING_STATUS
|
|
|
supplierCertEntity.Step = step
|