|
@@ -921,15 +921,17 @@ func (this *OilSupplierCertController) AuditEntityFir() {
|
|
|
} else if supplierCertEntity.SupplierTypeCode == suppliercert.TECH_TYPECODE {
|
|
} else if supplierCertEntity.SupplierTypeCode == suppliercert.TECH_TYPECODE {
|
|
|
Amount = 8000
|
|
Amount = 8000
|
|
|
}
|
|
}
|
|
|
- //var payinfo paymentinfo.OilPaymentInfo
|
|
|
|
|
- //payinfo.SupplierId = supplierCertEntity.SupplierId
|
|
|
|
|
- //payinfo.SupplierCertId = supplierCertEntity.Id
|
|
|
|
|
- //payinfo.PayType = "1"
|
|
|
|
|
- //payinfo.Amount = strconv.FormatFloat(Amount,'E',-1,64)
|
|
|
|
|
- //payinfo.CreateUserId = supplierCertEntity.CreateUserId
|
|
|
|
|
- //payinfo.CreateBy = supplierCertEntity.CreateBy
|
|
|
|
|
- //paysvc.InsertEntity(&payinfo)
|
|
|
|
|
- paysvc.AddPaymentinfo(supplierCertEntity.SupplierId, supplierCertEntity.Id, Amount, "1")
|
|
|
|
|
|
|
+ var payinfo paymentinfo.OilPaymentInfo
|
|
|
|
|
+ payinfo.SupplierId = supplierCertEntity.SupplierId
|
|
|
|
|
+ payinfo.SupplierCertId = supplierCertEntity.Id
|
|
|
|
|
+ payinfo.PayType = "1"
|
|
|
|
|
+ payinfo.Amount = strconv.FormatFloat(Amount,'E',-1,64)
|
|
|
|
|
+ payinfo.IsPay = "1"
|
|
|
|
|
+ payinfo.CreateUserId = supplierCertEntity.CreateUserId
|
|
|
|
|
+ payinfo.CreateBy = supplierCertEntity.CreateBy
|
|
|
|
|
+ payinfo.CreateOn = time.Now()
|
|
|
|
|
+ paysvc.InsertEntity(&payinfo)
|
|
|
|
|
+ //paysvc.AddPaymentinfo(supplierCertEntity.SupplierId, supplierCertEntity.Id, Amount, "1")
|
|
|
supplierCertEntity.Status = status
|
|
supplierCertEntity.Status = status
|
|
|
supplierCertEntity.Step = step
|
|
supplierCertEntity.Step = step
|
|
|
cols := []string{
|
|
cols := []string{
|