|
@@ -17,7 +17,7 @@ type FinWithdrawSettingDb struct { |
|
|
|
|
|
|
|
|
func (f FinWithdrawSettingDb) FinWithdrawSettingGetOne() (*model.FinWithdrawSetting, error) { |
|
|
func (f FinWithdrawSettingDb) FinWithdrawSettingGetOne() (*model.FinWithdrawSetting, error) { |
|
|
var m model.FinWithdrawSetting |
|
|
var m model.FinWithdrawSetting |
|
|
get, err := f.Db.Where("id > 1").Desc("create_at").Get(&m) |
|
|
|
|
|
|
|
|
get, err := f.Db.Where("id >= 1").Desc("create_at").Get(&m) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
} |
|
|
} |
|
|