Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c2e10f87
Commit
c2e10f87
authored
Nov 03, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): 新增公司代码类型处理器
- 创建 CompanyCodeTypeHandler 类实现 TypeHandler 接口 - 注册为 Spring 组件,名称为 companyCodeTypeHandler- 实现 handle 方法调用 CommonCustomConverter 转换公司代码 - 添加类注释说明标签处理器功能
parent
9c274978
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
CompanyCodeTypeHandler.java
...odule/jg/biz/edit/typeHandler/CompanyCodeTypeHandler.java
+16
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/typeHandler/CompanyCodeTypeHandler.java
0 → 100644
View file @
c2e10f87
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
edit
.
typeHandler
;
import
com.yeejoin.amos.boot.biz.common.typeHandler.TypeHandler
;
import
com.yeejoin.amos.boot.module.common.api.converter.CommonCustomConverter
;
import
org.springframework.stereotype.Component
;
/**
* 标签处理器处理器
*/
@Component
(
"companyCodeTypeHandler"
)
public
class
CompanyCodeTypeHandler
implements
TypeHandler
<
String
>
{
@Override
public
String
handle
(
String
value
)
{
return
CommonCustomConverter
.
CompanyCodeConverter
.
getCompanyCodeByName
(
value
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment