Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpringSunYY/LZ-litchi
/ functions
Functions
7,150 in github.com/SpringSunYY/LZ-litchi
⨍
Functions
7,150
◇
Types & classes
2,134
↓ 1,115 callers
Method
getId
获得渠道编号 @return 渠道编号
litchi-module-system/src/main/java/com/lz/module/system/framework/sms/core/client/SmsClient.java:23
↓ 816 callers
Method
success
(T data)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/pojo/CommonResult.java:72
↓ 579 callers
Method
exception
(ErrorCode errorCode)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/exception/util/ServiceExceptionUtil.java:24
↓ 573 callers
Method
randomPojo
(Class<T> clazz, Consumer<T>... consumers)
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/RandomUtils.java:114
↓ 536 callers
Method
eq
(boolean condition, String column, Object val)
litchi-framework/litchi-spring-boot-starter-mybatis/src/main/java/com/lz/framework/mybatis/core/query/QueryWrapperX.java:112
↓ 522 callers
Method
get
(@RequestBody CaptchaVO data, HttpServletRequest request)
litchi-module-system/src/main/java/com/lz/module/system/controller/admin/captcha/CaptchaController.java:27
↓ 518 callers
Method
toBean
(Object source, Class<T> targetClass)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/object/BeanUtils.java:20
↓ 434 callers
Method
getType
对应触发器类型 @return 触发器类型
litchi-module-bpm/src/main/java/com/lz/module/bpm/service/task/trigger/BpmTrigger.java:20
↓ 411 callers
Method
getName
获得方法名称 @return 方法名称
litchi-framework/litchi-spring-boot-starter-excel/src/main/java/com/lz/framework/excel/core/function/ExcelColumnSelectFunction.java:19
↓ 275 callers
Method
setId
(Long id)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/biz/infra/area/dto/AreaSimpleVO.java:44
↓ 269 callers
Method
randomString
()
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/RandomUtils.java:68
↓ 259 callers
Method
getList
从哈希表表中,获得 keys 对应的所有 value 数组 @param multimap 哈希表 @param keys keys @return value 数组
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/MapUtils.java:30
↓ 245 callers
Method
add
入栈 DataPermission 注解 @param dataPermission DataPermission 注解
litchi-framework/litchi-spring-boot-starter-biz-data-permission/src/main/java/com/lz/framework/datapermission/core/aop/DataPermissionContextHolder.java:36
↓ 204 callers
Method
assertPojoEquals
比对两个对象的属性是否一致 注意,如果 expected 存在的属性,actual 不存在的时候,会进行忽略 @param expected 期望对象 @param actual 实际对象 @param ignoreFields 忽略的属性数组
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/AssertUtils.java:33
↓ 204 callers
Method
getValue
()
litchi-framework/litchi-spring-boot-starter-excel/src/main/java/com/lz/framework/excel/core/annotations/ExcelDirection.java:31
↓ 203 callers
Method
convertSet
(Collection<T> from)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/CollectionUtils.java:108
↓ 195 callers
Method
stream
(Prompt prompt)
litchi-module-ai/src/main/java/com/lz/module/ai/framework/ai/core/model/grok/GrokChatModel.java:34
↓ 192 callers
Method
build
(Properties info, Long dbSize, Properties commandStats)
litchi-module-infra/src/main/java/com/lz/module/infra/convert/redis/RedisConvert.java:16
↓ 185 callers
Method
getCode
()
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/exception/ServerException.java:41
↓ 164 callers
Method
cloneIgnoreId
复制对象,并忽略 Id 编号 @param object 被复制对象 @param consumer 消费者,可以二次编辑被复制对象 @return 复制后的对象
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/object/ObjectUtils.java:24
↓ 155 callers
Method
assertServiceException
执行方法,校验抛出的 Service 是否符合条件 @param executable 业务异常 @param errorCode 错误码对象 @param messageParams 消息参数
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/AssertUtils.java:92
↓ 143 callers
Method
error
将传入的 result 对象,转换成另外一个泛型结果的对象 因为 A 方法返回的 CommonResult 对象,不满足调用其的 B 方法的返回,所以需要进行转换。 @param result 传入的 result 对象 @param <T> 返回的泛型 @return 新的 CommonRes
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/pojo/CommonResult.java:48
↓ 135 callers
Method
getLoginUserId
获得当前用户的编号,从请求中 注意:该方法仅限于 framework 框架使用!!! @param request 请求 @return 用户编号
litchi-framework/litchi-spring-boot-starter-web/src/main/java/com/lz/framework/web/core/util/WebFrameworkUtils.java:87
↓ 128 callers
Method
setName
(String name)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/biz/infra/area/dto/AreaSimpleVO.java:60
↓ 118 callers
Method
convertList
(List<AdminUserDO> list, Map<Long, DeptDO> deptMap)
litchi-module-system/src/main/java/com/lz/module/system/convert/user/UserConvert.java:28
↓ 115 callers
Method
randomLongId
()
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/RandomUtils.java:72
↓ 106 callers
Method
findAndThen
从哈希表查找到 key 对应的 value,然后进一步处理 key 为 null 时, 不处理 注意,如果查找到的 value 为 null 时,不进行处理 @param map 哈希表 @param key key @param consumer 进一步处理的逻辑
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/MapUtils.java:51
↓ 101 callers
Method
format
格式化理由 @param args 参数 @return 理由
litchi-module-bpm/src/main/java/com/lz/module/bpm/enums/task/BpmReasonEnum.java:48
↓ 94 callers
Method
parseLong
(String str)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/number/NumberUtils.java:17
↓ 92 callers
Method
getUserId
获得用户编号 @return 用户编号
litchi-module-crm/src/main/java/com/lz/module/crm/framework/permission/core/aop/CrmPermissionAspect.java:147
↓ 91 callers
Method
append
将 object 和 newElements 合并成一个数组 @param object 对象 @param newElements 数组 @param <T> 泛型 @return 结果数组
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/ArrayUtils.java:28
↓ 75 callers
Method
toArray
(Collection<T> from, Function<T, V> mapper)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/ArrayUtils.java:39
↓ 70 callers
Method
write
将列表以 Excel 响应给前端 @param response 响应 @param filename 文件名 @param sheetName Excel sheet 名 @param head Excel head 头 @param data 数据列表哦 @param
litchi-framework/litchi-spring-boot-starter-excel/src/main/java/com/lz/framework/excel/core/util/ExcelUtils.java:38
↓ 68 callers
Method
asSet
(T... objs)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/SetUtils.java:14
↓ 62 callers
Method
assertSql
(String sql, String targetSql)
litchi-framework/litchi-spring-boot-starter-biz-data-permission/src/test/java/com/lz/framework/datapermission/core/db/DataPermissionRuleHandlerTest.java:454
↓ 62 callers
Method
newArrayList
(List<List<T>> list)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/CollectionUtils.java:334
↓ 62 callers
Method
of
(String type)
litchi-module-bpm/src/main/java/com/lz/module/bpm/enums/task/BpmTaskSignTypeEnum.java:43
↓ 61 callers
Method
getType
()
litchi-module-bpm/src/main/java/com/lz/module/bpm/framework/flowable/core/util/SimpleModelUtils.java:316
↓ 58 callers
Method
buildTime
创建指定时间 @param year 年 @param mouth 月 @param day 日 @return 指定时间
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/date/DateUtils.java:82
↓ 58 callers
Method
getContent
获得文件的内容 @param path 相对路径 @return 文件的内容
litchi-module-infra/src/main/java/com/lz/module/infra/framework/file/core/client/FileClient.java:50
↓ 54 callers
Method
get
根据键获取值
litchi-framework/litchi-spring-boot-starter-redis/src/main/java/com/lz/framework/redis/core/RedisUtils.java:88
↓ 53 callers
Method
insertBatch
批量插入,适合大量数据插入 @param entities 实体们
litchi-framework/litchi-spring-boot-starter-mybatis/src/main/java/com/lz/framework/mybatis/core/mapper/BaseMapperX.java:173
↓ 49 callers
Method
empty
()
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/pojo/PageResult.java:33
↓ 49 callers
Method
getMessage
根据消息键名获取翻译(从请求上下文获取语言) @param messageKey 消息键名 @return 翻译后的文本,未找到返回 null
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/i18n/I18nUtils.java:35
↓ 49 callers
Method
getUserMap
获得用户 Map @param ids 用户编号数组 @return 用户 Map
litchi-module-system/src/main/java/com/lz/module/system/api/user/AdminUserApi.java:64
↓ 49 callers
Method
getUserType
()
litchi-module-system/src/main/java/com/lz/module/system/service/auth/AdminAuthServiceImpl.java:280
↓ 48 callers
Method
getModel
获得模型 @param id 编号 @return 模型
litchi-module-ai/src/main/java/com/lz/module/ai/service/model/AiModelService.java:55
↓ 48 callers
Method
getUser
通过用户 ID 查询用户 @param id 用户ID @return 用户对象信息
litchi-module-system/src/main/java/com/lz/module/system/api/user/AdminUserApi.java:24
↓ 48 callers
Method
vue3FilePath
(String path)
litchi-module-infra/src/main/java/com/lz/module/infra/service/codegen/inner/CodegenEngine.java:638
↓ 47 callers
Method
valueOf
(Integer status)
litchi-module-bpm/src/main/java/com/lz/module/bpm/enums/task/BpmTaskStatusEnum.java:82
↓ 45 callers
Method
setCode
(Integer code)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/exception/ServerException.java:45
↓ 44 callers
Method
getMessage
根据消息键名获取翻译 不需要传递使用段端,因为key和语言本来就是唯一的 @param messageKey 消息键名 @param acceptLanguage Accept-Language 请求头 @return 翻译后的文本,未找到返回 null
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/biz/infra/i18n/I18nCommonApi.java:20
↓ 43 callers
Method
getSumValue
(Collection<T> from, Function<T, V> valueFunc,
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/CollectionUtils.java:309
↓ 40 callers
Method
getConfigKey
获取配置Key
litchi-module-infra/src/main/java/com/lz/module/infra/framework/file/core/client/FileClient.java:15
↓ 40 callers
Method
of
将 LocalDateTime 转换成 Date @param date LocalDateTime @return LocalDateTime
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/date/DateUtils.java:37
↓ 40 callers
Method
valueOf
(Integer value)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/enums/UserTypeEnum.java:31
↓ 37 callers
Method
apply
(Request request)
litchi-module-ai/src/main/java/com/lz/module/ai/tool/function/WeatherQueryToolFunction.java:92
↓ 37 callers
Method
getResult
(ResultSet rs, String columnName)
litchi-framework/litchi-spring-boot-starter-mybatis/src/main/java/com/lz/framework/mybatis/core/type/LongSetTypeHandler.java:34
↓ 36 callers
Method
getUsername
(Long userId)
litchi-module-system/src/main/java/com/lz/module/system/service/auth/AdminAuthServiceImpl.java:272
↓ 34 callers
Method
get
获得当前的 DataPermission 注解 @return DataPermission 注解
litchi-framework/litchi-spring-boot-starter-biz-data-permission/src/main/java/com/lz/framework/datapermission/core/aop/DataPermissionContextHolder.java:27
↓ 34 callers
Method
parseInt
(String str)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/number/NumberUtils.java:21
↓ 34 callers
Method
toJsonString
(Object object)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/json/JsonUtils.java:49
↓ 33 callers
Method
parseObject
(String text, Class<T> clazz)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/json/JsonUtils.java:64
↓ 33 callers
Method
randomAdminUserDO
(Consumer<AdminUserDO>... consumers)
litchi-module-system/src/test/java/com/lz/module/system/service/user/AdminUserServiceImplTest.java:754
↓ 32 callers
Method
getTenantId
获得租户编号 @return 租户编号
litchi-framework/litchi-spring-boot-starter-biz-tenant/src/main/java/com/lz/framework/tenant/core/context/TenantContextHolder.java:28
↓ 32 callers
Method
validOAuthClientFromCache
从缓存中,校验客户端是否合法 @return 客户端
litchi-module-system/src/main/java/com/lz/module/system/service/oauth2/OAuth2ClientService.java:79
↓ 31 callers
Method
getHeader
(String name)
litchi-framework/litchi-spring-boot-starter-web/src/main/java/com/lz/framework/xss/core/filter/XssRequestWrapper.java:73
↓ 31 callers
Method
getLevel
()
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/biz/infra/area/dto/AreaSimpleVO.java:72
↓ 31 callers
Method
selectList
(Collection<Long> ids, Collection<Integer> statuses)
litchi-module-system/src/main/java/com/lz/module/system/dal/mysql/dept/PostMapper.java:16
↓ 30 callers
Method
getApiKey
获得 API 密钥 @param id 编号 @return API 密钥
litchi-module-ai/src/main/java/com/lz/module/ai/service/model/AiApiKeyService.java:46
↓ 30 callers
Method
getDept
获得部门信息 @param id 部门编号 @return 部门信息
litchi-module-system/src/main/java/com/lz/module/system/api/dept/DeptApi.java:23
↓ 29 callers
Method
convertMap
(List<KeyValue<K, V>> keyValues)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/MapUtils.java:62
↓ 29 callers
Method
getProcessInstance
获得流程实例 @param id 流程实例的编号 @return 流程实例
litchi-module-bpm/src/main/java/com/lz/module/bpm/service/task/BpmProcessInstanceService.java:32
↓ 29 callers
Method
getTable
获得指定表名 @param dataSourceConfigId 数据源配置的编号 @param tableName 表名称 @return 表
litchi-module-infra/src/main/java/com/lz/module/infra/service/db/DatabaseTableService.java:31
↓ 29 callers
Method
updateBatch
(List<TenantPackageSubscribeDO> tenantPackageSubscribeDOS)
litchi-module-system/src/main/java/com/lz/module/system/service/tenant/TenantPackageSubscribeService.java:80
↓ 28 callers
Method
getType
获得消息类型 @see JsonWebSocketMessage#getType() @return 消息类型
litchi-framework/litchi-spring-boot-starter-websocket/src/main/java/com/lz/framework/websocket/core/listener/WebSocketMessageListener.java:29
↓ 28 callers
Method
post
(String uri, Object body)
litchi-module-ai/src/main/java/com/lz/module/ai/framework/ai/core/model/api/MidjourneyApi.java:100
↓ 27 callers
Method
register
用户注册 @param createReqVO 注册用户 @return 注册结果
litchi-module-system/src/main/java/com/lz/module/system/service/auth/AdminAuthService.java:79
↓ 27 callers
Method
remove
出栈 DataPermission 注解 @return DataPermission 注解
litchi-framework/litchi-spring-boot-starter-biz-data-permission/src/main/java/com/lz/framework/datapermission/core/aop/DataPermissionContextHolder.java:45
↓ 27 callers
Method
singleton
(T obj)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/CollectionUtils.java:330
↓ 26 callers
Method
convertList
(BpmSimpleModelNodeVO node)
litchi-module-bpm/src/main/java/com/lz/module/bpm/framework/flowable/core/util/SimpleModelUtils.java:308
↓ 26 callers
Method
getUserIds
获取用户编号数组。如果用户编号为空, 则获得部门下的用户编号数组,包括子部门的所有用户编号 @param reqVO 请求参数 @return 用户编号数组
litchi-module-crm/src/main/java/com/lz/module/crm/service/statistics/CrmStatisticsCustomerServiceImpl.java:355
↓ 25 callers
Method
selectList
(AreaListReqVO reqVO)
litchi-module-infra/src/main/java/com/lz/module/infra/dal/mysql/area/AreaMapper.java:19
↓ 25 callers
Method
selectPage
(PostPageReqVO reqVO)
litchi-module-system/src/main/java/com/lz/module/system/dal/mysql/dept/PostMapper.java:22
↓ 24 callers
Method
getDeptMap
获得指定编号的部门 Map @param ids 部门编号数组 @return 部门 Map
litchi-module-system/src/main/java/com/lz/module/system/api/dept/DeptApi.java:48
↓ 24 callers
Method
getMethod
(JoinPoint point)
litchi-framework/litchi-spring-boot-starter-protection/src/main/java/com/lz/framework/idempotent/core/keyresolver/impl/ExpressionIdempotentKeyResolver.java:47
↓ 24 callers
Method
getTenantId
()
litchi-module-bpm/src/main/java/com/lz/module/bpm/framework/flowable/core/util/FlowableUtils.java:69
↓ 23 callers
Method
getBody
(HttpServletRequest request)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/servlet/ServletUtils.java:80
↓ 22 callers
Method
addConstraintViolation
(ConstraintValidatorContext context)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/validation/i18n/I18nMaxValidator.java:39
↓ 22 callers
Method
buildBetweenTime
(int year1, int mouth1, int day1, int year2, int mouth2, in
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/date/LocalDateTimeUtils.java:80
↓ 22 callers
Method
getAccessToken
获得访问令牌 参考 DefaultTokenServices 的 getAccessToken 方法 @param accessToken 访问令牌 @return 访问令牌的信息
litchi-module-system/src/main/java/com/lz/module/system/service/oauth2/OAuth2TokenService.java:51
↓ 22 callers
Method
getFirst
(List<T> from)
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/collection/CollectionUtils.java:268
↓ 22 callers
Method
getProductVOMap
获得产品 VO Map @param ids 编号数组 @return 产品 VO Map
litchi-module-erp/src/main/java/com/lz/module/erp/service/product/ErpProductService.java:83
↓ 22 callers
Method
randomCommonStatus
()
litchi-framework/litchi-spring-boot-starter-test/src/main/java/com/lz/framework/test/core/util/RandomUtils.java:98
↓ 21 callers
Method
execute
使用指定租户,执行对应的逻辑 <p> 注意,如果当前是忽略租户的情况下,会被强制设置成不忽略租户 当然,执行完成后,还是会恢复回去 @param tenantId 租户编号 @param runnable 逻辑
litchi-framework/litchi-spring-boot-starter-biz-tenant/src/main/java/com/lz/framework/tenant/core/util/TenantUtils.java:33
↓ 21 callers
Method
get
HTTP get 请求,基于 {@link cn.hutool.http.HttpUtil} 实现 为什么要封装该方法,因为 HttpUtil 默认封装的方法,没有允许传递 headers 参数 @param url URL @param headers 请求头 @return 请求结果
litchi-framework/litchi-common/src/main/java/com/lz/framework/common/util/http/HttpUtils.java:167
↓ 21 callers
Method
getDictType
获得字典类型详情 @param id 字典类型编号 @return 字典类型
litchi-module-system/src/main/java/com/lz/module/system/service/dict/DictTypeService.java:61
↓ 21 callers
Method
getSignature
获取签名 @return 签名信息
litchi-module-ai/src/main/java/com/lz/module/ai/framework/ai/core/model/xinghuo/api/XunFeiPptApi.java:73
↓ 21 callers
Method
getStrategy
对应策略 @return 策略
litchi-module-bpm/src/main/java/com/lz/module/bpm/framework/flowable/core/candidate/BpmTaskCandidateStrategy.java:24
↓ 20 callers
Method
addExtensionElement
(FlowElement element, String name, String value)
litchi-module-bpm/src/main/java/com/lz/module/bpm/framework/flowable/core/util/BpmnModelUtils.java:48
next →
1–100 of 7,150, ranked by callers