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
9b9059f8
Commit
9b9059f8
authored
Jun 26, 2025
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(statistics): 添加高级搜索枚举并更新应用名称
- 新增高级搜索枚举类 AdvanceSearchEnum,用于定义高级搜索的相关参数 - 修改应用名称从 TZS-STATISTICS-MAXY 到 TZS-STATISTICS
parent
e1df90bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
1 deletion
+73
-1
AdvanceSearchEnum.java
...s/boot/module/statistics/api/enums/AdvanceSearchEnum.java
+72
-0
application.properties
...-statistics-biz/src/main/resources/application.properties
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/enums/AdvanceSearchEnum.java
0 → 100644
View file @
9b9059f8
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistics
.
api
.
enums
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.yeejoin.amos.boot.biz.common.annotation.TechnicalParameter
;
import
lombok.AllArgsConstructor
;
import
lombok.Getter
;
@AllArgsConstructor
@Getter
public
enum
AdvanceSearchEnum
{
/**
* 高级搜索枚举
*/
USE_ORG_CODE
(
"使用登记证编号"
,
"USE_ORG_CODE"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
EQU_LIST
(
"设备种类"
,
"EQU_LIST"
,
null
,
""
),
EQU_CATEGORY
(
"设备类别"
,
"EQU_CATEGORY"
,
null
,
""
),
EQU_DEFINE
(
"设备品种"
,
"EQU_DEFINE"
,
null
,
""
),
PRODUCT_NAME
(
"设备名称"
,
"PRODUCT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
TECH_PARAM
(
"技术参数"
,
"techParam"
,
null
,
""
),
PARAM_RANGE
(
"参数范围"
,
"paramRange"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
NEXT_INSPECT_DATE
(
"检验有效期"
,
"nextInspectDate"
,
TechnicalParameter
.
ParamType
.
DATE
,
""
),
EQU_STATE
(
"检验有效期"
,
"EQU_STATE"
,
null
,
""
),
// SUPERVISORY_CODE("赋码状态", "", null,""),
// SUPERVISORY_CODE("设备等级", "", null,""),
// SUPERVISORY_CODE("使用年限", "", null,""),
UNIT_TYPE
(
"所属单位类型"
,
"unitType"
,
null
,
""
),
USC_UNIT_NAME
(
"所属单位名称"
,
"USC_UNIT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
PRODUCE_UNIT_NAME
(
"制造单位名称"
,
"PRODUCE_UNIT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
DESIGN_UNIT_NAME
(
"设计单位名称"
,
"DESIGN_UNIT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
ME_UNIT_NAME
(
"维保单位名称"
,
"ME_UNIT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
AZUSC_UNIT_NAME
(
"安装单位名称"
,
"USC_UNIT_NAME"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
CODE96333
(
"96333识别码"
,
"CODE96333"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
SUPERVISORY_CODE
(
"监管码"
,
"SUPERVISORY_CODE"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
EQU_TYPE
(
"设备型号"
,
"EQU_TYPE"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
PRODUCE_DATE
(
"制造日期"
,
"PRODUCE_DATE"
,
TechnicalParameter
.
ParamType
.
DATE
,
""
),
// PRODUCE_DATE("是否进口", "PRODUCE_DATE", TechnicalParameter.ParamType.DATE,""),
USE_PLACE_CODE
(
"使用地点"
,
"USE_PLACE_CODE"
,
TechnicalParameter
.
ParamType
.
STRING
,
""
),
USE_PLACE
(
"使用场所"
,
"USE_PLACE"
,
null
,
""
),
;
private
String
name
;
private
String
code
;
private
TechnicalParameter
.
ParamType
paramType
;
private
String
url
;
public
static
JSONArray
getAll
(){
JSONArray
jsonArray
=
new
JSONArray
();
for
(
AdvanceSearchEnum
item
:
values
())
{
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"name"
,
item
.
name
);
jsonObject
.
put
(
"code"
,
item
.
code
);
jsonObject
.
put
(
"paramType"
,
item
.
paramType
);
jsonObject
.
put
(
"isMulti"
,
false
);
if
(
TechnicalParameter
.
ParamType
.
BIG_DECIMAL
.
equals
(
item
.
paramType
)){
jsonObject
.
put
(
"type"
,
"inputNumber"
);
}
else
if
(
TechnicalParameter
.
ParamType
.
STRING
.
equals
(
item
.
paramType
)){
jsonObject
.
put
(
"type"
,
"input"
);
}
else
if
(
TechnicalParameter
.
ParamType
.
DATE
.
equals
(
item
.
paramType
)){
jsonObject
.
put
(
"type"
,
"date"
);
}
else
{
jsonObject
.
put
(
"type"
,
"select"
);
}
jsonObject
.
put
(
"conditions"
,
ConditionEnum
.
getByCode
(
item
.
paramType
));
jsonObject
.
put
(
"url"
,
item
.
url
);
jsonArray
.
add
(
jsonObject
);
}
return
jsonArray
;
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/application.properties
View file @
9b9059f8
spring.application.name
=
TZS-STATISTICS
-MAXY
spring.application.name
=
TZS-STATISTICS
server.servlet.context-path
=
/statistics
server.port
=
12001
spring.profiles.active
=
dev
...
...
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