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
47adedaa
Commit
47adedaa
authored
Apr 18, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.自测发现的大屏企业数据过滤问题bug修改
parent
8fb30fca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
26 deletions
+35
-26
SkjsCompanyCountItemDto.java
...ot/module/statistics/api/dto/SkjsCompanyCountItemDto.java
+7
-6
SkjsEquipCountItemDto.java
...boot/module/statistics/api/dto/SkjsEquipCountItemDto.java
+10
-9
EnterpriseBizMapper.xml
...ics-api/src/main/resources/mapper/EnterpriseBizMapper.xml
+7
-5
EnterpriseBizServiceImpl.java
.../statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
+11
-6
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/dto/SkjsCompanyCountItemDto.java
View file @
47adedaa
...
...
@@ -50,11 +50,11 @@ public class SkjsCompanyCountItemDto {
private
String
sjdw
;
public
void
setDefaultValues
()
{
this
.
sydw
=
""
;
this
.
zzdw
=
""
;
this
.
agwdw
=
""
;
this
.
czdw
=
""
;
this
.
jyjcjg
=
""
;
this
.
sjdw
=
""
;
this
.
sydw
=
"
0
"
;
this
.
zzdw
=
"
0
"
;
this
.
agwdw
=
"
0
"
;
this
.
czdw
=
"
0
"
;
this
.
jyjcjg
=
"
0
"
;
this
.
sjdw
=
"
0
"
;
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/dto/SkjsEquipCountItemDto.java
View file @
47adedaa
...
...
@@ -68,14 +68,14 @@ public class SkjsEquipCountItemDto {
private
String
qp
;
public
void
setDefaultValues
()
{
this
.
dt
=
""
;
this
.
qzjx
=
""
;
this
.
kysd
=
""
;
this
.
dxylss
=
""
;
this
.
cc
=
""
;
this
.
gl
=
""
;
this
.
ylrq
=
"
"
;
this
.
yl
gd
=
"
"
;
this
.
qp
=
"
"
;
this
.
dt
=
"
0
"
;
this
.
qzjx
=
"
0
"
;
this
.
kysd
=
"
0
"
;
this
.
dxylss
=
"
0
"
;
this
.
cc
=
"
0
"
;
this
.
gl
=
"
0
"
;
this
.
qp
=
"0
"
;
this
.
yl
rq
=
"0
"
;
this
.
ylgd
=
"0
"
;
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/EnterpriseBizMapper.xml
View file @
47adedaa
...
...
@@ -81,8 +81,7 @@
test=
"tzBaseEnterpriseInfoDto.legalPhone!=null and tzBaseEnterpriseInfoDto.legalPhone!='' "
>
AND legal_phone LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.legalPhone},'%')
</if>
<if
test=
"tzBaseEnterpriseInfoDto.superviseOrgCode!=null and tzBaseEnterpriseInfoDto.superviseOrgCode!='' "
>
<if
test=
"tzBaseEnterpriseInfoDto.superviseOrgCode!=null and tzBaseEnterpriseInfoDto.superviseOrgCode!='' "
>
AND supervise_org_code LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.superviseOrgCode},'%')
</if>
<if
...
...
@@ -97,12 +96,15 @@
</if>
<if
test=
"orgCodeList != null and !orgCodeList.isEmpty()"
>
AND (
<foreach
collection=
"orgCodeList"
item=
"
item"
separator=
" OR
"
>
supervise_org_code LIKE CONCAT('%', #{item}, '%'
)
<foreach
collection=
"orgCodeList"
item=
"
orgCode"
separator=
"and"
open=
"("
close=
")
"
>
(supervise_org_code != '50' and supervise_org_code LIKE CONCAT (#{orgCode}, '%')
)
</foreach>
<if
test=
"tzBaseEnterpriseInfoDto.cityCode!=null and tzBaseEnterpriseInfoDto.cityCode!='' "
>
or (a.supervise_org_code = '50' and a.office_region LIKE CONCAT ('%',
#{tzBaseEnterpriseInfoDto.cityCode}, '%'))
</if>
)
</if>
<if
test=
"tzBaseEnterpriseInfoDto.industrySupervisor!=null and tzBaseEnterpriseInfoDto.industrySupervisor!='' "
>
AND (industry_supervisor = #{tzBaseEnterpriseInfoDto.industrySupervisor}
<if
test=
" tzBaseEnterpriseInfoDto.industrySupervisor == '6527' "
>
...
...
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 @
47adedaa
...
...
@@ -64,10 +64,16 @@ public class EnterpriseBizServiceImpl {
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
List
<
String
>
orgCodeList
=
new
ArrayList
<>();
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()
!=
null
)
{
FeignClientResult
<
CompanyModel
>
result
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
valueOf
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()));
if
(
result
.
getResult
()
!=
null
)
{
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
result
.
getResult
().
getOrgCode
());
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
contains
(
"_"
)){
String
regionCode
=
tzBaseEnterpriseInfoDto
.
getSuperviseKey
().
split
(
"_"
)[
0
];
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
regionCode
);
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
orgCode
);
}
else
{
FeignClientResult
<
CompanyModel
>
result
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
valueOf
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()));
if
(
result
.
getResult
()
!=
null
)
{
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
result
.
getResult
().
getOrgCode
());
}
}
}
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
...
...
@@ -80,7 +86,6 @@ public class EnterpriseBizServiceImpl {
}
}
}
if
(
tzBaseEnterpriseInfoDto
.
getCityCode
()
!=
null
)
{
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
tzBaseEnterpriseInfoDto
.
getCityCode
());
if
(
orgCode
==
null
)
{
...
...
@@ -88,8 +93,8 @@ public class EnterpriseBizServiceImpl {
}
orgCodeList
.
add
(
orgCode
);
}
List
<
String
>
unitTypeList
=
new
ArrayList
<>();
unitTypeList
.
add
(
tzBaseEnterpriseInfoDto
.
getUnitType
());
if
(
UnitTypeEnum
.
SYDW
.
getName
().
equals
(
tzBaseEnterpriseInfoDto
.
getUnitType
()))
{
unitTypeList
.
add
(
UnitTypeEnum
.
GRZT
.
getName
());
...
...
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