Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
d6faa148
Commit
d6faa148
authored
May 31, 2021
by
wukaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售汇总不显示问题
parent
597e4217
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
SalesSummaryDaoImpl.java
...st/dinas/statistics/internal/dao/SalesSummaryDaoImpl.java
+15
-15
No files found.
backend/xyst.dinas.statistics/src/main/java/com/xyst/dinas/statistics/internal/dao/SalesSummaryDaoImpl.java
View file @
d6faa148
...
...
@@ -34,21 +34,21 @@ public class SalesSummaryDaoImpl implements SalesSummaryDao {
StringBuilder
hql
=
new
StringBuilder
(
"select "
);
hql
.
append
(
" result.station AS station,\r\n"
+
" result.dinasType AS dinasType,\r\n"
+
" FORMAT( result.saleDealAmount
AS saleDealAmount , 2)
,\r\n"
+
" FORMAT( result.saleAmount
AS saleAmount , 2)
,\r\n"
+
" FORMAT( result.avgAmount
AS avgAmount , 2)
,\r\n"
+
" FORMAT( result.janAmount
AS janAmount , 2)
,\r\n"
+
" FORMAT( result.febAmount
AS febAmount , 2)
,\r\n"
+
" FORMAT( result.marAmount
AS marAmount , 2)
,\r\n"
+
" FORMAT( result.aprAmount
AS aprAmount , 2)
,\r\n"
+
" FORMAT( result.mayAmount
AS mayAmount , 2)
,\r\n"
+
" FORMAT( result.junAmount
AS junAmount , 2)
,\r\n"
+
" FORMAT( result.julAmount
AS julAmount , 2)
,\r\n"
+
" FORMAT( result.augAmount
AS augAmount , 2)
,\r\n"
+
" FORMAT( result.septAmount
AS septAmount , 2)
,\r\n"
+
" FORMAT( result.octAmount
AS octAmount , 2)
,\r\n"
+
" FORMAT( result.novAmount
AS novAmount , 2)
,\r\n"
+
" FORMAT( result.decAmount
AS decAmount , 2)
"
);
+
" FORMAT( result.saleDealAmount
, 2) AS saleDealAmount
,\r\n"
+
" FORMAT( result.saleAmount
, 2) AS saleAmount
,\r\n"
+
" FORMAT( result.avgAmount
, 2) AS avgAmount
,\r\n"
+
" FORMAT( result.janAmount
, 2) AS janAmount
,\r\n"
+
" FORMAT( result.febAmount
, 2) AS febAmount
,\r\n"
+
" FORMAT( result.marAmount
, 2) AS marAmount
,\r\n"
+
" FORMAT( result.aprAmount
, 2) AS aprAmount
,\r\n"
+
" FORMAT( result.mayAmount
, 2) AS mayAmount
,\r\n"
+
" FORMAT( result.junAmount
, 2) AS junAmount
,\r\n"
+
" FORMAT( result.julAmount
, 2) AS julAmount
,\r\n"
+
" FORMAT( result.augAmount
, 2) AS augAmount
,\r\n"
+
" FORMAT( result.septAmount
, 2) AS septAmount
,\r\n"
+
" FORMAT( result.octAmount
, 2) AS octAmount
,\r\n"
+
" FORMAT( result.novAmount
, 2) AS novAmount
,\r\n"
+
" FORMAT( result.decAmount
, 2) AS decAmount
"
);
hql
.
append
(
" FROM "
);
hql
.
append
(
" (\r\n"
+
" SELECT\r\n"
+
" '总计' as station,\r\n"
+
" '--' as dinasType,\r\n"
...
...
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