Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-platform
Commits
8264ee31
Commit
8264ee31
authored
Jun 25, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加排号与评价统计报表
parent
6ce9241f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/PjEvaluateStatService.java
.../mortals/xhx/module/pj/service/PjEvaluateStatService.java
+2
-1
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
...xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
+1
-4
bill-manager/src/main/resources/sqlmap/module/pj/PjEvaluateStatMapperExt.xml
...in/resources/sqlmap/module/pj/PjEvaluateStatMapperExt.xml
+1
-1
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/PjEvaluateStatService.java
View file @
8264ee31
...
...
@@ -5,6 +5,7 @@ import com.mortals.framework.model.PageInfo;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.pj.model.PjEvaluateStatEntity
;
import
com.mortals.xhx.module.pj.dao.PjEvaluateStatDao
;
import
com.mortals.xhx.module.pj.model.PjEvaluateStatQuery
;
import
java.util.List
;
...
...
@@ -29,7 +30,7 @@ public interface PjEvaluateStatService extends ICRUDService<PjEvaluateStatEntity
Rest
<
Void
>
updateSitePjStat
(
PjEvaluateStatEntity
entity
,
Context
context
);
List
<
PjEvaluateStatEntity
>
getBillInfos
(
Long
siteId
,
String
createTimeStart
,
Integer
datePattern
,
PageInfo
pageInfo
,
Context
context
);
List
<
PjEvaluateStatEntity
>
getBillInfos
(
PjEvaluateStatQuery
query
,
Integer
datePattern
,
PageInfo
pageInfo
,
Context
context
);
}
\ No newline at end of file
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
View file @
8264ee31
...
...
@@ -275,11 +275,8 @@ public class PjEvaluateStatServiceImpl extends AbstractCRUDServiceImpl<PjEvaluat
@Override
public
List
<
PjEvaluateStatEntity
>
getBillInfos
(
Long
siteId
,
String
createTimeStart
,
Integer
datePattern
,
PageInfo
pageInfo
,
Context
context
)
{
public
List
<
PjEvaluateStatEntity
>
getBillInfos
(
PjEvaluateStatQuery
query
,
Integer
datePattern
,
PageInfo
pageInfo
,
Context
context
)
{
List
<
PjEvaluateStatEntity
>
statList
=
new
ArrayList
<>();
PjEvaluateStatQuery
query
=
new
PjEvaluateStatQuery
();
query
.
setSiteId
(
siteId
);
query
.
setCreateTimeStart
(
createTimeStart
);
if
(
datePattern
==
TimeUnitEnum
.
DAY
.
getValue
())
{
query
.
setGroupList
(
Arrays
.
asList
(
"day"
));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"day"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"createTime"
)));
...
...
bill-manager/src/main/resources/sqlmap/module/pj/PjEvaluateStatMapperExt.xml
View file @
8264ee31
...
...
@@ -12,7 +12,7 @@
</foreach>
</if>
id,
site
I
d,
site
_i
d,
createTime,
year,
month,
...
...
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