service

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: 17 Imported by: 0

Documentation

Index

Constants

View Source
const IdCodeSpan = "-"
View Source
const IdMaxMultipleCount = 100

Variables

This section is empty.

Functions

func ApplyCode

func ApplyCode(orgId int64, code string, preCode string) (string, errs.SystemErrorInfo)

func ApplyId

func ApplyId(orgId int64, code string, preCode string) (*bo.IdCodes, errs.SystemErrorInfo)

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

func ApplyMultiplePrimaryId(code string, count int) (*bo.IdCodes, errs.SystemErrorInfo)

* 批量获取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.

Jump to

Keyboard shortcuts

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