Documentation ¶
Index ¶
- func DeleteDepartmentById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteDepartmentByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteUserDepartmentById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func DeleteUserDepartmentByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)
- func InsertDepartment(po po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
- func InsertDepartmentBatch(pos []po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
- func InsertUserDepartment(po po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
- func InsertUserDepartmentBatch(pos []po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
- func OrcConfigPageList(page int, size int) (*[]*po.PpmOrcConfig, int64, error)
- func SelectDepartment(cond db.Cond) (*[]po.PpmOrgDepartment, error)
- func SelectDepartmentById(id int64) (*po.PpmOrgDepartment, error)
- func SelectDepartmentByIdAndOrg(id int64, orgId int64) (*po.PpmOrgDepartment, error)
- func SelectDepartmentByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmOrgDepartment, uint64, error)
- func SelectOneDepartment(cond db.Cond) (*po.PpmOrgDepartment, error)
- func SelectOneUserDepartment(cond db.Cond) (*po.PpmOrgUserDepartment, error)
- func SelectUserDepartment(cond db.Cond) (*[]po.PpmOrgUserDepartment, error)
- func SelectUserDepartmentById(id int64) (*po.PpmOrgUserDepartment, error)
- func SelectUserDepartmentByIdAndOrg(id int64, orgId int64) (*po.PpmOrgUserDepartment, error)
- func SelectUserDepartmentByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmOrgUserDepartment, uint64, error)
- func UpdateDepartment(po po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
- func UpdateDepartmentByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateDepartmentById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateDepartmentByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateUserDepartment(po po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
- func UpdateUserDepartmentByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateUserDepartmentById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
- func UpdateUserDepartmentByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDepartmentById ¶
func DeleteDepartmentByOrg ¶
func InsertDepartment ¶
func InsertDepartment(po po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
func InsertDepartmentBatch ¶
func InsertDepartmentBatch(pos []po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
func InsertUserDepartment ¶
func InsertUserDepartment(po po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
func InsertUserDepartmentBatch ¶
func InsertUserDepartmentBatch(pos []po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
func OrcConfigPageList ¶
func SelectDepartment ¶
func SelectDepartment(cond db.Cond) (*[]po.PpmOrgDepartment, error)
func SelectDepartmentById ¶
func SelectDepartmentById(id int64) (*po.PpmOrgDepartment, error)
func SelectDepartmentByIdAndOrg ¶
func SelectDepartmentByIdAndOrg(id int64, orgId int64) (*po.PpmOrgDepartment, error)
func SelectDepartmentByPage ¶
func SelectOneDepartment ¶
func SelectOneDepartment(cond db.Cond) (*po.PpmOrgDepartment, error)
func SelectOneUserDepartment ¶
func SelectOneUserDepartment(cond db.Cond) (*po.PpmOrgUserDepartment, error)
func SelectUserDepartment ¶
func SelectUserDepartment(cond db.Cond) (*[]po.PpmOrgUserDepartment, error)
func SelectUserDepartmentById ¶
func SelectUserDepartmentById(id int64) (*po.PpmOrgUserDepartment, error)
func SelectUserDepartmentByIdAndOrg ¶
func SelectUserDepartmentByIdAndOrg(id int64, orgId int64) (*po.PpmOrgUserDepartment, error)
func UpdateDepartment ¶
func UpdateDepartment(po po.PpmOrgDepartment, tx ...sqlbuilder.Tx) error
func UpdateDepartmentByCond ¶
func UpdateDepartmentById ¶
func UpdateDepartmentByOrg ¶
func UpdateUserDepartment ¶
func UpdateUserDepartment(po po.PpmOrgUserDepartment, tx ...sqlbuilder.Tx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.