|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
// ==========================================================================
|
|
|
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
|
|
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
|
|
|
|
// ==========================================================================
|
|
|
|
|
|
|
|
|
|
package internal |
|
|
|
@ -84,6 +84,6 @@ func (dao *ItemIncomeExpenseRecordsDao) Ctx(ctx context.Context) *gdb.Model {
|
|
|
|
|
//
|
|
|
|
|
// Note that, you should not Commit or Rollback the transaction in function f
|
|
|
|
|
// as it is automatically handled by this function.
|
|
|
|
|
func (dao *ItemIncomeExpenseRecordsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) { |
|
|
|
|
func (dao *ItemIncomeExpenseRecordsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) { |
|
|
|
|
return dao.Ctx(ctx).Transaction(ctx, f) |
|
|
|
|
} |
|
|
|
|