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
fa7bfdc1
Commit
fa7bfdc1
authored
Oct 09, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏bug修改
parent
ea9974dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
EnterpriseBizServiceImpl.java
.../statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
+8
-5
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+2
-2
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+4
-1
No files found.
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/EnterpriseBizServiceImpl.java
View file @
fa7bfdc1
...
@@ -15,6 +15,7 @@ import com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper;
...
@@ -15,6 +15,7 @@ import com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.lucene.queryparser.classic.QueryParser
;
import
org.apache.lucene.queryparser.classic.QueryParser
;
import
org.elasticsearch.action.search.SearchRequest
;
import
org.elasticsearch.action.search.SearchRequest
;
import
org.elasticsearch.action.search.SearchResponse
;
import
org.elasticsearch.action.search.SearchResponse
;
...
@@ -97,11 +98,13 @@ public class EnterpriseBizServiceImpl {
...
@@ -97,11 +98,13 @@ public class EnterpriseBizServiceImpl {
}
}
if
(
tzBaseEnterpriseInfoDto
.
getUnitType
().
contains
(
UnitTypeEnum
.
JYJCJG
.
getName
())){
if
(
tzBaseEnterpriseInfoDto
.
getUnitType
().
contains
(
UnitTypeEnum
.
JYJCJG
.
getName
())){
String
jyjcStatus
=
tzBaseEnterpriseInfoDto
.
getJyjcStatus
();
if
(!
ObjectUtils
.
isEmpty
(
tzBaseEnterpriseInfoDto
.
getJyjcStatus
())){
String
[]
array
=
jyjcStatus
.
split
(
"-"
);
String
jyjcStatus
=
tzBaseEnterpriseInfoDto
.
getJyjcStatus
();
tzBaseEnterpriseInfoDto
.
setJyjcStatus
(
array
[
0
]);
String
[]
array
=
jyjcStatus
.
split
(
"-"
);
if
(
array
.
length
>
1
){
tzBaseEnterpriseInfoDto
.
setJyjcStatus
(
array
[
0
]);
tzBaseEnterpriseInfoDto
.
setJyjcType
(
array
[
1
]);
if
(
array
.
length
>
1
){
tzBaseEnterpriseInfoDto
.
setJyjcType
(
array
[
1
]);
}
}
}
}
}
...
...
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 @
fa7bfdc1
...
@@ -3263,7 +3263,7 @@ public class JGDPStatisticsServiceImpl {
...
@@ -3263,7 +3263,7 @@ public class JGDPStatisticsServiceImpl {
return
new
HashMap
<>();
return
new
HashMap
<>();
}
}
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
String
sourceTypeCode
=
problemModel
.
getSourceTypeCode
();
String
sourceTypeCode
=
"all"
.
equals
(
problemModel
.
getSourceTypeCode
())
?
null
:
problemModel
.
getSourceTypeCode
();
List
<
String
>
xdata
=
safetyProblemTracingMapper
.
getBusinessType
(
sourceTypeCode
,
orgCode
);
List
<
String
>
xdata
=
safetyProblemTracingMapper
.
getBusinessType
(
sourceTypeCode
,
orgCode
);
if
(
ObjectUtils
.
isEmpty
(
xdata
)){
if
(
ObjectUtils
.
isEmpty
(
xdata
)){
return
resultMap
;
return
resultMap
;
...
@@ -3328,7 +3328,7 @@ public class JGDPStatisticsServiceImpl {
...
@@ -3328,7 +3328,7 @@ public class JGDPStatisticsServiceImpl {
List
<
HashMap
<
String
,
Object
>>
enumList
=
JgBusinessTypeEnum
.
getEnumList
();
List
<
HashMap
<
String
,
Object
>>
enumList
=
JgBusinessTypeEnum
.
getEnumList
();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"title"
,
"监督管理全部业务
类型
"
);
map
.
put
(
"title"
,
"监督管理全部业务"
);
map
.
put
(
"value"
,
"all"
);
map
.
put
(
"value"
,
"all"
);
map
.
put
(
"children"
,
enumList
);
map
.
put
(
"children"
,
enumList
);
result
.
add
(
map
);
result
.
add
(
map
);
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
fa7bfdc1
...
@@ -98,7 +98,10 @@
...
@@ -98,7 +98,10 @@
tz_base_enterprise_info
tz_base_enterprise_info
<if
test=
" tzBaseEnterpriseInfoDto.unitType.indexOf('检验检测机构') !=-1 "
>
<if
test=
" tzBaseEnterpriseInfoDto.unitType.indexOf('检验检测机构') !=-1 "
>
JOIN (select unit_code,max(accept_date) from tz_jyjc_opening_application
JOIN (select unit_code,max(accept_date) from tz_jyjc_opening_application
where status = #{tzBaseEnterpriseInfoDto.jyjcStatus}
where 1=1
<if
test=
" tzBaseEnterpriseInfoDto.jyjcStatus!=null and tzBaseEnterpriseInfoDto.jyjcStatus!='' "
>
and status = #{tzBaseEnterpriseInfoDto.jyjcStatus}
</if>
<if
test=
" tzBaseEnterpriseInfoDto.jyjcType!=null and tzBaseEnterpriseInfoDto.jyjcType!='' "
>
<if
test=
" tzBaseEnterpriseInfoDto.jyjcType!=null and tzBaseEnterpriseInfoDto.jyjcType!='' "
>
and open_biz_type = #{tzBaseEnterpriseInfoDto.jyjcType}
and open_biz_type = #{tzBaseEnterpriseInfoDto.jyjcType}
</if>
</if>
...
...
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