|
|
@ -1,5 +1,5 @@ |
|
|
|
// ==========================================================================
|
|
|
|
// ==========================================================================
|
|
|
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
|
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
|
|
// ==========================================================================
|
|
|
|
// ==========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
package internal |
|
|
|
package internal |
|
|
@ -33,6 +33,10 @@ type LoginLogoutInfoColumns struct { |
|
|
|
BaseFood string // 基础食物
|
|
|
|
BaseFood string // 基础食物
|
|
|
|
Day string // 游戏天数
|
|
|
|
Day string // 游戏天数
|
|
|
|
Server string // 区服
|
|
|
|
Server string // 区服
|
|
|
|
|
|
|
|
VouchersNum string //
|
|
|
|
|
|
|
|
RechargeTotal string //
|
|
|
|
|
|
|
|
StoreSum string //
|
|
|
|
|
|
|
|
StoneAmount string //
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// loginLogoutInfoColumns holds the columns for table login_logout_info.
|
|
|
|
// loginLogoutInfoColumns holds the columns for table login_logout_info.
|
|
|
@ -50,6 +54,10 @@ var loginLogoutInfoColumns = LoginLogoutInfoColumns{ |
|
|
|
BaseFood: "base_food", |
|
|
|
BaseFood: "base_food", |
|
|
|
Day: "day", |
|
|
|
Day: "day", |
|
|
|
Server: "server", |
|
|
|
Server: "server", |
|
|
|
|
|
|
|
VouchersNum: "vouchersNum", |
|
|
|
|
|
|
|
RechargeTotal: "rechargeTotal", |
|
|
|
|
|
|
|
StoreSum: "storeSum", |
|
|
|
|
|
|
|
StoneAmount: "stoneAmount", |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// NewLoginLogoutInfoDao creates and returns a new DAO object for table data access.
|
|
|
|
// NewLoginLogoutInfoDao creates and returns a new DAO object for table data access.
|
|
|
@ -92,6 +100,6 @@ func (dao *LoginLogoutInfoDao) Ctx(ctx context.Context) *gdb.Model { |
|
|
|
//
|
|
|
|
//
|
|
|
|
// Note that, you should not Commit or Rollback the transaction in function f
|
|
|
|
// Note that, you should not Commit or Rollback the transaction in function f
|
|
|
|
// as it is automatically handled by this function.
|
|
|
|
// as it is automatically handled by this function.
|
|
|
|
func (dao *LoginLogoutInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { |
|
|
|
func (dao *LoginLogoutInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { |
|
|
|
return dao.Ctx(ctx).Transaction(ctx, f) |
|
|
|
return dao.Ctx(ctx).Transaction(ctx, f) |
|
|
|
} |
|
|
|
} |
|
|
|