|
|
@@ -805,13 +805,6 @@ func (this *OilSupplierCertAppendController) AuditEntityFir() {
|
|
|
var Amount float64
|
|
|
asvc := oilcostmanage.GetOilCostManageService(utils.DBE)
|
|
|
Amount = asvc.GetAmount("APPEND",supplierCertAppendEntity.AppendType)
|
|
|
- //if supplierCertAppendEntity.AppendType == "01" {
|
|
|
- // Amount = 6000
|
|
|
- //} else if supplierCertAppendEntity.AppendType == "02" {
|
|
|
- // Amount = 7000
|
|
|
- //} else if supplierCertAppendEntity.AppendType == "03" {
|
|
|
- // Amount = 8000
|
|
|
- //}
|
|
|
var payinfo paymentinfo.OilPaymentInfo
|
|
|
payinfo.SrcId = supplierCertAppendEntity.Id
|
|
|
payinfo.SupplierId = supplierCertAppendEntity.SupplierId
|
|
|
@@ -839,6 +832,8 @@ func (this *OilSupplierCertAppendController) AuditEntityFir() {
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
msgService.HandleMsg(toMobile,msg,"4-1",supplierCertAppendEntity.CreateBy,supplierEntity.ContactName,strconv.Itoa(supplierCertAppendEntity.CreateUserId))
|
|
|
//paysvc.AddPaymentinfo(supplierCertAppendEntity.SupplierId, supplierCertAppendEntity.Id, Amount, "3")
|
|
|
+ } else {
|
|
|
+ status = suppliercert.ALL_PASE_STATUS
|
|
|
}
|
|
|
}
|
|
|
supplierCertAppendEntity.Status = status
|