Documentation ¶
Index ¶
- Constants
- func ApplyCode(orgId int64, code string, preCode string) (string, errs.SystemErrorInfo)
- func ApplyId(orgId int64, code string, preCode string) (*bo.IdCodes, errs.SystemErrorInfo)
- func ApplyMultipleId(orgId int64, code string, preCode string, count int64) (*bo.IdCodes, errs.SystemErrorInfo)
- func ApplyMultipleIdExtra(orgId int64, code string, preCode string, count int) (*bo.IdCodes, errs.SystemErrorInfo)
- func ApplyMultiplePrimaryId(code string, count int) (*bo.IdCodes, errs.SystemErrorInfo)
- func ApplyMultiplePrimaryIdByCodes(req idvo.ApplyMultiplePrimaryIdByCodesReqVo) (*bo.CodesIds, errs.SystemErrorInfo)
- func ApplyPrimaryId(code string) (int64, errs.SystemErrorInfo)
Constants ¶
View Source
const IdCodeSpan = "-"
View Source
const IdMaxMultipleCount = 100
Variables ¶
This section is empty.
Functions ¶
func ApplyMultipleId ¶
func ApplyMultipleId(orgId int64, code string, preCode string, count int64) (*bo.IdCodes, errs.SystemErrorInfo)
返回id集合的指针地址和错误信息
func ApplyMultipleIdExtra ¶
func ApplyMultipleIdExtra(orgId int64, code string, preCode string, count int) (*bo.IdCodes, errs.SystemErrorInfo)
* 批量获取id用该方法
func ApplyMultiplePrimaryId ¶
* 批量获取id用该方法
func ApplyMultiplePrimaryIdByCodes ¶
func ApplyMultiplePrimaryIdByCodes(req idvo.ApplyMultiplePrimaryIdByCodesReqVo) (*bo.CodesIds, errs.SystemErrorInfo)
* 根据批量编号批量获取id用该方法
func ApplyPrimaryId ¶
func ApplyPrimaryId(code string) (int64, errs.SystemErrorInfo)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.