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
aa5e3cc2
Commit
aa5e3cc2
authored
Nov 17, 2021
by
wqc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口修改
parent
52ce9420
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
portal-server/src/main/resources/mapper/CjStatsMapper.xml
+2
-2
portal-server/src/main/resources/mapper/ShjzStatsDao.xml
+1
-1
No files found.
portal-server/src/main/resources/mapper/CjStatsMapper.xml
View file @
aa5e3cc2
...
...
@@ -66,7 +66,7 @@
</select>
<select
id=
"getAreaIssueStats"
resultType=
"com.zq.portal.vo.StatsVo"
>
SELECT
UNIT_ID
'code',UNIT_NAME 'name', APPLY_TYPE_ID 'type', GRANT_YEAR 'year', COUNT_PEOPLE 'num', SUM_MONEY
SELECT
LEFT(UNIT_ID, #{size})
'code',UNIT_NAME 'name', APPLY_TYPE_ID 'type', GRANT_YEAR 'year', COUNT_PEOPLE 'num', SUM_MONEY
'amount'
FROM `statics_grant`
WHERE DATE_FORMAT(create_time, '%Y-%m-%d') = (SELECT DATE_FORMAT(create_time, '%Y-%m-%d') FROM statics_grant
...
...
@@ -77,7 +77,7 @@
<if
test=
"type != null"
>
AND APPLY_TYPE_ID = #{type}
</if>
GROUP BY
UNIT_ID
GROUP BY
LEFT(UNIT_ID, #{size})
</select>
<select
id=
"getYearIssueStats"
resultType=
"com.zq.portal.vo.StatsVo"
>
...
...
portal-server/src/main/resources/mapper/ShjzStatsDao.xml
View file @
aa5e3cc2
...
...
@@ -215,7 +215,7 @@
AND p.pmonth
<
= DATE_FORMAT( NOW(), '%Y%m%d' )
AND p.vp_state = 4
AND p.pay_state = 2
AND CHAR_LENGTH (LEFT (
a.area_code
, #{size} )) = #{size}
AND CHAR_LENGTH (LEFT (
p.unit_id
, #{size} )) = #{size}
<if
test=
"subAreaCode != null and subAreaCode != ''"
>
AND p.unit_id LIKE CONCAT(#{subAreaCode}, '%')
</if>
...
...
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