|
|
@@ -122,7 +122,7 @@ func SettleCenterInvoiceSave(c *gin.Context, req md.InvoiceReq) { |
|
|
|
return |
|
|
|
} |
|
|
|
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) |
|
|
|
invoice, _ := NewMediumInvoiceDb.GetMediumInvoice(data.Id) |
|
|
|
if invoice == nil { |
|
|
|