|
@@ -122,7 +122,7 @@ func SettleCenterInvoiceSave(c *gin.Context, req md.InvoiceReq) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
data.PayState = 2 |
|
|
data.PayState = 2 |
|
|
engine.Where("id=?", data.Id).Cols("pay_sate").Update(data) |
|
|
|
|
|
|
|
|
engine.Where("id=?", data.Id).Cols("pay_state").Update(data) |
|
|
NewMediumInvoiceDb := implement.NewMediumInvoiceDb(engine) |
|
|
NewMediumInvoiceDb := implement.NewMediumInvoiceDb(engine) |
|
|
invoice, _ := NewMediumInvoiceDb.GetMediumInvoice(data.Id) |
|
|
invoice, _ := NewMediumInvoiceDb.GetMediumInvoice(data.Id) |
|
|
if invoice == nil { |
|
|
if invoice == nil { |
|
|