Documentation ¶
Index ¶
- type ConfigColumns
- type ConfigDao
- func (dao *ConfigDao) Columns() ConfigColumns
- func (dao *ConfigDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ConfigDao) DB() gdb.DB
- func (dao *ConfigDao) Group() string
- func (dao *ConfigDao) Table() string
- func (dao *ConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewDutyIndexColumns
- type CrewDutyIndexDao
- func (dao *CrewDutyIndexDao) Columns() CrewDutyIndexColumns
- func (dao *CrewDutyIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewDutyIndexDao) DB() gdb.DB
- func (dao *CrewDutyIndexDao) Group() string
- func (dao *CrewDutyIndexDao) Table() string
- func (dao *CrewDutyIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewHoursIndexColumns
- type CrewHoursIndexDao
- func (dao *CrewHoursIndexDao) Columns() CrewHoursIndexColumns
- func (dao *CrewHoursIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewHoursIndexDao) DB() gdb.DB
- func (dao *CrewHoursIndexDao) Group() string
- func (dao *CrewHoursIndexDao) Table() string
- func (dao *CrewHoursIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewKpiRuleColumns
- type CrewKpiRuleDao
- func (dao *CrewKpiRuleDao) Columns() CrewKpiRuleColumns
- func (dao *CrewKpiRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewKpiRuleDao) DB() gdb.DB
- func (dao *CrewKpiRuleDao) Group() string
- func (dao *CrewKpiRuleDao) Table() string
- func (dao *CrewKpiRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewManageIndexColumns
- type CrewManageIndexDao
- func (dao *CrewManageIndexDao) Columns() CrewManageIndexColumns
- func (dao *CrewManageIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewManageIndexDao) DB() gdb.DB
- func (dao *CrewManageIndexDao) Group() string
- func (dao *CrewManageIndexDao) Table() string
- func (dao *CrewManageIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewOvertimeRuleColumns
- type CrewOvertimeRuleDao
- func (dao *CrewOvertimeRuleDao) Columns() CrewOvertimeRuleColumns
- func (dao *CrewOvertimeRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewOvertimeRuleDao) DB() gdb.DB
- func (dao *CrewOvertimeRuleDao) Group() string
- func (dao *CrewOvertimeRuleDao) Table() string
- func (dao *CrewOvertimeRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CrewSolveRuleColumns
- type CrewSolveRuleDao
- func (dao *CrewSolveRuleDao) Columns() CrewSolveRuleColumns
- func (dao *CrewSolveRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *CrewSolveRuleDao) DB() gdb.DB
- func (dao *CrewSolveRuleDao) Group() string
- func (dao *CrewSolveRuleDao) Table() string
- func (dao *CrewSolveRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type DepartmentColumns
- type DepartmentDao
- func (dao *DepartmentDao) Columns() DepartmentColumns
- func (dao *DepartmentDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *DepartmentDao) DB() gdb.DB
- func (dao *DepartmentDao) Group() string
- func (dao *DepartmentDao) Table() string
- func (dao *DepartmentDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type EmployeeColumns
- type EmployeeDao
- func (dao *EmployeeDao) Columns() EmployeeColumns
- func (dao *EmployeeDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *EmployeeDao) DB() gdb.DB
- func (dao *EmployeeDao) Group() string
- func (dao *EmployeeDao) Table() string
- func (dao *EmployeeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type EmployeeJobColumns
- type EmployeeJobDao
- func (dao *EmployeeJobDao) Columns() EmployeeJobColumns
- func (dao *EmployeeJobDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *EmployeeJobDao) DB() gdb.DB
- func (dao *EmployeeJobDao) Group() string
- func (dao *EmployeeJobDao) Table() string
- func (dao *EmployeeJobDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type JobColumns
- type JobDao
- func (dao *JobDao) Columns() JobColumns
- func (dao *JobDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *JobDao) DB() gdb.DB
- func (dao *JobDao) Group() string
- func (dao *JobDao) Table() string
- func (dao *JobDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type JobLevelColumns
- type JobLevelDao
- func (dao *JobLevelDao) Columns() JobLevelColumns
- func (dao *JobLevelDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *JobLevelDao) DB() gdb.DB
- func (dao *JobLevelDao) Group() string
- func (dao *JobLevelDao) Table() string
- func (dao *JobLevelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmDutyIndexColumns
- type PmDutyIndexDao
- func (dao *PmDutyIndexDao) Columns() PmDutyIndexColumns
- func (dao *PmDutyIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmDutyIndexDao) DB() gdb.DB
- func (dao *PmDutyIndexDao) Group() string
- func (dao *PmDutyIndexDao) Table() string
- func (dao *PmDutyIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmHoursIndexColumns
- type PmHoursIndexDao
- func (dao *PmHoursIndexDao) Columns() PmHoursIndexColumns
- func (dao *PmHoursIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmHoursIndexDao) DB() gdb.DB
- func (dao *PmHoursIndexDao) Group() string
- func (dao *PmHoursIndexDao) Table() string
- func (dao *PmHoursIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmKpiRuleColumns
- type PmKpiRuleDao
- func (dao *PmKpiRuleDao) Columns() PmKpiRuleColumns
- func (dao *PmKpiRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmKpiRuleDao) DB() gdb.DB
- func (dao *PmKpiRuleDao) Group() string
- func (dao *PmKpiRuleDao) Table() string
- func (dao *PmKpiRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmManageIndexColumns
- type PmManageIndexDao
- func (dao *PmManageIndexDao) Columns() PmManageIndexColumns
- func (dao *PmManageIndexDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmManageIndexDao) DB() gdb.DB
- func (dao *PmManageIndexDao) Group() string
- func (dao *PmManageIndexDao) Table() string
- func (dao *PmManageIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmOvertimeRuleColumns
- type PmOvertimeRuleDao
- func (dao *PmOvertimeRuleDao) Columns() PmOvertimeRuleColumns
- func (dao *PmOvertimeRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmOvertimeRuleDao) DB() gdb.DB
- func (dao *PmOvertimeRuleDao) Group() string
- func (dao *PmOvertimeRuleDao) Table() string
- func (dao *PmOvertimeRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type PmSolveRuleColumns
- type PmSolveRuleDao
- func (dao *PmSolveRuleDao) Columns() PmSolveRuleColumns
- func (dao *PmSolveRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *PmSolveRuleDao) DB() gdb.DB
- func (dao *PmSolveRuleDao) Group() string
- func (dao *PmSolveRuleDao) Table() string
- func (dao *PmSolveRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductBudgetAccessColumns
- type ProductBudgetAccessDao
- func (dao *ProductBudgetAccessDao) Columns() ProductBudgetAccessColumns
- func (dao *ProductBudgetAccessDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductBudgetAccessDao) DB() gdb.DB
- func (dao *ProductBudgetAccessDao) Group() string
- func (dao *ProductBudgetAccessDao) Table() string
- func (dao *ProductBudgetAccessDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductColumns
- type ProductDao
- func (dao *ProductDao) Columns() ProductColumns
- func (dao *ProductDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductDao) DB() gdb.DB
- func (dao *ProductDao) Group() string
- func (dao *ProductDao) Table() string
- func (dao *ProductDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductLevelAssessColumns
- type ProductLevelAssessDao
- func (dao *ProductLevelAssessDao) Columns() ProductLevelAssessColumns
- func (dao *ProductLevelAssessDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductLevelAssessDao) DB() gdb.DB
- func (dao *ProductLevelAssessDao) Group() string
- func (dao *ProductLevelAssessDao) Table() string
- func (dao *ProductLevelAssessDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductLevelConfirmColumns
- type ProductLevelConfirmDao
- func (dao *ProductLevelConfirmDao) Columns() ProductLevelConfirmColumns
- func (dao *ProductLevelConfirmDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductLevelConfirmDao) DB() gdb.DB
- func (dao *ProductLevelConfirmDao) Group() string
- func (dao *ProductLevelConfirmDao) Table() string
- func (dao *ProductLevelConfirmDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductMemberColumns
- type ProductMemberDao
- func (dao *ProductMemberDao) Columns() ProductMemberColumns
- func (dao *ProductMemberDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductMemberDao) DB() gdb.DB
- func (dao *ProductMemberDao) Group() string
- func (dao *ProductMemberDao) Table() string
- func (dao *ProductMemberDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductMemberKeyColumns
- type ProductMemberKeyDao
- func (dao *ProductMemberKeyDao) Columns() ProductMemberKeyColumns
- func (dao *ProductMemberKeyDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductMemberKeyDao) DB() gdb.DB
- func (dao *ProductMemberKeyDao) Group() string
- func (dao *ProductMemberKeyDao) Table() string
- func (dao *ProductMemberKeyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductMemberKpiColumns
- type ProductMemberKpiDao
- func (dao *ProductMemberKpiDao) Columns() ProductMemberKpiColumns
- func (dao *ProductMemberKpiDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductMemberKpiDao) DB() gdb.DB
- func (dao *ProductMemberKpiDao) Group() string
- func (dao *ProductMemberKpiDao) Table() string
- func (dao *ProductMemberKpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductMemberPrizeColumns
- type ProductMemberPrizeDao
- func (dao *ProductMemberPrizeDao) Columns() ProductMemberPrizeColumns
- func (dao *ProductMemberPrizeDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductMemberPrizeDao) DB() gdb.DB
- func (dao *ProductMemberPrizeDao) Group() string
- func (dao *ProductMemberPrizeDao) Table() string
- func (dao *ProductMemberPrizeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductModeColumns
- type ProductModeDao
- func (dao *ProductModeDao) Columns() ProductModeColumns
- func (dao *ProductModeDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductModeDao) DB() gdb.DB
- func (dao *ProductModeDao) Group() string
- func (dao *ProductModeDao) Table() string
- func (dao *ProductModeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductModeStageColumns
- type ProductModeStageDao
- func (dao *ProductModeStageDao) Columns() ProductModeStageColumns
- func (dao *ProductModeStageDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductModeStageDao) DB() gdb.DB
- func (dao *ProductModeStageDao) Group() string
- func (dao *ProductModeStageDao) Table() string
- func (dao *ProductModeStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductRolesColumns
- type ProductRolesDao
- func (dao *ProductRolesDao) Columns() ProductRolesColumns
- func (dao *ProductRolesDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductRolesDao) DB() gdb.DB
- func (dao *ProductRolesDao) Group() string
- func (dao *ProductRolesDao) Table() string
- func (dao *ProductRolesDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductStageKpiColumns
- type ProductStageKpiDao
- func (dao *ProductStageKpiDao) Columns() ProductStageKpiColumns
- func (dao *ProductStageKpiDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductStageKpiDao) DB() gdb.DB
- func (dao *ProductStageKpiDao) Group() string
- func (dao *ProductStageKpiDao) Table() string
- func (dao *ProductStageKpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductStageRadioColumns
- type ProductStageRadioDao
- func (dao *ProductStageRadioDao) Columns() ProductStageRadioColumns
- func (dao *ProductStageRadioDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductStageRadioDao) DB() gdb.DB
- func (dao *ProductStageRadioDao) Group() string
- func (dao *ProductStageRadioDao) Table() string
- func (dao *ProductStageRadioDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductStageRuleColumns
- type ProductStageRuleDao
- func (dao *ProductStageRuleDao) Columns() ProductStageRuleColumns
- func (dao *ProductStageRuleDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductStageRuleDao) DB() gdb.DB
- func (dao *ProductStageRuleDao) Group() string
- func (dao *ProductStageRuleDao) Table() string
- func (dao *ProductStageRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTaskColumns
- type ProductTaskDao
- func (dao *ProductTaskDao) Columns() ProductTaskColumns
- func (dao *ProductTaskDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTaskDao) DB() gdb.DB
- func (dao *ProductTaskDao) Group() string
- func (dao *ProductTaskDao) Table() string
- func (dao *ProductTaskDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTaskDevelopColumns
- type ProductTaskDevelopDao
- func (dao *ProductTaskDevelopDao) Columns() ProductTaskDevelopColumns
- func (dao *ProductTaskDevelopDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTaskDevelopDao) DB() gdb.DB
- func (dao *ProductTaskDevelopDao) Group() string
- func (dao *ProductTaskDevelopDao) Table() string
- func (dao *ProductTaskDevelopDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTaskNpiColumns
- type ProductTaskNpiDao
- func (dao *ProductTaskNpiDao) Columns() ProductTaskNpiColumns
- func (dao *ProductTaskNpiDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTaskNpiDao) DB() gdb.DB
- func (dao *ProductTaskNpiDao) Group() string
- func (dao *ProductTaskNpiDao) Table() string
- func (dao *ProductTaskNpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTaskProduceColumns
- type ProductTaskProduceDao
- func (dao *ProductTaskProduceDao) Columns() ProductTaskProduceColumns
- func (dao *ProductTaskProduceDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTaskProduceDao) DB() gdb.DB
- func (dao *ProductTaskProduceDao) Group() string
- func (dao *ProductTaskProduceDao) Table() string
- func (dao *ProductTaskProduceDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTaskQualityColumns
- type ProductTaskQualityDao
- func (dao *ProductTaskQualityDao) Columns() ProductTaskQualityColumns
- func (dao *ProductTaskQualityDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTaskQualityDao) DB() gdb.DB
- func (dao *ProductTaskQualityDao) Group() string
- func (dao *ProductTaskQualityDao) Table() string
- func (dao *ProductTaskQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type ProductTypeColumns
- type ProductTypeDao
- func (dao *ProductTypeDao) Columns() ProductTypeColumns
- func (dao *ProductTypeDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *ProductTypeDao) DB() gdb.DB
- func (dao *ProductTypeDao) Group() string
- func (dao *ProductTypeDao) Table() string
- func (dao *ProductTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type UserColumns
- type UserDao
- func (dao *UserDao) Columns() UserColumns
- func (dao *UserDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *UserDao) DB() gdb.DB
- func (dao *UserDao) Group() string
- func (dao *UserDao) Table() string
- func (dao *UserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type UserLogColumns
- type UserLogDao
- func (dao *UserLogDao) Columns() UserLogColumns
- func (dao *UserLogDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *UserLogDao) DB() gdb.DB
- func (dao *UserLogDao) Group() string
- func (dao *UserLogDao) Table() string
- func (dao *UserLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigColumns ¶
type ConfigColumns struct { Id string // KeyName string // 配置名称 KeyValue string // 对应key_name的设置值 Remark string // 预留补充说明信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
ConfigColumns defines and stores column names for table cqgf_config.
type ConfigDao ¶
type ConfigDao struct {
// contains filtered or unexported fields
}
ConfigDao is the data access object for table cqgf_config.
func NewConfigDao ¶
func NewConfigDao() *ConfigDao
NewConfigDao creates and returns a new DAO object for table data access.
func (*ConfigDao) Columns ¶
func (dao *ConfigDao) Columns() ConfigColumns
Columns returns all column names of current dao.
func (*ConfigDao) Ctx ¶
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ConfigDao) DB ¶
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ConfigDao) Transaction ¶
func (dao *ConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewDutyIndexColumns ¶
type CrewDutyIndexColumns struct { Id string // ScoreIndex string // 职责指数 JobLevelId string // 职级ID Arith string // 运算方式 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewDutyIndexColumns defines and stores column names for table cqgf_crew_duty_index.
type CrewDutyIndexDao ¶
type CrewDutyIndexDao struct {
// contains filtered or unexported fields
}
CrewDutyIndexDao is the data access object for table cqgf_crew_duty_index.
func NewCrewDutyIndexDao ¶
func NewCrewDutyIndexDao() *CrewDutyIndexDao
NewCrewDutyIndexDao creates and returns a new DAO object for table data access.
func (*CrewDutyIndexDao) Columns ¶
func (dao *CrewDutyIndexDao) Columns() CrewDutyIndexColumns
Columns returns all column names of current dao.
func (*CrewDutyIndexDao) Ctx ¶
func (dao *CrewDutyIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewDutyIndexDao) DB ¶
func (dao *CrewDutyIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewDutyIndexDao) Group ¶
func (dao *CrewDutyIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewDutyIndexDao) Table ¶
func (dao *CrewDutyIndexDao) Table() string
Table returns the table name of current dao.
func (*CrewDutyIndexDao) Transaction ¶
func (dao *CrewDutyIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewHoursIndexColumns ¶
type CrewHoursIndexColumns struct { Id string // ScoreIndex string // 工时指数 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewHoursIndexColumns defines and stores column names for table cqgf_crew_hours_index.
type CrewHoursIndexDao ¶
type CrewHoursIndexDao struct {
// contains filtered or unexported fields
}
CrewHoursIndexDao is the data access object for table cqgf_crew_hours_index.
func NewCrewHoursIndexDao ¶
func NewCrewHoursIndexDao() *CrewHoursIndexDao
NewCrewHoursIndexDao creates and returns a new DAO object for table data access.
func (*CrewHoursIndexDao) Columns ¶
func (dao *CrewHoursIndexDao) Columns() CrewHoursIndexColumns
Columns returns all column names of current dao.
func (*CrewHoursIndexDao) Ctx ¶
func (dao *CrewHoursIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewHoursIndexDao) DB ¶
func (dao *CrewHoursIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewHoursIndexDao) Group ¶
func (dao *CrewHoursIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewHoursIndexDao) Table ¶
func (dao *CrewHoursIndexDao) Table() string
Table returns the table name of current dao.
func (*CrewHoursIndexDao) Transaction ¶
func (dao *CrewHoursIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewKpiRuleColumns ¶
type CrewKpiRuleColumns struct { Id string // Redio string // 比例 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) LevelName string // 等级名称 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewKpiRuleColumns defines and stores column names for table cqgf_crew_kpi_rule.
type CrewKpiRuleDao ¶
type CrewKpiRuleDao struct {
// contains filtered or unexported fields
}
CrewKpiRuleDao is the data access object for table cqgf_crew_kpi_rule.
func NewCrewKpiRuleDao ¶
func NewCrewKpiRuleDao() *CrewKpiRuleDao
NewCrewKpiRuleDao creates and returns a new DAO object for table data access.
func (*CrewKpiRuleDao) Columns ¶
func (dao *CrewKpiRuleDao) Columns() CrewKpiRuleColumns
Columns returns all column names of current dao.
func (*CrewKpiRuleDao) Ctx ¶
func (dao *CrewKpiRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewKpiRuleDao) DB ¶
func (dao *CrewKpiRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewKpiRuleDao) Group ¶
func (dao *CrewKpiRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewKpiRuleDao) Table ¶
func (dao *CrewKpiRuleDao) Table() string
Table returns the table name of current dao.
func (*CrewKpiRuleDao) Transaction ¶
func (dao *CrewKpiRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewManageIndexColumns ¶
type CrewManageIndexColumns struct { Id string // ScoreIndex string // 管理指数 ProductRoleId string // 项目角色ID Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewManageIndexColumns defines and stores column names for table cqgf_crew_manage_index.
type CrewManageIndexDao ¶
type CrewManageIndexDao struct {
// contains filtered or unexported fields
}
CrewManageIndexDao is the data access object for table cqgf_crew_manage_index.
func NewCrewManageIndexDao ¶
func NewCrewManageIndexDao() *CrewManageIndexDao
NewCrewManageIndexDao creates and returns a new DAO object for table data access.
func (*CrewManageIndexDao) Columns ¶
func (dao *CrewManageIndexDao) Columns() CrewManageIndexColumns
Columns returns all column names of current dao.
func (*CrewManageIndexDao) Ctx ¶
func (dao *CrewManageIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewManageIndexDao) DB ¶
func (dao *CrewManageIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewManageIndexDao) Group ¶
func (dao *CrewManageIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewManageIndexDao) Table ¶
func (dao *CrewManageIndexDao) Table() string
Table returns the table name of current dao.
func (*CrewManageIndexDao) Transaction ¶
func (dao *CrewManageIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewOvertimeRuleColumns ¶
type CrewOvertimeRuleColumns struct { Id string // Redio string // 浮动比例 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewOvertimeRuleColumns defines and stores column names for table cqgf_crew_overtime_rule.
type CrewOvertimeRuleDao ¶
type CrewOvertimeRuleDao struct {
// contains filtered or unexported fields
}
CrewOvertimeRuleDao is the data access object for table cqgf_crew_overtime_rule.
func NewCrewOvertimeRuleDao ¶
func NewCrewOvertimeRuleDao() *CrewOvertimeRuleDao
NewCrewOvertimeRuleDao creates and returns a new DAO object for table data access.
func (*CrewOvertimeRuleDao) Columns ¶
func (dao *CrewOvertimeRuleDao) Columns() CrewOvertimeRuleColumns
Columns returns all column names of current dao.
func (*CrewOvertimeRuleDao) Ctx ¶
func (dao *CrewOvertimeRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewOvertimeRuleDao) DB ¶
func (dao *CrewOvertimeRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewOvertimeRuleDao) Group ¶
func (dao *CrewOvertimeRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewOvertimeRuleDao) Table ¶
func (dao *CrewOvertimeRuleDao) Table() string
Table returns the table name of current dao.
func (*CrewOvertimeRuleDao) Transaction ¶
func (dao *CrewOvertimeRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CrewSolveRuleColumns ¶
type CrewSolveRuleColumns struct { Id string // Redio string // 浮动比例 Demand string // 贡献标准(1:有突出贡献,2:有重要贡献,3:较低/无贡献) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
CrewSolveRuleColumns defines and stores column names for table cqgf_crew_solve_rule.
type CrewSolveRuleDao ¶
type CrewSolveRuleDao struct {
// contains filtered or unexported fields
}
CrewSolveRuleDao is the data access object for table cqgf_crew_solve_rule.
func NewCrewSolveRuleDao ¶
func NewCrewSolveRuleDao() *CrewSolveRuleDao
NewCrewSolveRuleDao creates and returns a new DAO object for table data access.
func (*CrewSolveRuleDao) Columns ¶
func (dao *CrewSolveRuleDao) Columns() CrewSolveRuleColumns
Columns returns all column names of current dao.
func (*CrewSolveRuleDao) Ctx ¶
func (dao *CrewSolveRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CrewSolveRuleDao) DB ¶
func (dao *CrewSolveRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CrewSolveRuleDao) Group ¶
func (dao *CrewSolveRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CrewSolveRuleDao) Table ¶
func (dao *CrewSolveRuleDao) Table() string
Table returns the table name of current dao.
func (*CrewSolveRuleDao) Transaction ¶
func (dao *CrewSolveRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type DepartmentColumns ¶
type DepartmentColumns struct { Id string // Name string // 部门名称 NameEn string // 部门英文名称 Pid string // 上级部门 DepartmentLeader string // 部门负责人的UserID Level string // 部门层级 Remark string // 预留备注信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
DepartmentColumns defines and stores column names for table cqgf_department.
type DepartmentDao ¶
type DepartmentDao struct {
// contains filtered or unexported fields
}
DepartmentDao is the data access object for table cqgf_department.
func NewDepartmentDao ¶
func NewDepartmentDao() *DepartmentDao
NewDepartmentDao creates and returns a new DAO object for table data access.
func (*DepartmentDao) Columns ¶
func (dao *DepartmentDao) Columns() DepartmentColumns
Columns returns all column names of current dao.
func (*DepartmentDao) Ctx ¶
func (dao *DepartmentDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*DepartmentDao) DB ¶
func (dao *DepartmentDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*DepartmentDao) Group ¶
func (dao *DepartmentDao) Group() string
Group returns the configuration group name of database of current dao.
func (*DepartmentDao) Table ¶
func (dao *DepartmentDao) Table() string
Table returns the table name of current dao.
func (*DepartmentDao) Transaction ¶
func (dao *DepartmentDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type EmployeeColumns ¶
type EmployeeColumns struct { Id string // UserName string // 员工姓名 WorkNumber string // 员工工号 Sex string // 性别(0:未知 1:男 2:女) Phone string // 手机号码 Email string // 邮箱号码 DepartId string // 所属部门 JobLevel string // 职级 JobId string // 岗位信息 DirectLeader string // 直接上级 IsLeaderInDept string // 表示在所在的部门内是否为部门负责人。2-否;1-是 InstructorId string // 指导老师 Status string // 在职状态(1:在职 2:试用期 3:实习期 4:已离职) Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
EmployeeColumns defines and stores column names for table cqgf_employee.
type EmployeeDao ¶
type EmployeeDao struct {
// contains filtered or unexported fields
}
EmployeeDao is the data access object for table cqgf_employee.
func NewEmployeeDao ¶
func NewEmployeeDao() *EmployeeDao
NewEmployeeDao creates and returns a new DAO object for table data access.
func (*EmployeeDao) Columns ¶
func (dao *EmployeeDao) Columns() EmployeeColumns
Columns returns all column names of current dao.
func (*EmployeeDao) Ctx ¶
func (dao *EmployeeDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*EmployeeDao) DB ¶
func (dao *EmployeeDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*EmployeeDao) Group ¶
func (dao *EmployeeDao) Group() string
Group returns the configuration group name of database of current dao.
func (*EmployeeDao) Table ¶
func (dao *EmployeeDao) Table() string
Table returns the table name of current dao.
func (*EmployeeDao) Transaction ¶
func (dao *EmployeeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type EmployeeJobColumns ¶
type EmployeeJobColumns struct { Id string // EmployeeId string // 员工信息 JobId string // 岗位信息 DepartId string // 所属部门 Remark string // 预留备注信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
EmployeeJobColumns defines and stores column names for table cqgf_employee_job.
type EmployeeJobDao ¶
type EmployeeJobDao struct {
// contains filtered or unexported fields
}
EmployeeJobDao is the data access object for table cqgf_employee_job.
func NewEmployeeJobDao ¶
func NewEmployeeJobDao() *EmployeeJobDao
NewEmployeeJobDao creates and returns a new DAO object for table data access.
func (*EmployeeJobDao) Columns ¶
func (dao *EmployeeJobDao) Columns() EmployeeJobColumns
Columns returns all column names of current dao.
func (*EmployeeJobDao) Ctx ¶
func (dao *EmployeeJobDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*EmployeeJobDao) DB ¶
func (dao *EmployeeJobDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*EmployeeJobDao) Group ¶
func (dao *EmployeeJobDao) Group() string
Group returns the configuration group name of database of current dao.
func (*EmployeeJobDao) Table ¶
func (dao *EmployeeJobDao) Table() string
Table returns the table name of current dao.
func (*EmployeeJobDao) Transaction ¶
func (dao *EmployeeJobDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type JobColumns ¶
type JobColumns struct { Id string // Name string // 岗位名称 DepartId string // 所属部门 Remark string // 预留备注信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
JobColumns defines and stores column names for table cqgf_job.
type JobDao ¶
type JobDao struct {
// contains filtered or unexported fields
}
JobDao is the data access object for table cqgf_job.
func NewJobDao ¶
func NewJobDao() *JobDao
NewJobDao creates and returns a new DAO object for table data access.
func (*JobDao) Columns ¶
func (dao *JobDao) Columns() JobColumns
Columns returns all column names of current dao.
func (*JobDao) Ctx ¶
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*JobDao) DB ¶
DB retrieves and returns the underlying raw database management object of current DAO.
func (*JobDao) Transaction ¶
func (dao *JobDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type JobLevelColumns ¶
type JobLevelColumns struct { Id string // Name string // 职级名称 Remark string // 预留备注信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
JobLevelColumns defines and stores column names for table cqgf_job_level.
type JobLevelDao ¶
type JobLevelDao struct {
// contains filtered or unexported fields
}
JobLevelDao is the data access object for table cqgf_job_level.
func NewJobLevelDao ¶
func NewJobLevelDao() *JobLevelDao
NewJobLevelDao creates and returns a new DAO object for table data access.
func (*JobLevelDao) Columns ¶
func (dao *JobLevelDao) Columns() JobLevelColumns
Columns returns all column names of current dao.
func (*JobLevelDao) Ctx ¶
func (dao *JobLevelDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*JobLevelDao) DB ¶
func (dao *JobLevelDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*JobLevelDao) Group ¶
func (dao *JobLevelDao) Group() string
Group returns the configuration group name of database of current dao.
func (*JobLevelDao) Table ¶
func (dao *JobLevelDao) Table() string
Table returns the table name of current dao.
func (*JobLevelDao) Transaction ¶
func (dao *JobLevelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmDutyIndexColumns ¶
type PmDutyIndexColumns struct { Id string // ScoreIndex string // 职责指数 JobLevelId string // 职级ID Arith string // 运算方式 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmDutyIndexColumns defines and stores column names for table cqgf_pm_duty_index.
type PmDutyIndexDao ¶
type PmDutyIndexDao struct {
// contains filtered or unexported fields
}
PmDutyIndexDao is the data access object for table cqgf_pm_duty_index.
func NewPmDutyIndexDao ¶
func NewPmDutyIndexDao() *PmDutyIndexDao
NewPmDutyIndexDao creates and returns a new DAO object for table data access.
func (*PmDutyIndexDao) Columns ¶
func (dao *PmDutyIndexDao) Columns() PmDutyIndexColumns
Columns returns all column names of current dao.
func (*PmDutyIndexDao) Ctx ¶
func (dao *PmDutyIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmDutyIndexDao) DB ¶
func (dao *PmDutyIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmDutyIndexDao) Group ¶
func (dao *PmDutyIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmDutyIndexDao) Table ¶
func (dao *PmDutyIndexDao) Table() string
Table returns the table name of current dao.
func (*PmDutyIndexDao) Transaction ¶
func (dao *PmDutyIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmHoursIndexColumns ¶
type PmHoursIndexColumns struct { Id string // ScoreIndex string // 工时指数 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmHoursIndexColumns defines and stores column names for table cqgf_pm_hours_index.
type PmHoursIndexDao ¶
type PmHoursIndexDao struct {
// contains filtered or unexported fields
}
PmHoursIndexDao is the data access object for table cqgf_pm_hours_index.
func NewPmHoursIndexDao ¶
func NewPmHoursIndexDao() *PmHoursIndexDao
NewPmHoursIndexDao creates and returns a new DAO object for table data access.
func (*PmHoursIndexDao) Columns ¶
func (dao *PmHoursIndexDao) Columns() PmHoursIndexColumns
Columns returns all column names of current dao.
func (*PmHoursIndexDao) Ctx ¶
func (dao *PmHoursIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmHoursIndexDao) DB ¶
func (dao *PmHoursIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmHoursIndexDao) Group ¶
func (dao *PmHoursIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmHoursIndexDao) Table ¶
func (dao *PmHoursIndexDao) Table() string
Table returns the table name of current dao.
func (*PmHoursIndexDao) Transaction ¶
func (dao *PmHoursIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmKpiRuleColumns ¶
type PmKpiRuleColumns struct { Id string // Redio string // 比例 LevelName string // 等级名称 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmKpiRuleColumns defines and stores column names for table cqgf_pm_kpi_rule.
type PmKpiRuleDao ¶
type PmKpiRuleDao struct {
// contains filtered or unexported fields
}
PmKpiRuleDao is the data access object for table cqgf_pm_kpi_rule.
func NewPmKpiRuleDao ¶
func NewPmKpiRuleDao() *PmKpiRuleDao
NewPmKpiRuleDao creates and returns a new DAO object for table data access.
func (*PmKpiRuleDao) Columns ¶
func (dao *PmKpiRuleDao) Columns() PmKpiRuleColumns
Columns returns all column names of current dao.
func (*PmKpiRuleDao) Ctx ¶
func (dao *PmKpiRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmKpiRuleDao) DB ¶
func (dao *PmKpiRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmKpiRuleDao) Group ¶
func (dao *PmKpiRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmKpiRuleDao) Table ¶
func (dao *PmKpiRuleDao) Table() string
Table returns the table name of current dao.
func (*PmKpiRuleDao) Transaction ¶
func (dao *PmKpiRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmManageIndexColumns ¶
type PmManageIndexColumns struct { Id string // ScoreIndex string // 管理指数 ProductRoleId string // 项目角色ID Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmManageIndexColumns defines and stores column names for table cqgf_pm_manage_index.
type PmManageIndexDao ¶
type PmManageIndexDao struct {
// contains filtered or unexported fields
}
PmManageIndexDao is the data access object for table cqgf_pm_manage_index.
func NewPmManageIndexDao ¶
func NewPmManageIndexDao() *PmManageIndexDao
NewPmManageIndexDao creates and returns a new DAO object for table data access.
func (*PmManageIndexDao) Columns ¶
func (dao *PmManageIndexDao) Columns() PmManageIndexColumns
Columns returns all column names of current dao.
func (*PmManageIndexDao) Ctx ¶
func (dao *PmManageIndexDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmManageIndexDao) DB ¶
func (dao *PmManageIndexDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmManageIndexDao) Group ¶
func (dao *PmManageIndexDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmManageIndexDao) Table ¶
func (dao *PmManageIndexDao) Table() string
Table returns the table name of current dao.
func (*PmManageIndexDao) Transaction ¶
func (dao *PmManageIndexDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmOvertimeRuleColumns ¶
type PmOvertimeRuleColumns struct { Id string // Redio string // 浮动比例 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmOvertimeRuleColumns defines and stores column names for table cqgf_pm_overtime_rule.
type PmOvertimeRuleDao ¶
type PmOvertimeRuleDao struct {
// contains filtered or unexported fields
}
PmOvertimeRuleDao is the data access object for table cqgf_pm_overtime_rule.
func NewPmOvertimeRuleDao ¶
func NewPmOvertimeRuleDao() *PmOvertimeRuleDao
NewPmOvertimeRuleDao creates and returns a new DAO object for table data access.
func (*PmOvertimeRuleDao) Columns ¶
func (dao *PmOvertimeRuleDao) Columns() PmOvertimeRuleColumns
Columns returns all column names of current dao.
func (*PmOvertimeRuleDao) Ctx ¶
func (dao *PmOvertimeRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmOvertimeRuleDao) DB ¶
func (dao *PmOvertimeRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmOvertimeRuleDao) Group ¶
func (dao *PmOvertimeRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmOvertimeRuleDao) Table ¶
func (dao *PmOvertimeRuleDao) Table() string
Table returns the table name of current dao.
func (*PmOvertimeRuleDao) Transaction ¶
func (dao *PmOvertimeRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type PmSolveRuleColumns ¶
type PmSolveRuleColumns struct { Id string // Redio string // 浮动比例 Demand string // 贡献标准(1:有突出贡献,2:有重要贡献,3:较低/无贡献) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
PmSolveRuleColumns defines and stores column names for table cqgf_pm_solve_rule.
type PmSolveRuleDao ¶
type PmSolveRuleDao struct {
// contains filtered or unexported fields
}
PmSolveRuleDao is the data access object for table cqgf_pm_solve_rule.
func NewPmSolveRuleDao ¶
func NewPmSolveRuleDao() *PmSolveRuleDao
NewPmSolveRuleDao creates and returns a new DAO object for table data access.
func (*PmSolveRuleDao) Columns ¶
func (dao *PmSolveRuleDao) Columns() PmSolveRuleColumns
Columns returns all column names of current dao.
func (*PmSolveRuleDao) Ctx ¶
func (dao *PmSolveRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*PmSolveRuleDao) DB ¶
func (dao *PmSolveRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*PmSolveRuleDao) Group ¶
func (dao *PmSolveRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*PmSolveRuleDao) Table ¶
func (dao *PmSolveRuleDao) Table() string
Table returns the table name of current dao.
func (*PmSolveRuleDao) Transaction ¶
func (dao *PmSolveRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductBudgetAccessColumns ¶
type ProductBudgetAccessColumns struct { Id string // ScoreMin string // 分值下限 ScoreMax string // 分值上限 ScoreRange string // 分数区间包含关系(1:左闭右开,2:左开右闭) BudgetMin string // 预算额度下限 BudgetMax string // 预算额度上线 BudgetRange string // 额度区间包含关系(1:左闭右开,2:左开右闭) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductBudgetAccessColumns defines and stores column names for table cqgf_product_budget_access.
type ProductBudgetAccessDao ¶
type ProductBudgetAccessDao struct {
// contains filtered or unexported fields
}
ProductBudgetAccessDao is the data access object for table cqgf_product_budget_access.
func NewProductBudgetAccessDao ¶
func NewProductBudgetAccessDao() *ProductBudgetAccessDao
NewProductBudgetAccessDao creates and returns a new DAO object for table data access.
func (*ProductBudgetAccessDao) Columns ¶
func (dao *ProductBudgetAccessDao) Columns() ProductBudgetAccessColumns
Columns returns all column names of current dao.
func (*ProductBudgetAccessDao) Ctx ¶
func (dao *ProductBudgetAccessDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductBudgetAccessDao) DB ¶
func (dao *ProductBudgetAccessDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductBudgetAccessDao) Group ¶
func (dao *ProductBudgetAccessDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductBudgetAccessDao) Table ¶
func (dao *ProductBudgetAccessDao) Table() string
Table returns the table name of current dao.
func (*ProductBudgetAccessDao) Transaction ¶
func (dao *ProductBudgetAccessDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductColumns ¶
type ProductColumns struct { Id string // Tid string // 项目类型(type关联表) Name string // 项目名称 ProNumber string // 项目编号 SubName string // 项目简称 LcScore string // 优先级评分 LccId string // 项目优先级ID LccName string // 项目优先级 Invest string // 投资额度 NetProfit string // 首年净利润 ModeId string // 研发模式ID(product_mode) PmId string // PM(员工信息表ID) Attribute string // PM属性(1:全职,2:兼职) PmlId string // 项目责任人ID(员工信息表ID) IncentiveBudget string // 项目激励预算 FixBudget string // FixType string // 修正预算计算类型(1:增加,2减少) Status string // 项目当前状态(1:未开始 2:未立项,3:进行中 4:暂停 5:已取消 6:延迟 7:异常 8:已完成未验收 9:客户已验收 10:结项) ProTypeStageId string // 项目当前所处阶段 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductColumns defines and stores column names for table cqgf_product.
type ProductDao ¶
type ProductDao struct {
// contains filtered or unexported fields
}
ProductDao is the data access object for table cqgf_product.
func NewProductDao ¶
func NewProductDao() *ProductDao
NewProductDao creates and returns a new DAO object for table data access.
func (*ProductDao) Columns ¶
func (dao *ProductDao) Columns() ProductColumns
Columns returns all column names of current dao.
func (*ProductDao) Ctx ¶
func (dao *ProductDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductDao) DB ¶
func (dao *ProductDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductDao) Group ¶
func (dao *ProductDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductDao) Table ¶
func (dao *ProductDao) Table() string
Table returns the table name of current dao.
func (*ProductDao) Transaction ¶
func (dao *ProductDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductLevelAssessColumns ¶
type ProductLevelAssessColumns struct { Id string // EvaluateDimensions string // 评价维度 EvaluateCriteria string // 评价标准 ScoreCriteria string // 评分标准 EvaluateId string // 上级评价维度 Weight string // 权重 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最新更新数据 }
ProductLevelAssessColumns defines and stores column names for table cqgf_product_level_assess.
type ProductLevelAssessDao ¶
type ProductLevelAssessDao struct {
// contains filtered or unexported fields
}
ProductLevelAssessDao is the data access object for table cqgf_product_level_assess.
func NewProductLevelAssessDao ¶
func NewProductLevelAssessDao() *ProductLevelAssessDao
NewProductLevelAssessDao creates and returns a new DAO object for table data access.
func (*ProductLevelAssessDao) Columns ¶
func (dao *ProductLevelAssessDao) Columns() ProductLevelAssessColumns
Columns returns all column names of current dao.
func (*ProductLevelAssessDao) Ctx ¶
func (dao *ProductLevelAssessDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductLevelAssessDao) DB ¶
func (dao *ProductLevelAssessDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductLevelAssessDao) Group ¶
func (dao *ProductLevelAssessDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductLevelAssessDao) Table ¶
func (dao *ProductLevelAssessDao) Table() string
Table returns the table name of current dao.
func (*ProductLevelAssessDao) Transaction ¶
func (dao *ProductLevelAssessDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductLevelConfirmColumns ¶
type ProductLevelConfirmColumns struct { Id string // Name string // 项目优先级 ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) IsNeedPm string // 是否委派PM(1:是 2:否) PmDemand string // pm要求 ProductDemand string // 项目工作相关要求 MonitDemand string // 监控要求 IsNeedPml string // 是否需要项目负责人(1:是 2:否) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最新更新数据 }
ProductLevelConfirmColumns defines and stores column names for table cqgf_product_level_confirm.
type ProductLevelConfirmDao ¶
type ProductLevelConfirmDao struct {
// contains filtered or unexported fields
}
ProductLevelConfirmDao is the data access object for table cqgf_product_level_confirm.
func NewProductLevelConfirmDao ¶
func NewProductLevelConfirmDao() *ProductLevelConfirmDao
NewProductLevelConfirmDao creates and returns a new DAO object for table data access.
func (*ProductLevelConfirmDao) Columns ¶
func (dao *ProductLevelConfirmDao) Columns() ProductLevelConfirmColumns
Columns returns all column names of current dao.
func (*ProductLevelConfirmDao) Ctx ¶
func (dao *ProductLevelConfirmDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductLevelConfirmDao) DB ¶
func (dao *ProductLevelConfirmDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductLevelConfirmDao) Group ¶
func (dao *ProductLevelConfirmDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductLevelConfirmDao) Table ¶
func (dao *ProductLevelConfirmDao) Table() string
Table returns the table name of current dao.
func (*ProductLevelConfirmDao) Transaction ¶
func (dao *ProductLevelConfirmDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductMemberColumns ¶
type ProductMemberColumns struct { Id string // ProId string // 项目ID EmpId string // 项目成员ID IsSpecial string // 1: 需要特殊处理 2:不需要特殊处理 WorkNumber string // 员工工号 Attribute string // 属性(1:全职,2:兼职) PrId string // 项目角色ID PrName string // 项目角色名称 ManageIndex string // 管理指数 JbId string // 职级ID JbName string // 职级名称 DutyIndex string // 责任指数 WorkAddress string // 工作地点 SpecificDuty string // 具体职责和职务 Type string // 项目组内部分类使用 PutInto string // 投入占比 IsGuide string // 是否是主导方(1:是) IsSupport string // 是否是支持方(1:是) Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductMemberColumns defines and stores column names for table cqgf_product_member.
type ProductMemberDao ¶
type ProductMemberDao struct {
// contains filtered or unexported fields
}
ProductMemberDao is the data access object for table cqgf_product_member.
func NewProductMemberDao ¶
func NewProductMemberDao() *ProductMemberDao
NewProductMemberDao creates and returns a new DAO object for table data access.
func (*ProductMemberDao) Columns ¶
func (dao *ProductMemberDao) Columns() ProductMemberColumns
Columns returns all column names of current dao.
func (*ProductMemberDao) Ctx ¶
func (dao *ProductMemberDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductMemberDao) DB ¶
func (dao *ProductMemberDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductMemberDao) Group ¶
func (dao *ProductMemberDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductMemberDao) Table ¶
func (dao *ProductMemberDao) Table() string
Table returns the table name of current dao.
func (*ProductMemberDao) Transaction ¶
func (dao *ProductMemberDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductMemberKeyColumns ¶
type ProductMemberKeyColumns struct { Id string // StageKpiId string // 项目绩效ID ProId string // 项目ID ProEmpId string // 小组成员ID ProStageId string // 项目-阶段ID WorkNumber string // 成员工号 Username string // 成员姓名 KeyName string // 关键事件名称 HappenTime string // 发生时间 Type string // 主体分类(1:加班贡献 2:解决问题贡献 3:其他事件贡献) Property string // 事件性质(1:正向激励 2:有待提高) Result string // 当前关键事件的处理结果 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductMemberKeyColumns defines and stores column names for table cqgf_product_member_key.
type ProductMemberKeyDao ¶
type ProductMemberKeyDao struct {
// contains filtered or unexported fields
}
ProductMemberKeyDao is the data access object for table cqgf_product_member_key.
func NewProductMemberKeyDao ¶
func NewProductMemberKeyDao() *ProductMemberKeyDao
NewProductMemberKeyDao creates and returns a new DAO object for table data access.
func (*ProductMemberKeyDao) Columns ¶
func (dao *ProductMemberKeyDao) Columns() ProductMemberKeyColumns
Columns returns all column names of current dao.
func (*ProductMemberKeyDao) Ctx ¶
func (dao *ProductMemberKeyDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductMemberKeyDao) DB ¶
func (dao *ProductMemberKeyDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductMemberKeyDao) Group ¶
func (dao *ProductMemberKeyDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductMemberKeyDao) Table ¶
func (dao *ProductMemberKeyDao) Table() string
Table returns the table name of current dao.
func (*ProductMemberKeyDao) Transaction ¶
func (dao *ProductMemberKeyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductMemberKpiColumns ¶
type ProductMemberKpiColumns struct { Id string // IsPm string // 是否是PM(1:是 2:否) ProId string // 项目ID ProEmpId string // 小组成员ID ProStageId string // 项目-阶段ID OvertimeRadio string // 工时占比 PrId string // 项目角色ID PrName string // 项目角色名称 JbId string // 职级ID JbName string // 职级名称 FloatRaio string // 浮动贡献 KpiLevelId string // 绩效等级ID(区分是PM还是成员) KpiLevelScore string // 绩效得分 KpiLevel string // 绩效等级 KpiRadio string // 绩效比例 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductMemberKpiColumns defines and stores column names for table cqgf_product_member_kpi.
type ProductMemberKpiDao ¶
type ProductMemberKpiDao struct {
// contains filtered or unexported fields
}
ProductMemberKpiDao is the data access object for table cqgf_product_member_kpi.
func NewProductMemberKpiDao ¶
func NewProductMemberKpiDao() *ProductMemberKpiDao
NewProductMemberKpiDao creates and returns a new DAO object for table data access.
func (*ProductMemberKpiDao) Columns ¶
func (dao *ProductMemberKpiDao) Columns() ProductMemberKpiColumns
Columns returns all column names of current dao.
func (*ProductMemberKpiDao) Ctx ¶
func (dao *ProductMemberKpiDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductMemberKpiDao) DB ¶
func (dao *ProductMemberKpiDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductMemberKpiDao) Group ¶
func (dao *ProductMemberKpiDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductMemberKpiDao) Table ¶
func (dao *ProductMemberKpiDao) Table() string
Table returns the table name of current dao.
func (*ProductMemberKpiDao) Transaction ¶
func (dao *ProductMemberKpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductMemberPrizeColumns ¶
type ProductMemberPrizeColumns struct { Id string // ProId string // 项目ID IsPm string // 是否是PM(1:是 2:否) ProEmpId string // 小组成员ID ProStageId string // 项目-阶段ID OvertimeRadio string // 工时占比 OvertimeIndex string // 工时指数 PrId string // 项目角色ID PrName string // 项目角色名称 ManageIndex string // 管理指数 JbId string // 职级ID JbName string // 职级名称 DutyIndex string // 责任指数 BaseIndex string // 基准指数 WeightAutoRadio string // 权重基准(自动) WeightPmoRadio string // 权重基准(PMO) SentBase string // 发放基数 RemaindQueto string // 剩余额度 FloatRaio string // 浮动贡献 KpiLevelId string // 绩效等级ID(区分是PM还是成员) KpiLevel string // 绩效等级 KpiRadio string // 绩效比例 SentQueto string // 实发额度 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductMemberPrizeColumns defines and stores column names for table cqgf_product_member_prize.
type ProductMemberPrizeDao ¶
type ProductMemberPrizeDao struct {
// contains filtered or unexported fields
}
ProductMemberPrizeDao is the data access object for table cqgf_product_member_prize.
func NewProductMemberPrizeDao ¶
func NewProductMemberPrizeDao() *ProductMemberPrizeDao
NewProductMemberPrizeDao creates and returns a new DAO object for table data access.
func (*ProductMemberPrizeDao) Columns ¶
func (dao *ProductMemberPrizeDao) Columns() ProductMemberPrizeColumns
Columns returns all column names of current dao.
func (*ProductMemberPrizeDao) Ctx ¶
func (dao *ProductMemberPrizeDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductMemberPrizeDao) DB ¶
func (dao *ProductMemberPrizeDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductMemberPrizeDao) Group ¶
func (dao *ProductMemberPrizeDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductMemberPrizeDao) Table ¶
func (dao *ProductMemberPrizeDao) Table() string
Table returns the table name of current dao.
func (*ProductMemberPrizeDao) Transaction ¶
func (dao *ProductMemberPrizeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductModeColumns ¶
type ProductModeColumns struct { Id string // Name string // 开发模型名称 Factor string // 开发系数 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductModeColumns defines and stores column names for table cqgf_product_mode.
type ProductModeDao ¶
type ProductModeDao struct {
// contains filtered or unexported fields
}
ProductModeDao is the data access object for table cqgf_product_mode.
func NewProductModeDao ¶
func NewProductModeDao() *ProductModeDao
NewProductModeDao creates and returns a new DAO object for table data access.
func (*ProductModeDao) Columns ¶
func (dao *ProductModeDao) Columns() ProductModeColumns
Columns returns all column names of current dao.
func (*ProductModeDao) Ctx ¶
func (dao *ProductModeDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductModeDao) DB ¶
func (dao *ProductModeDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductModeDao) Group ¶
func (dao *ProductModeDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductModeDao) Table ¶
func (dao *ProductModeDao) Table() string
Table returns the table name of current dao.
func (*ProductModeDao) Transaction ¶
func (dao *ProductModeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductModeStageColumns ¶
type ProductModeStageColumns struct { Id string // Tid string // 项目开发模式ID Name string // 项目阶段名称 QuotaRadio string // 阶段额度占比 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductModeStageColumns defines and stores column names for table cqgf_product_mode_stage.
type ProductModeStageDao ¶
type ProductModeStageDao struct {
// contains filtered or unexported fields
}
ProductModeStageDao is the data access object for table cqgf_product_mode_stage.
func NewProductModeStageDao ¶
func NewProductModeStageDao() *ProductModeStageDao
NewProductModeStageDao creates and returns a new DAO object for table data access.
func (*ProductModeStageDao) Columns ¶
func (dao *ProductModeStageDao) Columns() ProductModeStageColumns
Columns returns all column names of current dao.
func (*ProductModeStageDao) Ctx ¶
func (dao *ProductModeStageDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductModeStageDao) DB ¶
func (dao *ProductModeStageDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductModeStageDao) Group ¶
func (dao *ProductModeStageDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductModeStageDao) Table ¶
func (dao *ProductModeStageDao) Table() string
Table returns the table name of current dao.
func (*ProductModeStageDao) Transaction ¶
func (dao *ProductModeStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductRolesColumns ¶
type ProductRolesColumns struct { Id string // Name string // Pid string // 上级角色 Explain string // 角色与职责说明 IsSpecial string // 1: 需要特殊处理 2:不需要特殊处理 Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductRolesColumns defines and stores column names for table cqgf_product_roles.
type ProductRolesDao ¶
type ProductRolesDao struct {
// contains filtered or unexported fields
}
ProductRolesDao is the data access object for table cqgf_product_roles.
func NewProductRolesDao ¶
func NewProductRolesDao() *ProductRolesDao
NewProductRolesDao creates and returns a new DAO object for table data access.
func (*ProductRolesDao) Columns ¶
func (dao *ProductRolesDao) Columns() ProductRolesColumns
Columns returns all column names of current dao.
func (*ProductRolesDao) Ctx ¶
func (dao *ProductRolesDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductRolesDao) DB ¶
func (dao *ProductRolesDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductRolesDao) Group ¶
func (dao *ProductRolesDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductRolesDao) Table ¶
func (dao *ProductRolesDao) Table() string
Table returns the table name of current dao.
func (*ProductRolesDao) Transaction ¶
func (dao *ProductRolesDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductStageKpiColumns ¶
type ProductStageKpiColumns struct { Id string // ProId string // 项目主表ID StageId string // 项目所处阶段(cqgf_product_stage_rule.id) StageRadio string // 阶段比例 StageBudget string // 阶段预算 StageScore string // 阶段得分 ShouldSentRadio string // 应发比例 StageQuota string // 阶段额度 CrewQuota string // 团队额度 TeamBuildQuota string // 团建额度 SupportQuota string // 业务支持额度 PmRadio string // PM分配比例 PmBase string // PM发放基础 PmFloatRadio string // PM浮动比例 PmKpiLevelId string // PM绩效等级 PmKpiLevelScore string // PM绩效得分 PmKpiLevelName string // PM绩效等级名称 PmKpiLevelRadio string // PM绩效等级比例 PmIncentiveQuota string // PM实际应发额度 Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductStageKpiColumns defines and stores column names for table cqgf_product_stage_kpi.
type ProductStageKpiDao ¶
type ProductStageKpiDao struct {
// contains filtered or unexported fields
}
ProductStageKpiDao is the data access object for table cqgf_product_stage_kpi.
func NewProductStageKpiDao ¶
func NewProductStageKpiDao() *ProductStageKpiDao
NewProductStageKpiDao creates and returns a new DAO object for table data access.
func (*ProductStageKpiDao) Columns ¶
func (dao *ProductStageKpiDao) Columns() ProductStageKpiColumns
Columns returns all column names of current dao.
func (*ProductStageKpiDao) Ctx ¶
func (dao *ProductStageKpiDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductStageKpiDao) DB ¶
func (dao *ProductStageKpiDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductStageKpiDao) Group ¶
func (dao *ProductStageKpiDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductStageKpiDao) Table ¶
func (dao *ProductStageKpiDao) Table() string
Table returns the table name of current dao.
func (*ProductStageKpiDao) Transaction ¶
func (dao *ProductStageKpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductStageRadioColumns ¶
type ProductStageRadioColumns struct { Id string // Sid string // 阶段ID ScoreMin string // 得分下限 ScoreMax string // 得分上线 ScoreRange string // 得分区间包含关系(1:左闭右开,2:左开右闭) QuotaRadio string // 激励额度占比 Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductStageRadioColumns defines and stores column names for table cqgf_product_stage_radio.
type ProductStageRadioDao ¶
type ProductStageRadioDao struct {
// contains filtered or unexported fields
}
ProductStageRadioDao is the data access object for table cqgf_product_stage_radio.
func NewProductStageRadioDao ¶
func NewProductStageRadioDao() *ProductStageRadioDao
NewProductStageRadioDao creates and returns a new DAO object for table data access.
func (*ProductStageRadioDao) Columns ¶
func (dao *ProductStageRadioDao) Columns() ProductStageRadioColumns
Columns returns all column names of current dao.
func (*ProductStageRadioDao) Ctx ¶
func (dao *ProductStageRadioDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductStageRadioDao) DB ¶
func (dao *ProductStageRadioDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductStageRadioDao) Group ¶
func (dao *ProductStageRadioDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductStageRadioDao) Table ¶
func (dao *ProductStageRadioDao) Table() string
Table returns the table name of current dao.
func (*ProductStageRadioDao) Transaction ¶
func (dao *ProductStageRadioDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductStageRuleColumns ¶
type ProductStageRuleColumns struct { Id string // Name string // 阶段名称 ProId string // 项目ID ProStageId string // 项目-阶段ID QuotaRadio string // 阶段额度占比 Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductStageRuleColumns defines and stores column names for table cqgf_product_stage_rule.
type ProductStageRuleDao ¶
type ProductStageRuleDao struct {
// contains filtered or unexported fields
}
ProductStageRuleDao is the data access object for table cqgf_product_stage_rule.
func NewProductStageRuleDao ¶
func NewProductStageRuleDao() *ProductStageRuleDao
NewProductStageRuleDao creates and returns a new DAO object for table data access.
func (*ProductStageRuleDao) Columns ¶
func (dao *ProductStageRuleDao) Columns() ProductStageRuleColumns
Columns returns all column names of current dao.
func (*ProductStageRuleDao) Ctx ¶
func (dao *ProductStageRuleDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductStageRuleDao) DB ¶
func (dao *ProductStageRuleDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductStageRuleDao) Group ¶
func (dao *ProductStageRuleDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductStageRuleDao) Table ¶
func (dao *ProductStageRuleDao) Table() string
Table returns the table name of current dao.
func (*ProductStageRuleDao) Transaction ¶
func (dao *ProductStageRuleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTaskColumns ¶
type ProductTaskColumns struct { Id string // ProductId string // 项目唯一标志 TaskName string // 任务名称 TaskCate string // 任务分类 TaskDesc string // 任务描述 TaskStatus string // 任务状态(1:未开启,2:运行中,3:已完成 4:暂停) Level string // 优先级(值越大,优先级越高) IsSendGroupChat string // 1: 发送至群 2:不发送至群 GroupChat string // 发送至群信息 RemindGroupChatUser string // 发送到群时,提醒相关关注人 DutyEmployeeId string // 责任人员工信息 DutyWorkNumber string // 责任人员工工号 JoinWorkNumber string // 关联责任人 PalnStartTime string // 计划开始时间 PalnEndTime string // 计划结束时间 RealStartTime string // 实际开始时间 RealEndTime string // 实际结束时间 UpgradeFirst string // 第一次升级@工号 UpgradeFirstTime string // 第一次升级时间 UpgradeTwo string // 第二次升级@工号 UpgradeTwoTime string // 第三次升级@工号 UpgradeThree string // 第三次升级@工号 UpgradeThreeTime string // 第三次升级时间 AssignEmployeeId string // 指派人员工信息 AssignWorkNumber string // 指派人员工工号 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTaskColumns defines and stores column names for table cqgf_product_task.
type ProductTaskDao ¶
type ProductTaskDao struct {
// contains filtered or unexported fields
}
ProductTaskDao is the data access object for table cqgf_product_task.
func NewProductTaskDao ¶
func NewProductTaskDao() *ProductTaskDao
NewProductTaskDao creates and returns a new DAO object for table data access.
func (*ProductTaskDao) Columns ¶
func (dao *ProductTaskDao) Columns() ProductTaskColumns
Columns returns all column names of current dao.
func (*ProductTaskDao) Ctx ¶
func (dao *ProductTaskDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTaskDao) DB ¶
func (dao *ProductTaskDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTaskDao) Group ¶
func (dao *ProductTaskDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTaskDao) Table ¶
func (dao *ProductTaskDao) Table() string
Table returns the table name of current dao.
func (*ProductTaskDao) Transaction ¶
func (dao *ProductTaskDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTaskDevelopColumns ¶
type ProductTaskDevelopColumns struct { Id string // ProductId string // 项目唯一标志 TaskName string // 任务名称 TaskCate string // 任务分类 TaskDesc string // 任务描述 TaskStatus string // 任务状态(1:未开启,2:运行中,3:已完成 4:暂停) Level string // 优先级(值越大,优先级越高) IsSendGroupChat string // 1: 发送至群 2:不发送至群 GroupChat string // 发送至群信息 RemindGroupChatUser string // 发送到群时,提醒相关关注人 DutyEmployeeId string // 责任人员工信息 DutyWorkNumber string // 责任人员工工号 JoinWorkNumber string // 关联责任人 PalnStartTime string // 计划开始时间 PalnEndTime string // 计划结束时间 RealStartTime string // 实际开始时间 RealEndTime string // 实际结束时间 UpgradeFirst string // 第一次升级@工号 UpgradeFirstTime string // 第一次升级时间 UpgradeTwo string // 第二次升级@工号 UpgradeTwoTime string // 第三次升级@工号 UpgradeThree string // 第三次升级@工号 UpgradeThreeTime string // 第三次升级时间 AssignEmployeeId string // 指派人员工信息 AssignWorkNumber string // 指派人员工工号 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTaskDevelopColumns defines and stores column names for table cqgf_product_task_develop.
type ProductTaskDevelopDao ¶
type ProductTaskDevelopDao struct {
// contains filtered or unexported fields
}
ProductTaskDevelopDao is the data access object for table cqgf_product_task_develop.
func NewProductTaskDevelopDao ¶
func NewProductTaskDevelopDao() *ProductTaskDevelopDao
NewProductTaskDevelopDao creates and returns a new DAO object for table data access.
func (*ProductTaskDevelopDao) Columns ¶
func (dao *ProductTaskDevelopDao) Columns() ProductTaskDevelopColumns
Columns returns all column names of current dao.
func (*ProductTaskDevelopDao) Ctx ¶
func (dao *ProductTaskDevelopDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTaskDevelopDao) DB ¶
func (dao *ProductTaskDevelopDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTaskDevelopDao) Group ¶
func (dao *ProductTaskDevelopDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTaskDevelopDao) Table ¶
func (dao *ProductTaskDevelopDao) Table() string
Table returns the table name of current dao.
func (*ProductTaskDevelopDao) Transaction ¶
func (dao *ProductTaskDevelopDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTaskNpiColumns ¶
type ProductTaskNpiColumns struct { Id string // ProductId string // 项目唯一标志 TaskName string // 任务名称 TaskCate string // 任务分类 TaskDesc string // 任务描述 TaskStatus string // 任务状态(1:未开启,2:运行中,3:已完成 4:暂停) Level string // 优先级(值越大,优先级越高) IsSendGroupChat string // 1: 发送至群 2:不发送至群 GroupChat string // 发送至群信息 RemindGroupChatUser string // 发送到群时,提醒相关关注人 DutyEmployeeId string // 责任人员工信息 DutyWorkNumber string // 责任人员工工号 JoinWorkNumber string // 关联责任人 PalnStartTime string // 计划开始时间 PalnEndTime string // 计划结束时间 RealStartTime string // 实际开始时间 RealEndTime string // 实际结束时间 UpgradeFirst string // 第一次升级@工号 UpgradeFirstTime string // 第一次升级时间 UpgradeTwo string // 第二次升级@工号 UpgradeTwoTime string // 第三次升级@工号 UpgradeThree string // 第三次升级@工号 UpgradeThreeTime string // 第三次升级时间 AssignEmployeeId string // 指派人员工信息 AssignWorkNumber string // 指派人员工工号 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTaskNpiColumns defines and stores column names for table cqgf_product_task_npi.
type ProductTaskNpiDao ¶
type ProductTaskNpiDao struct {
// contains filtered or unexported fields
}
ProductTaskNpiDao is the data access object for table cqgf_product_task_npi.
func NewProductTaskNpiDao ¶
func NewProductTaskNpiDao() *ProductTaskNpiDao
NewProductTaskNpiDao creates and returns a new DAO object for table data access.
func (*ProductTaskNpiDao) Columns ¶
func (dao *ProductTaskNpiDao) Columns() ProductTaskNpiColumns
Columns returns all column names of current dao.
func (*ProductTaskNpiDao) Ctx ¶
func (dao *ProductTaskNpiDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTaskNpiDao) DB ¶
func (dao *ProductTaskNpiDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTaskNpiDao) Group ¶
func (dao *ProductTaskNpiDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTaskNpiDao) Table ¶
func (dao *ProductTaskNpiDao) Table() string
Table returns the table name of current dao.
func (*ProductTaskNpiDao) Transaction ¶
func (dao *ProductTaskNpiDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTaskProduceColumns ¶
type ProductTaskProduceColumns struct { Id string // ProductId string // 项目唯一标志 TaskName string // 任务名称 TaskCate string // 任务分类 TaskDesc string // 任务描述 TaskStatus string // 任务状态(1:未开启,2:运行中,3:已完成 4:暂停) Level string // 优先级(值越大,优先级越高) IsSendGroupChat string // 1: 发送至群 2:不发送至群 GroupChat string // 发送至群信息 RemindGroupChatUser string // 发送到群时,提醒相关关注人 DutyEmployeeId string // 责任人员工信息 DutyWorkNumber string // 责任人员工工号 JoinWorkNumber string // 关联责任人 PalnStartTime string // 计划开始时间 PalnEndTime string // 计划结束时间 RealStartTime string // 实际开始时间 RealEndTime string // 实际结束时间 UpgradeFirst string // 第一次升级@工号 UpgradeFirstTime string // 第一次升级时间 UpgradeTwo string // 第二次升级@工号 UpgradeTwoTime string // 第三次升级@工号 UpgradeThree string // 第三次升级@工号 UpgradeThreeTime string // 第三次升级时间 AssignEmployeeId string // 指派人员工信息 AssignWorkNumber string // 指派人员工工号 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTaskProduceColumns defines and stores column names for table cqgf_product_task_produce.
type ProductTaskProduceDao ¶
type ProductTaskProduceDao struct {
// contains filtered or unexported fields
}
ProductTaskProduceDao is the data access object for table cqgf_product_task_produce.
func NewProductTaskProduceDao ¶
func NewProductTaskProduceDao() *ProductTaskProduceDao
NewProductTaskProduceDao creates and returns a new DAO object for table data access.
func (*ProductTaskProduceDao) Columns ¶
func (dao *ProductTaskProduceDao) Columns() ProductTaskProduceColumns
Columns returns all column names of current dao.
func (*ProductTaskProduceDao) Ctx ¶
func (dao *ProductTaskProduceDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTaskProduceDao) DB ¶
func (dao *ProductTaskProduceDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTaskProduceDao) Group ¶
func (dao *ProductTaskProduceDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTaskProduceDao) Table ¶
func (dao *ProductTaskProduceDao) Table() string
Table returns the table name of current dao.
func (*ProductTaskProduceDao) Transaction ¶
func (dao *ProductTaskProduceDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTaskQualityColumns ¶
type ProductTaskQualityColumns struct { Id string // ProductId string // 项目唯一标志 TaskName string // 任务名称 TaskCate string // 任务分类 TaskDesc string // 任务描述 TaskStatus string // 任务状态(1:未开启,2:运行中,3:已完成 4:暂停) Level string // 优先级(值越大,优先级越高) IsSendGroupChat string // 1: 发送至群 2:不发送至群 GroupChat string // 发送至群信息 RemindGroupChatUser string // 发送到群时,提醒相关关注人 DutyEmployeeId string // 责任人员工信息 DutyWorkNumber string // 责任人员工工号 JoinWorkNumber string // 关联责任人 PalnStartTime string // 计划开始时间 PalnEndTime string // 计划结束时间 RealStartTime string // 实际开始时间 RealEndTime string // 实际结束时间 UpgradeFirst string // 第一次升级@工号 UpgradeFirstTime string // 第一次升级时间 UpgradeTwo string // 第二次升级@工号 UpgradeTwoTime string // 第三次升级@工号 UpgradeThree string // 第三次升级@工号 UpgradeThreeTime string // 第三次升级时间 AssignEmployeeId string // 指派人员工信息 AssignWorkNumber string // 指派人员工工号 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTaskQualityColumns defines and stores column names for table cqgf_product_task_quality.
type ProductTaskQualityDao ¶
type ProductTaskQualityDao struct {
// contains filtered or unexported fields
}
ProductTaskQualityDao is the data access object for table cqgf_product_task_quality.
func NewProductTaskQualityDao ¶
func NewProductTaskQualityDao() *ProductTaskQualityDao
NewProductTaskQualityDao creates and returns a new DAO object for table data access.
func (*ProductTaskQualityDao) Columns ¶
func (dao *ProductTaskQualityDao) Columns() ProductTaskQualityColumns
Columns returns all column names of current dao.
func (*ProductTaskQualityDao) Ctx ¶
func (dao *ProductTaskQualityDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTaskQualityDao) DB ¶
func (dao *ProductTaskQualityDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTaskQualityDao) Group ¶
func (dao *ProductTaskQualityDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTaskQualityDao) Table ¶
func (dao *ProductTaskQualityDao) Table() string
Table returns the table name of current dao.
func (*ProductTaskQualityDao) Transaction ¶
func (dao *ProductTaskQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type ProductTypeColumns ¶
type ProductTypeColumns struct { Id string // Name string // 开发模型名称 Remark string // 预留备注说明信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
ProductTypeColumns defines and stores column names for table cqgf_product_type.
type ProductTypeDao ¶
type ProductTypeDao struct {
// contains filtered or unexported fields
}
ProductTypeDao is the data access object for table cqgf_product_type.
func NewProductTypeDao ¶
func NewProductTypeDao() *ProductTypeDao
NewProductTypeDao creates and returns a new DAO object for table data access.
func (*ProductTypeDao) Columns ¶
func (dao *ProductTypeDao) Columns() ProductTypeColumns
Columns returns all column names of current dao.
func (*ProductTypeDao) Ctx ¶
func (dao *ProductTypeDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*ProductTypeDao) DB ¶
func (dao *ProductTypeDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*ProductTypeDao) Group ¶
func (dao *ProductTypeDao) Group() string
Group returns the configuration group name of database of current dao.
func (*ProductTypeDao) Table ¶
func (dao *ProductTypeDao) Table() string
Table returns the table name of current dao.
func (*ProductTypeDao) Transaction ¶
func (dao *ProductTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type UserColumns ¶
type UserColumns struct { Id string // EmployeeId string // 员工ID UserName string // 员工姓名 WorkNumber string // 员工工号 Password string // 密码 Sex string // 性别(0:未知 1:男 2:女) Phone string // 手机号码 Email string // 邮箱号码 Status string // 在职状态(1:在职 2:试用期 3:实习期 4:已离职) Remark string // 预留备注信息 CreateTime string // 新增数据时间 UpdateTime string // 最后一次更新数据时间 }
UserColumns defines and stores column names for table cqgf_user.
type UserDao ¶
type UserDao struct {
// contains filtered or unexported fields
}
UserDao is the data access object for table cqgf_user.
func NewUserDao ¶
func NewUserDao() *UserDao
NewUserDao creates and returns a new DAO object for table data access.
func (*UserDao) Columns ¶
func (dao *UserDao) Columns() UserColumns
Columns returns all column names of current dao.
func (*UserDao) Ctx ¶
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*UserDao) DB ¶
DB retrieves and returns the underlying raw database management object of current DAO.
func (*UserDao) Transaction ¶
func (dao *UserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type UserLogColumns ¶
type UserLogColumns struct { Id string // MethodName string // 对应HTTP请求中Method参数值(1: GET 2: POST 3:PUT 4:DELETE) RequestUri string // http请求接口地址 WorkNumber string // 唯一账号(员工工号) RequestModule string // 请求模块(一级模块) RequestSecondModule string // 请求模块(二级模块) ChangeTypeName string // 操作对象全称 RequestBody string // 具体请求参数 Remark string // 预留补充说明信息 CreateTime string // 数据新增时间 UpdateTime string // 最后一次更新数据时间 }
UserLogColumns defines and stores column names for table cqgf_user_log.
type UserLogDao ¶
type UserLogDao struct {
// contains filtered or unexported fields
}
UserLogDao is the data access object for table cqgf_user_log.
func NewUserLogDao ¶
func NewUserLogDao() *UserLogDao
NewUserLogDao creates and returns a new DAO object for table data access.
func (*UserLogDao) Columns ¶
func (dao *UserLogDao) Columns() UserLogColumns
Columns returns all column names of current dao.
func (*UserLogDao) Ctx ¶
func (dao *UserLogDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*UserLogDao) DB ¶
func (dao *UserLogDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*UserLogDao) Group ¶
func (dao *UserLogDao) Group() string
Group returns the configuration group name of database of current dao.
func (*UserLogDao) Table ¶
func (dao *UserLogDao) Table() string
Table returns the table name of current dao.
func (*UserLogDao) Transaction ¶
func (dao *UserLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
Source Files ¶
- config.go
- crew_duty_index.go
- crew_hours_index.go
- crew_kpi_rule.go
- crew_manage_index.go
- crew_overtime_rule.go
- crew_solve_rule.go
- department.go
- employee.go
- employee_job.go
- job.go
- job_level.go
- pm_duty_index.go
- pm_hours_index.go
- pm_kpi_rule.go
- pm_manage_index.go
- pm_overtime_rule.go
- pm_solve_rule.go
- product.go
- product_budget_access.go
- product_level_assess.go
- product_level_confirm.go
- product_member.go
- product_member_key.go
- product_member_kpi.go
- product_member_prize.go
- product_mode.go
- product_mode_stage.go
- product_roles.go
- product_stage_kpi.go
- product_stage_radio.go
- product_stage_rule.go
- product_task.go
- product_task_develop.go
- product_task_npi.go
- product_task_produce.go
- product_task_quality.go
- product_type.go
- user.go
- user_log.go