dao

package
v0.0.0-...-57ed434 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAreaById

func DeleteAreaById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteAreaByOrg

func DeleteAreaByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteCitiesById

func DeleteCitiesById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteCitiesByOrg

func DeleteCitiesByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteContinentsById

func DeleteContinentsById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteContinentsByOrg

func DeleteContinentsByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteCountriesById

func DeleteCountriesById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteCountriesByOrg

func DeleteCountriesByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteIndustryById

func DeleteIndustryById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteIndustryByOrg

func DeleteIndustryByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteMobilePrefixById

func DeleteMobilePrefixById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteMobilePrefixByOrg

func DeleteMobilePrefixByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteRegionsById

func DeleteRegionsById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteRegionsByOrg

func DeleteRegionsByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteStatesById

func DeleteStatesById(id int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func DeleteStatesByOrg

func DeleteStatesByOrg(id int64, orgId int64, operatorId int64, tx ...sqlbuilder.Tx) (int64, error)

func InsertArea

func InsertArea(po po.PpmCmmArea, tx ...sqlbuilder.Tx) error

func InsertAreaBatch

func InsertAreaBatch(pos []po.PpmCmmArea, tx ...sqlbuilder.Tx) error

func InsertCities

func InsertCities(po po.PpmCmmCities, tx ...sqlbuilder.Tx) error

func InsertCitiesBatch

func InsertCitiesBatch(pos []po.PpmCmmCities, tx ...sqlbuilder.Tx) error

func InsertContinents

func InsertContinents(po po.PpmCmmContinents, tx ...sqlbuilder.Tx) error

func InsertContinentsBatch

func InsertContinentsBatch(pos []po.PpmCmmContinents, tx ...sqlbuilder.Tx) error

func InsertCountries

func InsertCountries(po po.PpmCmmCountries, tx ...sqlbuilder.Tx) error

func InsertCountriesBatch

func InsertCountriesBatch(pos []po.PpmCmmCountries, tx ...sqlbuilder.Tx) error

func InsertIndustry

func InsertIndustry(po po.PpmCmmIndustry, tx ...sqlbuilder.Tx) error

func InsertIndustryBatch

func InsertIndustryBatch(pos []po.PpmCmmIndustry, tx ...sqlbuilder.Tx) error

func InsertMobilePrefix

func InsertMobilePrefix(po po.PpmCmmMobilePrefix, tx ...sqlbuilder.Tx) error

func InsertMobilePrefixBatch

func InsertMobilePrefixBatch(pos []po.PpmCmmMobilePrefix, tx ...sqlbuilder.Tx) error

func InsertRegions

func InsertRegions(po po.PpmCmmRegions, tx ...sqlbuilder.Tx) error

func InsertRegionsBatch

func InsertRegionsBatch(pos []po.PpmCmmRegions, tx ...sqlbuilder.Tx) error

func InsertStates

func InsertStates(po po.PpmCmmStates, tx ...sqlbuilder.Tx) error

func InsertStatesBatch

func InsertStatesBatch(pos []po.PpmCmmStates, tx ...sqlbuilder.Tx) error

func SelectArea

func SelectArea(cond db.Cond) (*[]po.PpmCmmArea, error)

func SelectAreaById

func SelectAreaById(id int64) (*po.PpmCmmArea, error)

func SelectAreaByIdAndOrg

func SelectAreaByIdAndOrg(id int64, orgId int64) (*po.PpmCmmArea, error)

func SelectAreaByPage

func SelectAreaByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmArea, uint64, error)

func SelectCities

func SelectCities(cond db.Cond) (*[]po.PpmCmmCities, error)

func SelectCitiesById

func SelectCitiesById(id int64) (*po.PpmCmmCities, error)

func SelectCitiesByIdAndOrg

func SelectCitiesByIdAndOrg(id int64, orgId int64) (*po.PpmCmmCities, error)

func SelectCitiesByPage

func SelectCitiesByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmCities, uint64, error)

func SelectContinents

func SelectContinents(cond db.Cond) (*[]po.PpmCmmContinents, error)

func SelectContinentsById

func SelectContinentsById(id int64) (*po.PpmCmmContinents, error)

func SelectContinentsByIdAndOrg

func SelectContinentsByIdAndOrg(id int64, orgId int64) (*po.PpmCmmContinents, error)

func SelectContinentsByPage

func SelectContinentsByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmContinents, uint64, error)

func SelectCountries

func SelectCountries(cond db.Cond) (*[]po.PpmCmmCountries, error)

func SelectCountriesById

func SelectCountriesById(id int64) (*po.PpmCmmCountries, error)

func SelectCountriesByIdAndOrg

func SelectCountriesByIdAndOrg(id int64, orgId int64) (*po.PpmCmmCountries, error)

func SelectCountriesByPage

func SelectCountriesByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmCountries, uint64, error)

func SelectIndustry

func SelectIndustry(cond db.Cond) (*[]po.PpmCmmIndustry, error)

func SelectIndustryBoAllList

func SelectIndustryBoAllList(cond db.Cond) (*[]po.PpmCmmIndustry, error)

func SelectIndustryById

