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
3ec0081f
Commit
3ec0081f
authored
Aug 19, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.需求变更正常设备绿马统计:计迁入+开业+在业
parent
39187397
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+4
-4
TzBaseEnterpriseInfoMapper.java
...oot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
+1
-1
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/JGDPStatisticsServiceImpl.java
View file @
3ec0081f
...
...
@@ -581,17 +581,17 @@ public class JGDPStatisticsServiceImpl {
private
CountDto
getGreenStatusCompany
(
DPFilterParamDto
dpFilterParamDto
)
{
CountDto
countDto
=
new
CountDto
();
countDto
.
setLongValue
(
this
.
countCompanyByOperatingStatus
(
dpFilterParamDto
,
"在业"
));
countDto
.
setLabel
(
"正常在业"
);
countDto
.
setLongValue
(
this
.
countCompanyByOperatingStatus
(
dpFilterParamDto
,
"在业"
,
"开业"
,
"迁入"
));
countDto
.
setLabel
(
"正常在业
、开业、迁入
"
);
return
countDto
;
}
private
long
countCompanyByOperatingStatus
(
DPFilterParamDto
dpFilterParamDto
,
String
operatingStatus
)
{
private
long
countCompanyByOperatingStatus
(
DPFilterParamDto
dpFilterParamDto
,
String
...
operatingStatus
)
{
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
dpFilterParamDto
.
getCityCode
());
if
(
orgCode
==
null
)
{
return
0L
;
}
return
enterpriseInfoMapper
.
countByOperatingStatusAndOrgCode
(
orgCode
,
operatingStatus
,
dpFilterParamDto
.
getCityCode
());
return
enterpriseInfoMapper
.
countByOperatingStatusAndOrgCode
(
orgCode
,
Arrays
.
stream
(
operatingStatus
).
collect
(
Collectors
.
toList
())
,
dpFilterParamDto
.
getCityCode
());
}
private
Map
<
String
,
CountDto
>
countUserNum
(
DPFilterParamDto
dpFilterParamDto
)
{
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
View file @
3ec0081f
...
...
@@ -80,7 +80,7 @@ public interface TzBaseEnterpriseInfoMapper extends BaseMapper<TzBaseEnterpriseI
* @param cityCode 区域code
* @return Long 统计数量
*/
Long
countByOperatingStatusAndOrgCode
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"operatingStatus"
)
String
operatingStatus
,
@Param
(
"cityCode"
)
String
cityCode
);
Long
countByOperatingStatusAndOrgCode
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"operatingStatus"
)
List
<
String
>
operatingStatus
,
@Param
(
"cityCode"
)
String
cityCode
);
List
<
TzBaseEnterpriseInfoDto
>
queryByUseCode
(
@Param
(
"useCodes"
)
List
<
String
>
useCode
);
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
3ec0081f
...
...
@@ -223,7 +223,10 @@
where
1=1
and ((supervise_org_code != '50' and supervise_org_code LIKE CONCAT (#{orgCode}, '%')) or (supervise_org_code = '50' and office_region LIKE CONCAT ('%', #{cityCode}, '%')))
and operating_status = #{operatingStatus}
and
<foreach
collection=
"operatingStatus"
item=
"status"
separator=
"or"
open=
"("
close=
")"
>
operating_status = #{status}
</foreach>
and register_type !='个人主体'
</select>
<select
id=
"queryByUseCode"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto"
>
...
...
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