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
a6860509
Commit
a6860509
authored
Jan 03, 2025
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.公司详情增加证件类型
2.人员列表增加设备类型字段和筛选字段为equipTypeName,筛选条件为equipType
parent
c1adfde9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
2 deletions
+30
-2
PlanTask.xml
...ule-statistics-api/src/main/resources/mapper/PlanTask.xml
+5
-1
EnterpriseBizByTCMServiceImpl.java
...istcs/biz/service/impl/EnterpriseBizByTCMServiceImpl.java
+24
-1
company.json
...odule-statistics-biz/src/main/resources/json/company.json
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/PlanTask.xml
View file @
a6860509
...
@@ -103,7 +103,8 @@
...
@@ -103,7 +103,8 @@
tui.profile,
tui.profile,
tui.certificate_num certificateNum,
tui.certificate_num certificateNum,
tui.post_name postName,
tui.post_name postName,
tui.phone
tui.phone,
tui.equip_type equipType
FROM
FROM
tzs_user_info tui
tzs_user_info tui
where
where
...
@@ -117,6 +118,9 @@
...
@@ -117,6 +118,9 @@
<if
test=
"map.post != null and map.post != ''"
>
<if
test=
"map.post != null and map.post != ''"
>
AND tui.post LIKE concat ( '%', #{map.post}, '%' )
AND tui.post LIKE concat ( '%', #{map.post}, '%' )
</if>
</if>
<if
test=
"map.equipType != null and map.equipType != ''"
>
AND tui.equip_type LIKE concat ( '%', #{map.equipType}, '%' )
</if>
</select>
</select>
<select
id=
"getPostList"
resultType=
"java.util.Map"
>
<select
id=
"getPostList"
resultType=
"java.util.Map"
>
SELECT
SELECT
...
...
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/EnterpriseBizByTCMServiceImpl.java
View file @
a6860509
...
@@ -28,8 +28,10 @@ import com.yeejoin.amos.boot.module.statistics.api.mapper.EnterpriseBizMapper;
...
@@ -28,8 +28,10 @@ import com.yeejoin.amos.boot.module.statistics.api.mapper.EnterpriseBizMapper;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.PlanTaskMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.PlanTaskMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.TzsBaseInstitutionMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.TzsBaseInstitutionMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.BaseUnitLicenceMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.BaseUnitLicenceMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.ymt.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.ymt.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.flc.api.dto.RegUnitInfoDto
;
...
@@ -86,6 +88,8 @@ public class EnterpriseBizByTCMServiceImpl {
...
@@ -86,6 +88,8 @@ public class EnterpriseBizByTCMServiceImpl {
private
PlanTaskMapper
planTaskMapper
;
private
PlanTaskMapper
planTaskMapper
;
private
EquipmentCategoryMapper
equipmentCategoryMapper
;
public
EnterpriseBizByTCMServiceImpl
(
RedisUtils
redisUtils
,
StCommonServiceImpl
stCommonService
,
public
EnterpriseBizByTCMServiceImpl
(
RedisUtils
redisUtils
,
StCommonServiceImpl
stCommonService
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
EnterpriseBizMapper
enterpriseBizMapper
,
EnterpriseBizMapper
enterpriseBizMapper
,
...
@@ -95,7 +99,8 @@ public class EnterpriseBizByTCMServiceImpl {
...
@@ -95,7 +99,8 @@ public class EnterpriseBizByTCMServiceImpl {
BaseUnitLicenceMapper
baseUnitLicenceMapper
,
BaseUnitLicenceMapper
baseUnitLicenceMapper
,
RegUnitInfoMapper
regUnitInfoMapper
,
RegUnitInfoMapper
regUnitInfoMapper
,
RegUnitIcMapper
regUnitIcMapper
,
RegUnitIcMapper
regUnitIcMapper
,
PlanTaskMapper
planTaskMapper
)
{
PlanTaskMapper
planTaskMapper
,
EquipmentCategoryMapper
equipmentCategoryMapper
)
{
this
.
redisUtils
=
redisUtils
;
this
.
redisUtils
=
redisUtils
;
this
.
stCommonService
=
stCommonService
;
this
.
stCommonService
=
stCommonService
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
...
@@ -107,6 +112,7 @@ public class EnterpriseBizByTCMServiceImpl {
...
@@ -107,6 +112,7 @@ public class EnterpriseBizByTCMServiceImpl {
this
.
regUnitInfoMapper
=
regUnitInfoMapper
;
this
.
regUnitInfoMapper
=
regUnitInfoMapper
;
this
.
regUnitIcMapper
=
regUnitIcMapper
;
this
.
regUnitIcMapper
=
regUnitIcMapper
;
this
.
planTaskMapper
=
planTaskMapper
;
this
.
planTaskMapper
=
planTaskMapper
;
this
.
equipmentCategoryMapper
=
equipmentCategoryMapper
;
}
}
public
Map
<
String
,
Object
>
getInfoByUseCodeMap
(
String
useCode
)
{
public
Map
<
String
,
Object
>
getInfoByUseCodeMap
(
String
useCode
)
{
...
@@ -441,6 +447,23 @@ public class EnterpriseBizByTCMServiceImpl {
...
@@ -441,6 +447,23 @@ public class EnterpriseBizByTCMServiceImpl {
public
Page
<
Map
<
String
,
Object
>>
getPersonPage
(
JSONObject
map
,
Page
page
)
{
public
Page
<
Map
<
String
,
Object
>>
getPersonPage
(
JSONObject
map
,
Page
page
)
{
Page
<
Map
<
String
,
Object
>>
result
=
planTaskMapper
.
getPersonPage
(
page
,
map
);
Page
<
Map
<
String
,
Object
>>
result
=
planTaskMapper
.
getPersonPage
(
page
,
map
);
List
<
EquipmentCategoryDto
>
equipmentCategoryDtos
=
equipmentCategoryMapper
.
selectClassify
();
Map
<
String
,
String
>
equipType
=
new
HashMap
<>();
for
(
EquipmentCategoryDto
dto
:
equipmentCategoryDtos
){
equipType
.
put
(
dto
.
getCode
(),
dto
.
getName
());
}
for
(
Map
<
String
,
Object
>
m
:
result
.
getRecords
()){
if
(
StrUtil
.
isNotEmpty
((
String
)
m
.
get
(
"equipType"
))){
JSONArray
array
=
JSONArray
.
parseArray
(
m
.
get
(
"equipType"
)+
""
);
array
.
forEach
(
t
->{
if
(
StrUtil
.
isEmpty
((
String
)
m
.
get
(
"equipTypeName"
))){
m
.
put
(
"equipTypeName"
,
equipType
.
get
(
t
+
""
));
}
else
{
m
.
put
(
"equipTypeName"
,
m
.
get
(
"equipTypeName"
)+
"/"
+
equipType
.
get
(
t
+
""
));
}
});
}
}
return
result
;
return
result
;
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/company.json
View file @
a6860509
...
@@ -139,6 +139,7 @@
...
@@ -139,6 +139,7 @@
"keyParams"
:
[
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"单位类型"
},
{
"key"
:
"unitType"
,
"label"
:
"单位类型"
},
{
"key"
:
"useUnit"
,
"label"
:
"单位名称"
},
{
"key"
:
"useUnit"
,
"label"
:
"单位名称"
},
{
"key"
:
"useUnitCertificate"
,
"label"
:
"证件类型"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"证件号码"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"证件号码"
},
{
"key"
:
"governingBody"
,
"label"
:
"管辖机构"
},
{
"key"
:
"governingBody"
,
"label"
:
"管辖机构"
},
{
"key"
:
"address"
,
"label"
:
"地址"
},
{
"key"
:
"address"
,
"label"
:
"地址"
},
...
...
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