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
f2f63ea9
Commit
f2f63ea9
authored
Jul 10, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
5bbd5ec0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
17 deletions
+30
-17
EquipStateEnum.java
...amos/boot/module/statistics/api/enums/EquipStateEnum.java
+2
-1
UnitTypeNewEnum.java
...mos/boot/module/statistics/api/enums/UnitTypeNewEnum.java
+17
-16
ComprehensiveStatisticalAnalysisController.java
...ontroller/ComprehensiveStatisticalAnalysisController.java
+11
-0
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+0
-0
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/EquipStateEnum.java
View file @
f2f63ea9
...
@@ -21,7 +21,8 @@ public enum EquipStateEnum {
...
@@ -21,7 +21,8 @@ public enum EquipStateEnum {
ZY
(
"在用"
,
"1"
),
ZY
(
"在用"
,
"1"
),
TY
(
"停用"
,
"2"
),
TY
(
"停用"
,
"2"
),
ZX
(
"注销"
,
"4"
),
ZX
(
"注销"
,
"4"
),
BF
(
"报废"
,
"3"
)
BF
(
"报废"
,
"3"
),
WZT
(
"无状态"
,
"99"
),
;
;
private
String
name
;
private
String
name
;
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/enums/UnitTypeNewEnum.java
View file @
f2f63ea9
...
@@ -17,27 +17,28 @@ public enum UnitTypeNewEnum {
...
@@ -17,27 +17,28 @@ public enum UnitTypeNewEnum {
* *注册单位类型
* *注册单位类型
*/
*/
sydw
(
"企业"
,
"1232"
,
"use"
),
sydw
(
"企业"
,
"使用单位"
,
"1232"
,
"use"
),
czdw
(
"充装单位"
,
"1231"
,
"license"
),
czdw
(
"充装单位"
,
"
充装单位"
,
"
1231"
,
"license"
),
jydw
(
"检验单位"
,
"1233"
,
"license"
),
jydw
(
"检验单位"
,
"
检验单位"
,
"
1233"
,
"license"
),
jcdw
(
"检测单位"
,
"1233"
,
"license"
),
jcdw
(
"检测单位"
,
"
检测单位"
,
"
1233"
,
"license"
),
azgzwxdw
(
"安装改造维修单位"
,
"1234"
,
"license"
),
azgzwxdw
(
"安装改造维修单位"
,
"
安装改造维修单位"
,
"
1234"
,
"license"
),
zzdw
(
"制造单位"
,
"1236"
,
"license"
),
zzdw
(
"制造单位"
,
"
制造单位"
,
"
1236"
,
"license"
),
sjdw
(
"设计单位"
,
"1235"
,
"license"
),
sjdw
(
"设计单位"
,
"
设计单位"
,
"
1235"
,
"license"
),
grzt
(
"个人主体"
,
"6599"
,
"use"
);
grzt
(
"个人主体"
,
"
个人主体"
,
"
6599"
,
"use"
);
private
String
name
;
private
String
label
;
private
String
value
;
private
String
code
;
private
String
code
;
private
String
type
;
private
String
type
;
public
static
Map
<
String
,
String
>
get
Nam
e
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
get
Valu
e
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
getCode
=
new
HashMap
<>();
public
static
Map
<
String
,
String
>
getCode
=
new
HashMap
<>();
static
{
static
{
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
get
Name
.
put
(
e
.
code
,
e
.
nam
e
);
get
Value
.
put
(
e
.
code
,
e
.
valu
e
);
getCode
.
put
(
e
.
nam
e
,
e
.
code
);
getCode
.
put
(
e
.
valu
e
,
e
.
code
);
}
}
}
}
...
@@ -45,8 +46,8 @@ public enum UnitTypeNewEnum {
...
@@ -45,8 +46,8 @@ public enum UnitTypeNewEnum {
JSONArray
jsonArray
=
new
JSONArray
();
JSONArray
jsonArray
=
new
JSONArray
();
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"label"
,
e
.
name
);
jsonObject
.
put
(
"label"
,
e
.
label
);
jsonObject
.
put
(
"value"
,
e
.
nam
e
);
jsonObject
.
put
(
"value"
,
e
.
valu
e
);
jsonObject
.
put
(
"key"
,
e
.
code
);
jsonObject
.
put
(
"key"
,
e
.
code
);
jsonArray
.
add
(
jsonObject
);
jsonArray
.
add
(
jsonObject
);
}
}
...
@@ -61,8 +62,8 @@ public enum UnitTypeNewEnum {
...
@@ -61,8 +62,8 @@ public enum UnitTypeNewEnum {
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
for
(
UnitTypeNewEnum
e
:
UnitTypeNewEnum
.
values
())
{
if
(
e
.
type
.
equals
(
category
))
{
if
(
e
.
type
.
equals
(
category
))
{
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"label"
,
e
.
name
);
jsonObject
.
put
(
"label"
,
e
.
label
);
jsonObject
.
put
(
"value"
,
e
.
nam
e
);
jsonObject
.
put
(
"value"
,
e
.
valu
e
);
jsonObject
.
put
(
"key"
,
e
.
code
);
jsonObject
.
put
(
"key"
,
e
.
code
);
jsonArray
.
add
(
jsonObject
);
jsonArray
.
add
(
jsonObject
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/ComprehensiveStatisticalAnalysisController.java
View file @
f2f63ea9
...
@@ -127,6 +127,17 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
...
@@ -127,6 +127,17 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/select/queryRYLX"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"高级筛选查询人员类型"
,
notes
=
"高级筛选查询人员类型"
)
public
ResponseModel
<
JSONArray
>
queryRYLX
(
@RequestParam
(
required
=
false
)
String
type
)
{
return
ResponseHelper
.
buildResponse
(
statisticalAnalysisService
.
queryRYLX
(
type
));
}
/**
* @param
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/select/queryZYXM"
)
@GetMapping
(
value
=
"/select/queryZYXM"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询作业项目"
,
notes
=
"查询作业项目"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询作业项目"
,
notes
=
"查询作业项目"
)
public
ResponseModel
<
JSONArray
>
queryZYXM
(
@RequestParam
String
type
)
{
public
ResponseModel
<
JSONArray
>
queryZYXM
(
@RequestParam
String
type
)
{
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
View file @
f2f63ea9
This diff is collapsed.
Click to expand it.
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