Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-bigdata
Commits
08ddde21
Commit
08ddde21
authored
Dec 08, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
26578af7
931595ee
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
3 deletions
+27
-3
api-server/src/main/java/com/zq/api/feign/PortalFeign.java
+3
-0
api-server/src/main/java/com/zq/api/service/IApiLogic.java
+8
-0
api-server/src/main/java/com/zq/api/service/impl/ApiV100Logic.java
+5
-0
portal-server/src/main/java/com/zq/portal/controller/admin/BzStatsAdminController.java
+6
-0
portal-server/src/main/java/com/zq/portal/service/EtStatsService.java
+2
-0
portal-server/src/main/resources/mapper/BzStatsMapper.xml
+3
-3
No files found.
api-server/src/main/java/com/zq/api/feign/PortalFeign.java
View file @
08ddde21
...
...
@@ -62,6 +62,9 @@ public interface PortalFeign {
@PostMapping
(
"/stats/getCremationStatsList"
)
ResultVo
getCremationStatsList
(
@RequestBody
Map
<
String
,
Object
>
paramsMap
);
@PostMapping
(
"/stats/getCremationStatsById"
)
ResultVo
getCremationStatsById
(
@RequestBody
Map
<
String
,
Object
>
paramsMap
);
@PostMapping
(
"/stats/getAreaUnderNumStats"
)
ResultVo
getAreaUnderNumStats
(
@RequestBody
Map
<
String
,
Object
>
paramsMap
);
}
api-server/src/main/java/com/zq/api/service/IApiLogic.java
View file @
08ddde21
...
...
@@ -211,6 +211,14 @@ public interface IApiLogic extends IApiCommon {
*/
ApiResp
getCremationStatsList
(
ApiForm
form
);
/**
* 殡仪馆火化量统计列表
*
* @param form
* @return
*/
ApiResp
getCremationStatsById
(
ApiForm
form
);
/*↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓SYS接口↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓*/
/**
...
...
api-server/src/main/java/com/zq/api/service/impl/ApiV100Logic.java
View file @
08ddde21
...
...
@@ -151,6 +151,11 @@ public class ApiV100Logic extends BaseApiLogic implements IApiLogic {
}
@Override
public
ApiResp
getCremationStatsById
(
ApiForm
form
)
{
return
ApiUtils
.
toApiResp
(
form
,
portalFeign
.
getCremationStatsById
(
form
.
getParamsMap
()));
}
@Override
public
ApiResp
getSingleUserInfo
(
ApiForm
form
)
{
return
ApiUtils
.
toApiResp
(
form
,
sysFeign
.
getSingleUserInfo
(
form
.
getAppId
()));
}
...
...
portal-server/src/main/java/com/zq/portal/controller/admin/BzStatsAdminController.java
View file @
08ddde21
...
...
@@ -35,6 +35,12 @@ public class BzStatsAdminController {
return
ResultVo
.
success
(
bzStatsService
.
getCacheCremationStatsList
(
vo
));
}
@ApiOperation
(
"获取子级殡葬火化分析列表"
)
@PostMapping
(
value
=
"/getCremationStatsById"
)
public
ResultVo
<
Object
>
getCremationStatsById
(
@RequestBody
StatsReqVo
vo
)
{
return
ResultVo
.
success
(
bzStatsService
.
getCacheCremationStatsById
(
vo
));
}
@ApiOperation
(
"获取区域火化率占比"
)
@PostMapping
(
value
=
"/getCremationRateStats"
)
public
ResultVo
<
Object
>
getCremationRateStats
(
@RequestBody
StatsReqVo
vo
)
{
...
...
portal-server/src/main/java/com/zq/portal/service/EtStatsService.java
View file @
08ddde21
...
...
@@ -111,8 +111,10 @@ public class EtStatsService {
vo
.
setAreaCode
(
systemArea
.
getCode
());
VChildWelfareStats
etAgencyWelfareStats
=
getAgencyChildStats
(
vo
);
if
(
etAgencyWelfareStats
!=
null
)
{
returnData
.
add
(
etAgencyWelfareStats
);
}
}
List
<
String
>
areaList
=
new
ArrayList
<>();
List
<
String
>
agencyNumList
=
new
ArrayList
<>();
...
...
portal-server/src/main/resources/mapper/BzStatsMapper.xml
View file @
08ddde21
...
...
@@ -10,9 +10,9 @@
fis_cremation_info_sum a
LEFT JOIN fis_organ b ON b.organ_name = a.create_organ_name
WHERE 1 = 1
<
IF
test =
"subAreaCode != null and subAreaCode != ''"
>
<
if
test =
"subAreaCode != null and subAreaCode != ''"
>
AND b.beloing_cant_code LIKE CONCAT (#{subAreaCode},'%')
</
IF
>
</
if
>
GROUP BY
LEFT (b.beloing_cant_code,#{size})
</select>
...
...
@@ -28,7 +28,7 @@
WHERE 1 = 1
<if
test =
"subAreaCode != null and subAreaCode != ''"
>
AND b.beloing_cant_code LIKE CONCAT (#{subAreaCode},'%')
</
IF
>
</
if
>
GROUP BY
a.create_organ_name,
LEFT (b.beloing_cant_code,#{size})
...
...
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