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
75ab2d71
Commit
75ab2d71
authored
Jul 31, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.检验检测大屏接口中评增加统计项
parent
17148323
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
JYJCStatisticsMapper.java
...ot/module/statistics/api/mapper/JYJCStatisticsMapper.java
+1
-1
JYJCStatisticsMapper.xml
...cs-api/src/main/resources/mapper/JYJCStatisticsMapper.xml
+8
-3
JYJCDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/JYJCDPStatisticsServiceImpl.java
+1
-1
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/mapper/JYJCStatisticsMapper.java
View file @
75ab2d71
...
...
@@ -31,7 +31,7 @@ public interface JYJCStatisticsMapper {
* @param regionCode 区域行政区划编码
* @return 检验机构总量
*/
Long
countAllRegThirdInspectCompany
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"legalCmc"
)
String
legalCmc
,
@Param
(
"regionCode"
)
String
regionCode
);
Long
countAllRegThirdInspectCompany
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"legalCmc"
)
List
<
String
>
legalCmc
,
@Param
(
"regionCode"
)
String
regionCode
);
/**
* 业务开通机构数量
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/JYJCStatisticsMapper.xml
View file @
75ab2d71
...
...
@@ -8,8 +8,9 @@
from
tz_base_enterprise_info b
where
(b.supervise_org_code != '50' and b.supervise_org_code LIKE CONCAT (#{orgCode}, '%'))
or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{regionCode}, '%'))
((b.supervise_org_code != '50' and b.supervise_org_code LIKE CONCAT (#{orgCode}, '%'))
or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{regionCode}, '%')))
and b.unit_type like '%检验检测机构%'
</select>
<select
id=
"countAllRegThirdInspectCompany"
resultType=
"java.lang.Long"
>
SELECT
...
...
@@ -19,7 +20,11 @@
where
((b.supervise_org_code != '50' and b.supervise_org_code LIKE CONCAT (#{orgCode}, '%'))
or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{regionCode}, '%')))
and b.use_unit_code not in (#{legalCmc})
and b.use_unit_code not in
<foreach
collection=
"legalCmc"
item=
"code"
open=
"("
close=
")"
separator=
","
>
#{code}
</foreach>
and b.unit_type like '%检验检测机构%'
</select>
<select
id=
"countAllOpenBizInspectCompany"
resultType=
"java.lang.Long"
>
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/JYJCDPStatisticsServiceImpl.java
View file @
75ab2d71
...
...
@@ -373,7 +373,7 @@ public class JYJCDPStatisticsServiceImpl {
}
private
void
countAllRegThirdInspectCompany
(
Map
<
String
,
Object
>
result
,
String
orgCode
,
String
regionCode
)
{
Long
num
=
jyjcStatisticsMapper
.
countAllRegThirdInspectCompany
(
orgCode
,
legalCompanyCodes
,
regionCode
);
Long
num
=
jyjcStatisticsMapper
.
countAllRegThirdInspectCompany
(
orgCode
,
Arrays
.
asList
(
legalCompanyCodes
.
split
(
","
))
,
regionCode
);
result
.
put
(
"thirdInspectionAgencyCount"
,
num
);
}
...
...
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