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
36526034
Commit
36526034
authored
Oct 30, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
71ca1109
58231f32
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
44 additions
and
19 deletions
+44
-19
BusinessTypeEnum.java
...ejoin/amos/boot/module/jg/api/enums/BusinessTypeEnum.java
+1
-1
SafetyProblemTypeEnum.java
.../amos/boot/module/jg/api/enums/SafetyProblemTypeEnum.java
+1
-1
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+0
-0
JgUseRegistrationController.java
...module/jg/biz/controller/JgUseRegistrationController.java
+1
-1
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+24
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-1
ReportAnalysisServiceImpl.java
...module/jg/biz/service/impl/ReportAnalysisServiceImpl.java
+1
-1
superviseBusinessCategory.json
...iz/src/main/resources/json/superviseBusinessCategory.json
+1
-1
superviseBusinessCategory0715.json
...rc/main/resources/json/superviseBusinessCategory0715.json
+1
-1
urlInfo.json
...s-boot-module-jg-biz/src/main/resources/json/urlInfo.json
+3
-3
BusinessTypeEnum.java
...oin/amos/boot/module/jyjc/api/enums/BusinessTypeEnum.java
+1
-1
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+1
-1
ApplicationFormTypeEnum.java
...os/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
+1
-1
pom.xml
pom.xml
+6
-5
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/enums/BusinessTypeEnum.java
View file @
36526034
...
@@ -20,7 +20,7 @@ public enum BusinessTypeEnum {
...
@@ -20,7 +20,7 @@ public enum BusinessTypeEnum {
JG_ADVICE_REMOVAL
(
"105"
,
"移装告知"
),
JG_ADVICE_REMOVAL
(
"105"
,
"移装告知"
),
JG_MAINTENANCE_RECORD
(
"106"
,
"维保备案"
),
JG_MAINTENANCE_RECORD
(
"106"
,
"维保
合同
备案"
),
JG_USAGE_REGISTRATION
(
"107"
,
"使用登记"
),
JG_USAGE_REGISTRATION
(
"107"
,
"使用登记"
),
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/enums/SafetyProblemTypeEnum.java
View file @
36526034
...
@@ -16,7 +16,7 @@ public enum SafetyProblemTypeEnum {
...
@@ -16,7 +16,7 @@ public enum SafetyProblemTypeEnum {
JYCQ
(
"2"
,
"检验超期"
,
"设备检验超期"
,
"safetyProblemTracing/jy/cq"
,
"outOfInspectionRecords"
),
JYCQ
(
"2"
,
"检验超期"
,
"设备检验超期"
,
"safetyProblemTracing/jy/cq"
,
"outOfInspectionRecords"
),
JYBJ
(
"21"
,
"检验报检"
,
"设备报检"
,
"safetyProblemTracing/jy/bj"
,
null
),
JYBJ
(
"21"
,
"检验报检"
,
"设备报检"
,
"safetyProblemTracing/jy/bj"
,
null
),
WBCQ
(
"1"
,
"维保超期"
,
"设备维保超期"
,
"safetyProblemTracing/wb/cq"
,
"outOfMaintenanceRecords"
),
WBCQ
(
"1"
,
"维保超期"
,
"设备维保超期"
,
"safetyProblemTracing/wb/cq"
,
"outOfMaintenanceRecords"
),
WBBA
(
"11"
,
"维保
备案"
,
"设备维保
备案"
,
"safetyProblemTracing/wb/ba"
,
null
),
WBBA
(
"11"
,
"维保
合同备案"
,
"设备维保合同
备案"
,
"safetyProblemTracing/wb/ba"
,
null
),
ZZCQ
(
"3"
,
"资质超期"
,
"企业资质超期"
,
"safetyProblemTracing/zz/cq"
,
null
);
ZZCQ
(
"3"
,
"资质超期"
,
"企业资质超期"
,
"safetyProblemTracing/zz/cq"
,
null
);
private
final
String
code
;
private
final
String
code
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
36526034
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgUseRegistrationController.java
View file @
36526034
...
@@ -114,7 +114,7 @@ public class JgUseRegistrationController extends BaseController {
...
@@ -114,7 +114,7 @@ public class JgUseRegistrationController extends BaseController {
Page
<
Map
<
String
,
Object
>>
list
=
jgUseRegistrationServiceImpl
.
getList
(
dto
,
sort
,
page
,
dto
.
getRoleIds
());
Page
<
Map
<
String
,
Object
>>
list
=
jgUseRegistrationServiceImpl
.
getList
(
dto
,
sort
,
page
,
dto
.
getRoleIds
());
list
.
getRecords
().
forEach
(
x
->
{
list
.
getRecords
().
forEach
(
x
->
{
x
.
put
(
"companyType"
,
info
.
getCompany
().
getCompanyType
());
x
.
put
(
"companyType"
,
info
.
getCompany
().
getCompanyType
());
x
.
put
(
"regType
Desc
"
,
"1"
.
equals
(
x
.
get
(
"regType"
))
?
"历史登记"
:
"新增登记"
);
x
.
put
(
"regType"
,
"1"
.
equals
(
x
.
get
(
"regType"
))
?
"历史登记"
:
"新增登记"
);
});
});
return
ResponseHelper
.
buildResponse
(
list
);
return
ResponseHelper
.
buildResponse
(
list
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/CommonServiceImpl.java
View file @
36526034
...
@@ -2011,6 +2011,30 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -2011,6 +2011,30 @@ public class CommonServiceImpl implements ICommonService {
return
optionalSortMap
.
orElse
(
null
);
return
optionalSortMap
.
orElse
(
null
);
}
}
/**
* 排序字段不转下滑线 排序 :页面列表排序功能支持,将 "字段,ascend" 或 "字段,descend" 转化为对应JSONObject
*
* @param sort "字段,ascend" 或 "字段,descend"
* @return JSONObject
*/
public
SortVo
sortFieldConversionNoToUnderline
(
String
sort
)
{
Optional
<
String
>
optionalSort
=
Optional
.
ofNullable
(
sort
);
Optional
<
SortVo
>
optionalSortMap
=
optionalSort
.
filter
(
s
->
!
s
.
isEmpty
())
.
map
(
s
->
{
String
[]
sortParts
=
s
.
split
(
","
);
if
(
sortParts
.
length
==
2
)
{
String
field
=
sortParts
[
0
];
String
sortSituation
=
sortParts
[
1
].
contains
(
"asc"
)
?
"ASC"
:
"DESC"
;
return
SortVo
.
builder
()
.
field
(
field
)
.
sortType
(
sortSituation
)
.
build
();
}
return
null
;
});
return
optionalSortMap
.
orElse
(
null
);
}
@Override
@Override
public
void
fightUseFlagGenerate
(
UseFlagParamDto
useFlagParamDto
,
HttpServletResponse
response
)
{
public
void
fightUseFlagGenerate
(
UseFlagParamDto
useFlagParamDto
,
HttpServletResponse
response
)
{
Objects
.
requireNonNull
(
useFlagParamDto
,
"参数不能为空"
);
Objects
.
requireNonNull
(
useFlagParamDto
,
"参数不能为空"
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
36526034
...
@@ -1144,7 +1144,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -1144,7 +1144,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
// 维保备案
// 维保备案
Map
<
String
,
Object
>
maintenanceDetail
=
jgUseRegistrationMapper
.
getMaintenanceDetail
(
record
);
Map
<
String
,
Object
>
maintenanceDetail
=
jgUseRegistrationMapper
.
getMaintenanceDetail
(
record
);
if
(!
ObjectUtils
.
isEmpty
(
maintenanceDetail
))
{
if
(!
ObjectUtils
.
isEmpty
(
maintenanceDetail
))
{
business
=
business
+
",维保备案"
;
business
=
business
+
",维保
合同
备案"
;
objMap
.
putAll
(
maintenanceDetail
);
objMap
.
putAll
(
maintenanceDetail
);
objMap
.
put
(
"maintenanceContract"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintenanceContract"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintenanceContract"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintenanceContract"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintOtherAccessories"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintOtherAccessories"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintOtherAccessories"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintOtherAccessories"
)).
orElse
(
""
).
toString
()));
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
36526034
...
@@ -275,7 +275,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -275,7 +275,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
}
}
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgUseRegistrationDto
dto
,
String
sort
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgUseRegistrationDto
dto
,
String
sort
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
SortVo
sortMap
=
commonServiceImpl
.
sortFieldConversion
(
sort
);
SortVo
sortMap
=
commonServiceImpl
.
sortFieldConversion
NoToUnderline
(
sort
);
return
this
.
baseMapper
.
getListPage
(
page
,
sortMap
,
dto
,
roleIds
);
return
this
.
baseMapper
.
getListPage
(
page
,
sortMap
,
dto
,
roleIds
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/ReportAnalysisServiceImpl.java
View file @
36526034
...
@@ -218,7 +218,7 @@ public class ReportAnalysisServiceImpl implements IReportAnalysisService {
...
@@ -218,7 +218,7 @@ public class ReportAnalysisServiceImpl implements IReportAnalysisService {
// 已去重行数据为集合,填充每种流程状态下单据的数量及将code->name
// 已去重行数据为集合,填充每种流程状态下单据的数量及将code->name
return
countVoSet
.
stream
().
map
(
c
->
{
return
countVoSet
.
stream
().
map
(
c
->
{
JgBizCountBaseVo
vo
=
new
JgBizCountBaseVo
();
JgBizCountBaseVo
vo
=
new
JgBizCountBaseVo
();
vo
.
setBizGroup
(
"维保备案"
);
vo
.
setBizGroup
(
"维保
合同
备案"
);
return
buildJgBizCountBaseVo
(
countDataBOList
,
c
,
vo
,
mainLaunchesStatusList
,
false
);
return
buildJgBizCountBaseVo
(
countDataBOList
,
c
,
vo
,
mainLaunchesStatusList
,
false
);
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/superviseBusinessCategory.json
View file @
36526034
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
],
],
"WBBA"
:
[
"WBBA"
:
[
{
{
"name"
:
"维保备案"
,
"name"
:
"维保
合同
备案"
,
"code"
:
"WB_BA"
,
"code"
:
"WB_BA"
,
"image"
:
"upload/tzs/common/image/维保备案.png"
"image"
:
"upload/tzs/common/image/维保备案.png"
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/superviseBusinessCategory0715.json
View file @
36526034
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
],
],
"WBBA"
:
[
"WBBA"
:
[
{
{
"name"
:
"维保备案"
,
"name"
:
"维保
合同
备案"
,
"code"
:
"WB_BA"
,
"code"
:
"WB_BA"
,
"image"
:
"upload/tzs/common/image/维保备案.png"
"image"
:
"upload/tzs/common/image/维保备案.png"
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/urlInfo.json
View file @
36526034
...
@@ -92,19 +92,19 @@
...
@@ -92,19 +92,19 @@
{
{
"type"
:
"106"
,
"type"
:
"106"
,
"pageType"
:
"draft"
,
"pageType"
:
"draft"
,
"name"
:
"维保备案"
,
"name"
:
"维保
合同
备案"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1737347718667333633&roleIds={roleIds}&userId={userId}&pageType=edit"
"url"
:
"/mixuap?appId=1742358052905971713&id=1737347718667333633&roleIds={roleIds}&userId={userId}&pageType=edit"
},
},
{
{
"type"
:
"106"
,
"type"
:
"106"
,
"pageType"
:
"edit"
,
"pageType"
:
"edit"
,
"name"
:
"维保备案"
,
"name"
:
"维保
合同
备案"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1735612073380966402&roleIds={roleIds}&userId={userId}&pageType=edit"
"url"
:
"/mixuap?appId=1742358052905971713&id=1735612073380966402&roleIds={roleIds}&userId={userId}&pageType=edit"
},
},
{
{
"type"
:
"106"
,
"type"
:
"106"
,
"pageType"
:
"look"
,
"pageType"
:
"look"
,
"name"
:
"维保备案"
,
"name"
:
"维保
合同
备案"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1735612073380966402&roleIds={roleIds}&userId={userId}&pageType=look"
"url"
:
"/mixuap?appId=1742358052905971713&id=1735612073380966402&roleIds={roleIds}&userId={userId}&pageType=look"
},
},
{
{
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/enums/BusinessTypeEnum.java
View file @
36526034
...
@@ -20,7 +20,7 @@ public enum BusinessTypeEnum {
...
@@ -20,7 +20,7 @@ public enum BusinessTypeEnum {
JG_ADVICE_REMOVAL
(
"105"
,
"移装告知"
),
JG_ADVICE_REMOVAL
(
"105"
,
"移装告知"
),
JG_MAINTENANCE_RECORD
(
"106"
,
"维保备案"
),
JG_MAINTENANCE_RECORD
(
"106"
,
"维保
合同
备案"
),
JG_USAGE_REGISTRATION
(
"107"
,
"使用登记"
),
JG_USAGE_REGISTRATION
(
"107"
,
"使用登记"
),
...
...
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/JGDPStatisticsServiceImpl.java
View file @
36526034
...
@@ -2819,7 +2819,7 @@ public class JGDPStatisticsServiceImpl {
...
@@ -2819,7 +2819,7 @@ public class JGDPStatisticsServiceImpl {
// 维保备案
// 维保备案
Map
<
String
,
Object
>
maintenanceDetail
=
useRegistrationMapper
.
getMaintenanceDetail
(
record
);
Map
<
String
,
Object
>
maintenanceDetail
=
useRegistrationMapper
.
getMaintenanceDetail
(
record
);
if
(!
ObjectUtils
.
isEmpty
(
maintenanceDetail
))
{
if
(!
ObjectUtils
.
isEmpty
(
maintenanceDetail
))
{
business
=
business
+
",维保备案"
;
business
=
business
+
",维保
合同
备案"
;
objMap
.
putAll
(
maintenanceDetail
);
objMap
.
putAll
(
maintenanceDetail
);
objMap
.
put
(
"maintenanceContract"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintenanceContract"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintenanceContract"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintenanceContract"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintOtherAccessories"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintOtherAccessories"
)).
orElse
(
""
).
toString
()));
objMap
.
put
(
"maintOtherAccessories"
,
JSON
.
parse
(
Optional
.
ofNullable
(
maintenanceDetail
.
get
(
"maintOtherAccessories"
)).
orElse
(
""
).
toString
()));
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
View file @
36526034
...
@@ -19,7 +19,7 @@ public enum ApplicationFormTypeEnum {
...
@@ -19,7 +19,7 @@ public enum ApplicationFormTypeEnum {
* 申请单枚举
* 申请单枚举
*/
*/
AZGZ
(
"AZGZ"
,
"GZ_AZ"
),
//安装告知
AZGZ
(
"AZGZ"
,
"GZ_AZ"
),
//安装告知
WBBA
(
"WBBA"
,
"WB_BA"
),
//维保备案
WBBA
(
"WBBA"
,
"WB_BA"
),
//维保
合同
备案
SYDJ
(
"SYDJ"
,
"DJ_SY"
),
//使用登记
SYDJ
(
"SYDJ"
,
"DJ_SY"
),
//使用登记
SBYJ
(
"SBYJ"
,
"SB_YJ"
),
//设备移交
SBYJ
(
"SBYJ"
,
"SB_YJ"
),
//设备移交
GZGZ
(
"GZGZ"
,
"GZ_GZ"
),
//改造告知
GZGZ
(
"GZGZ"
,
"GZ_GZ"
),
//改造告知
...
...
pom.xml
View file @
36526034
...
@@ -292,30 +292,30 @@
...
@@ -292,30 +292,30 @@
<repository>
<repository>
<id>
Releases
</id>
<id>
Releases
</id>
<name>
Releases
</name>
<name>
Releases
</name>
<url>
http://
113.142.68.105
:8081/nexus/content/repositories/releases/
</url>
<url>
http://
47.92.103.240
:8081/nexus/content/repositories/releases/
</url>
</repository>
</repository>
<repository>
<repository>
<id>
com.e-iceblue
</id>
<id>
com.e-iceblue
</id>
<name>
e-iceblue
</name>
<name>
e-iceblue
</name>
<url>
http://
113.142.68.105
:8081/nexus/content/groups/public/
</url>
<url>
http://
47.92.103.240
:8081/nexus/content/groups/public/
</url>
</repository>
</repository>
<repository>
<repository>
<id>
Snapshots
</id>
<id>
Snapshots
</id>
<name>
Snapshots
</name>
<name>
Snapshots
</name>
<url>
http://
113.142.68.105
:8081/nexus/content/repositories/snapshots/
</url>
<url>
http://
47.92.103.240
:8081/nexus/content/repositories/snapshots/
</url>
</repository>
</repository>
<repository>
<repository>
<id>
thirdparty
</id>
<id>
thirdparty
</id>
<name>
thirdparty
</name>
<name>
thirdparty
</name>
<url>
http://113.142.68.105
:8081/nexus/content/repositories/thirdparty/
</url>
<url>
http://47.92.103.240
:8081/nexus/content/repositories/thirdparty/
</url>
</repository>
</repository>
</repositories>
</repositories>
<modules>
<modules>
<module>
amos-boot-biz-common
</module>
<module>
amos-boot-biz-common
</module>
<module>
amos-boot-system-tzs
</module>
<module>
amos-boot-data
</module>
<module>
amos-boot-data
</module>
<module>
amos-boot-system-tzs
</module>
</modules>
</modules>
</project>
</project>
\ No newline at end of file
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