Bladeren bron

update

add_mode
DengBiao 1 jaar geleden
bovenliggende
commit
14d9aedc10
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      app/db/db_self_support_for_school_ord.go

+ 2
- 2
app/db/db_self_support_for_school_ord.go Bestand weergeven

@@ -83,9 +83,9 @@ func (selfSupportForSchoolOrdOrdDb *SelfSupportForSchoolOrd) SelfSupportForSchoo
err error
)
if forceColums != nil {
affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_trade_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Cols(forceColums...).Update(m)
affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_order_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Cols(forceColums...).Update(m)
} else {
affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_trade_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Update(m)
affected, err = selfSupportForSchoolOrdOrdDb.Db.Where("out_order_no=?", selfSupportForSchoolOrdOrdDb.OutOrderNo).Update(m)
}
if err != nil {
return 0, err


Laden…
Annuleren
Opslaan