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
79ad8579
Commit
79ad8579
authored
May 31, 2021
by
wukaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经营类报表显示两位小数
parent
d6faa148
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
OperationsReportsDaoImpl.java
...nas/statistics/internal/dao/OperationsReportsDaoImpl.java
+4
-3
No files found.
backend/xyst.dinas.statistics/src/main/java/com/xyst/dinas/statistics/internal/dao/OperationsReportsDaoImpl.java
View file @
79ad8579
...
...
@@ -25,9 +25,10 @@ public class OperationsReportsDaoImpl implements OperationsReportsDao {
String
OperationsReportType
,
String
stationList
)
{
// TODO Auto-generated method stub
StringBuffer
hql
=
new
StringBuffer
(
" SELECT "
);
hql
.
append
(
" result.stationName AS stationName, result.dinasTypeName AS dinasTypeName,\r\n"
+
" result.saleDealAmount AS saleDealAmount, \r\n"
+
" result.saleAmount AS saleAmount FROM "
);
hql
.
append
(
" result.stationName AS stationName, "
+
" result.dinasTypeName AS dinasTypeName,\r\n"
+
" FORMAT( result.saleDealAmount ,2) AS saleDealAmount, \r\n"
+
" FORMAT( result.saleAmount ,2) AS saleAmount FROM "
);
hql
.
append
(
" ( SELECT station.station_Name AS stationName, \r\n "
+
" dinasType.dinas_Type_Name AS dinasTypeName, "
);
if
(
OperationsReportType
!=
null
&&
OperationsReportType
!=
""
)
{
...
...
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