Documentation ¶
Index ¶
- func AddUserPrintMoudle(userMould *JccUserMould) (int64, error)
- func ExistUserMoudle(companyId int) (int, error)
- func QueryUserMoudleId(companyId int) (int, error)
- func QueryUserMould(companyId int, db orm.Ormer) (*[]CheckUserMould, error)
- func SelectMouldList(ormer orm.Ormer) (info *[]JccCommonMould, err error)
- func UpdateUserMoudle(userMould *JccUserMould, db orm.Ormer) (int64, error)
- type CheckUserMould
- type JccCommonMould
- type JccUserMould
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryUserMoudleId ¶
func QueryUserMould ¶
func QueryUserMould(companyId int, db orm.Ormer) (*[]CheckUserMould, error)
func SelectMouldList ¶
func SelectMouldList(ormer orm.Ormer) (info *[]JccCommonMould, err error)
查询列表
func UpdateUserMoudle ¶
func UpdateUserMoudle(userMould *JccUserMould, db orm.Ormer) (int64, error)
Types ¶
type CheckUserMould ¶
type CheckUserMould struct { MouldId int `orm:"column(mould_id)" description:"模板id" json:"mould_id"` FieldOrder string `orm:"column(field_order)" description:"字段顺序" json:"field_order"` Mould_weight int `orm:"column(mould_weight)" description:"模板宽度" json:"mould_weight"` Mould_height int `orm:"column(mould_height)" description:"模板宽度" json:"mould_height"` PrintList int `orm:"column(print_list)" description:"打印调试" json:"print_list"` TopMargin int `orm:"column(top_margin)" description:"上边距" json:"top_margin"` LeftMargin int `orm:"column(left_margin)" description:"左边距" json:"left_margin"` IsDisplayPrice int `orm:"column(is_display_price)" description:"是否显示零售价" json:"is_display_price"` }
type JccCommonMould ¶
type JccCommonMould struct { Id int `orm:"column(id)" description:"ID" json:"id"` FieldOrder string `orm:"column(field_order)" description:"字段顺序" json:"field_order"` MouldWeight int `orm:"column(mould_weight)" description:"模板宽度" json:"mould_weight"` MouldHeight int `orm:"column(mould_height)" description:"模板高度" json:"mould_height"` PrintList int `orm:"column(print_list)" description:"打印条数" json:"print_list"` CreatedAt int `orm:"column(created_at)" description:"创建时间" json:"created_at"` UpdatedAt int `orm:"column(updated_at)" description:"修改时间" json:"updated_at"` IsDefault int `orm:"column(is_default)" description:"是否是默认模板" json:"is_default"` IsDel int `orm:"column(is_del)" description:"是否删除" json:"is_del"` }
type JccUserMould ¶
type JccUserMould struct { Id int `orm:"column(id);auto" description:"ID"` MouldId int `orm:"column(mould_id)" description:"模板id" json:"mould_id"` TopMargin int `orm:"column(top_margin)" description:"上边距" json:"top_margin"` CreatedAt int64 `orm:"column(created_at)" description:"创建时间" json:"created_at"` LeftMargin int `orm:"column(left_margin)" description:"左边距" json:"left_margin"` IsDisplayPrice int `orm:"column(is_display_price)" description:"是否显示零售价" json:"is_display_price"` CompanyId int `orm:"column(company_id)" description:"公司id" json:"num" json:"company_id"` UpdatedAt int64 `orm:"column(updated_at)" description:"修改时间" json:"updated_at"` IsDefault int `orm:"column(is_default)" description:"修改时间" json:"is_default"` }
Click to show internal directories.
Click to hide internal directories.