func SelectIndustryById(id int64) (*po.PpmCmmIndustry, error)

func SelectIndustryByIdAndOrg

func SelectIndustryByIdAndOrg(id int64, orgId int64) (*po.PpmCmmIndustry, error)

func SelectIndustryByPage

func SelectIndustryByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmIndustry, uint64, error)

func SelectMobilePrefix

func SelectMobilePrefix(cond db.Cond) (*[]po.PpmCmmMobilePrefix, error)

func SelectMobilePrefixById

func SelectMobilePrefixById(id int64) (*po.PpmCmmMobilePrefix, error)

func SelectMobilePrefixByIdAndOrg

func SelectMobilePrefixByIdAndOrg(id int64, orgId int64) (*po.PpmCmmMobilePrefix, error)

func SelectMobilePrefixByPage

func SelectMobilePrefixByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmMobilePrefix, uint64, error)

func SelectOneArea

func SelectOneArea(cond db.Cond) (*po.PpmCmmArea, error)

func SelectOneCities

func SelectOneCities(cond db.Cond) (*po.PpmCmmCities, error)

func SelectOneContinents

func SelectOneContinents(cond db.Cond) (*po.PpmCmmContinents, error)

func SelectOneCountries

func SelectOneCountries(cond db.Cond) (*po.PpmCmmCountries, error)

func SelectOneIndustry

func SelectOneIndustry(cond db.Cond) (*po.PpmCmmIndustry, error)

func SelectOneMobilePrefix

func SelectOneMobilePrefix(cond db.Cond) (*po.PpmCmmMobilePrefix, error)

func SelectOneRegions

func SelectOneRegions(cond db.Cond) (*po.PpmCmmRegions, error)

func SelectOneStates

func SelectOneStates(cond db.Cond) (*po.PpmCmmStates, error)

func SelectRegions

func SelectRegions(cond db.Cond) (*[]po.PpmCmmRegions, error)

func SelectRegionsById

func SelectRegionsById(id int64) (*po.PpmCmmRegions, error)

func SelectRegionsByIdAndOrg

func SelectRegionsByIdAndOrg(id int64, orgId int64) (*po.PpmCmmRegions, error)

func SelectRegionsByPage

func SelectRegionsByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmRegions, uint64, error)

func SelectStates

func SelectStates(cond db.Cond) (*[]po.PpmCmmStates, error)

func SelectStatesById

func SelectStatesById(id int64) (*po.PpmCmmStates, error)

func SelectStatesByIdAndOrg

func SelectStatesByIdAndOrg(id int64, orgId int64) (*po.PpmCmmStates, error)

func SelectStatesByPage

func SelectStatesByPage(cond db.Cond, pageBo bo.PageBo) (*[]po.PpmCmmStates, uint64, error)

func UpdateArea

func UpdateArea(po po.PpmCmmArea, tx ...sqlbuilder.Tx) error

func UpdateAreaByCond

func UpdateAreaByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateAreaById

func UpdateAreaById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateAreaByOrg

func UpdateAreaByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCities

func UpdateCities(po po.PpmCmmCities, tx ...sqlbuilder.Tx) error

func UpdateCitiesByCond

func UpdateCitiesByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCitiesById

func UpdateCitiesById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCitiesByOrg

func UpdateCitiesByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateContinents

func UpdateContinents(po po.PpmCmmContinents, tx ...sqlbuilder.Tx) error

func UpdateContinentsByCond

func UpdateContinentsByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateContinentsById

func UpdateContinentsById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateContinentsByOrg

func UpdateContinentsByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCountries

func UpdateCountries(po po.PpmCmmCountries, tx ...sqlbuilder.Tx) error

func UpdateCountriesByCond

func UpdateCountriesByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCountriesById

func UpdateCountriesById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateCountriesByOrg

func UpdateCountriesByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateIndustry

func UpdateIndustry(po po.PpmCmmIndustry, tx ...sqlbuilder.Tx) error

func UpdateIndustryByCond

func UpdateIndustryByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateIndustryById

func UpdateIndustryById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateIndustryByOrg

func UpdateIndustryByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateMobilePrefix

func UpdateMobilePrefix(po po.PpmCmmMobilePrefix, tx ...sqlbuilder.Tx) error

func UpdateMobilePrefixByCond

func UpdateMobilePrefixByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateMobilePrefixById

func UpdateMobilePrefixById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateMobilePrefixByOrg

func UpdateMobilePrefixByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateRegions

func UpdateRegions(po po.PpmCmmRegions, tx ...sqlbuilder.Tx) error

func UpdateRegionsByCond

func UpdateRegionsByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateRegionsById

func UpdateRegionsById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateRegionsByOrg

func UpdateRegionsByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateStates

func UpdateStates(po po.PpmCmmStates, tx ...sqlbuilder.Tx) error

func UpdateStatesByCond

func UpdateStatesByCond(cond db.Cond, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateStatesById

func UpdateStatesById(id int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

func UpdateStatesByOrg

func UpdateStatesByOrg(id int64, orgId int64, upd mysql.Upd, tx ...sqlbuilder.Tx) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL