Documentation ¶
Index ¶
- Constants
- func CheckIn(lists []uint, id uint) bool
- func CheckInStr(lists []string, id string) bool
- func Decimal(value float64) float64
- func DecimalLong(value float64, len int) float64
- func DeleteInt32Slice(a []int32) []int32
- func DeleteIntSlice(a []string) []string
- func Encrypt(str string) string
- func ExportExcel(titleList []string, data []map[string]interface{}, sheetName, filepath string) error
- func GetArith(name string) inspirit.ArithEnum
- func GetEmployAttribute(name string) uint
- func GetEmployAttributeId(name uint) string
- func GetEmploySex(name v1.SexEnum) string
- func GetEmployStatus(name v1.StatusEnum) string
- func GetFloatKeyProperty(floatRaio float64) uint
- func GetFloatKeyType(name string) uint
- func GetHoursIndexByScore(lists []*inspirit.CrewHoursIndexInfo, score float32) uint32
- func GetIsGuide(name uint) string
- func GetKpiRuleByScore(lists []*inspirit.CrewKpiRuleInfo, score uint) uint
- func GetLevelAssessByScore(lists []*inspirit.BudgetAssessInfo, score uint32) *inspirit.BudgetAssessInfo
- func GetLevelConfirmByScore(lists []*product.LevelConfirmInfo, score uint) *product.LevelConfirmInfo
- func GetListWithPage(query *gdb.Model, page, size int32) (*gdb.Model, int32, int32, int32, error)
- func GetTaskStatusChangeMsg(name, taskName, taskDesc string, before, later int) string
- func GetUserRequestTypeName(methodName uint, requestModuleLists []string) string
- func Letter(length int) []string
- func SetCellValue(ctx context.Context, data []map[string]interface{}, productName string, ...) (string, error)
- type ExcelDataFormat
Constants ¶
View Source
const ( GSHA1 = "gsha1" MD5 = "md5" )
Variables ¶
This section is empty.
Functions ¶
func CheckInStr ¶
func DecimalLong ¶
func DeleteInt32Slice ¶
func DeleteIntSlice ¶
func ExportExcel ¶
func GetEmployAttribute ¶
func GetEmployAttributeId ¶
func GetEmploySex ¶
func GetEmployStatus ¶
func GetEmployStatus(name v1.StatusEnum) string
GetEmployStatus '在职状态(1:在职 2:试用期 3:实习期 4:已离职)',
func GetFloatKeyProperty ¶
GetFloatKeyProperty 1:正向激励 2:有待提高
func GetFloatKeyType ¶
func GetHoursIndexByScore ¶
func GetHoursIndexByScore(lists []*inspirit.CrewHoursIndexInfo, score float32) uint32
func GetIsGuide ¶
func GetKpiRuleByScore ¶
func GetKpiRuleByScore(lists []*inspirit.CrewKpiRuleInfo, score uint) uint
func GetLevelAssessByScore ¶
func GetLevelAssessByScore(lists []*inspirit.BudgetAssessInfo, score uint32) *inspirit.BudgetAssessInfo
func GetLevelConfirmByScore ¶
func GetLevelConfirmByScore(lists []*product.LevelConfirmInfo, score uint) *product.LevelConfirmInfo
func GetListWithPage ¶
func GetTaskStatusChangeMsg ¶
func GetUserRequestTypeName ¶
Types ¶
type ExcelDataFormat ¶
type ExcelDataFormat struct { A interface{} B interface{} C interface{} D interface{} E interface{} F interface{} G interface{} H interface{} I interface{} J interface{} K interface{} L interface{} M interface{} N interface{} O interface{} }
ExcelDataFormat excel文件处理
Click to show internal directories.
Click to hide internal directories.