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
e528499f
Commit
e528499f
authored
Sep 27, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业列表在类型为使用单位时候加上个人主体统计
parent
ed8ed8c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
14 deletions
+27
-14
EnterpriseBizServiceImpl.java
.../statistcs/biz/service/impl/EnterpriseBizServiceImpl.java
+16
-11
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+11
-3
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 @
e528499f
...
@@ -72,7 +72,7 @@ public class EnterpriseBizServiceImpl {
...
@@ -72,7 +72,7 @@ public class EnterpriseBizServiceImpl {
}
}
}
}
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
/*
List<JSONObject> companyType1 = this.getCompanyType();
List
<
JSONObject
>
companyType1
=
this
.
getCompanyType
();
if
(!
ValidationUtil
.
isEmpty
(
companyType1
))
{
if
(!
ValidationUtil
.
isEmpty
(
companyType1
))
{
for
(
JSONObject
jsonObject
:
companyType1
)
{
for
(
JSONObject
jsonObject
:
companyType1
)
{
String
orgCode
=
jsonObject
.
getString
(
"orgCode"
);
String
orgCode
=
jsonObject
.
getString
(
"orgCode"
);
...
@@ -80,16 +80,21 @@ public class EnterpriseBizServiceImpl {
...
@@ -80,16 +80,21 @@ public class EnterpriseBizServiceImpl {
orgCodeList
.
add
(
orgCode
);
orgCodeList
.
add
(
orgCode
);
}
}
}
}
}*/
}
orgCodeList
.
add
(
"50"
);
if
(
tzBaseEnterpriseInfoDto
.
getCityCode
()
!=
null
)
{
// if (tzBaseEnterpriseInfoDto.getCityCode() != null) {
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
tzBaseEnterpriseInfoDto
.
getCityCode
());
// String orgCode = stCommonService.getAndSetOrgCode(tzBaseEnterpriseInfoDto.getCityCode());
if
(
orgCode
==
null
)
{
// if (orgCode == null) {
return
page
;
// return page;
}
// }
orgCodeList
.
add
(
orgCode
);
// orgCodeList.add(orgCode);
}
// }
List
<
String
>
unitTypeList
=
new
ArrayList
<>();
unitTypeList
.
add
(
tzBaseEnterpriseInfoDto
.
getUnitType
());
if
(
tzBaseEnterpriseInfoDto
.
getUnitType
().
equals
(
UnitTypeEnum
.
SYDW
.
getName
()))
{
unitTypeList
.
add
(
UnitTypeEnum
.
GRZT
.
getName
());
}
if
(
tzBaseEnterpriseInfoDto
.
getUnitType
().
contains
(
UnitTypeEnum
.
JYJCJG
.
getName
())){
if
(
tzBaseEnterpriseInfoDto
.
getUnitType
().
contains
(
UnitTypeEnum
.
JYJCJG
.
getName
())){
String
jyjcStatus
=
tzBaseEnterpriseInfoDto
.
getJyjcStatus
();
String
jyjcStatus
=
tzBaseEnterpriseInfoDto
.
getJyjcStatus
();
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
e528499f
...
@@ -106,9 +106,17 @@
...
@@ -106,9 +106,17 @@
ON t1.unit_code = unit_code
ON t1.unit_code = unit_code
</if>
</if>
<where>
<where>
<if
<!-- <if-->
test=
"tzBaseEnterpriseInfoDto.unitType!=null and tzBaseEnterpriseInfoDto.unitType!='' "
>
<!-- test="tzBaseEnterpriseInfoDto.unitType!=null and tzBaseEnterpriseInfoDto.unitType!='' and tzBaseEnterpriseInfoDto.unitType!='使用单位' ">-->
AND unit_type LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.unitType},'%')
<!-- -->
<!-- AND unit_type LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.unitType},'%')-->
<!-- </if>-->
<if
test=
"unitTypeList != null and !unitTypeList.isEmpty()"
>
AND (
<foreach
collection=
"unitTypeList"
item=
"item"
separator=
" OR "
>
unit_type LIKE CONCAT('%', #{item}, '%')
</foreach>
)
</if>
</if>
<if
<if
test=
"tzBaseEnterpriseInfoDto.useUnit!=null and tzBaseEnterpriseInfoDto.useUnit!='' "
>
test=
"tzBaseEnterpriseInfoDto.useUnit!=null and tzBaseEnterpriseInfoDto.useUnit!='' "
>
...
...
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