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
0f22adfb
Commit
0f22adfb
authored
Jun 25, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加排号与评价统计报表
parent
3613971b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
...xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
+16
-0
bill-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+1
-1
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/pj/service/impl/PjEvaluateStatServiceImpl.java
View file @
0f22adfb
...
...
@@ -3,11 +3,15 @@ package com.mortals.xhx.module.pj.service.impl;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.model.Result
;
import
com.mortals.xhx.common.code.TimeUnitEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.pj.model.PjEvaluateEntity
;
import
com.mortals.xhx.module.pj.model.PjEvaluateQuery
;
import
com.mortals.xhx.module.pj.model.PjEvaluateStatQuery
;
import
com.mortals.xhx.module.pj.service.PjEvaluateService
;
import
org.apache.poi.ss.formula.functions.T
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
...
...
@@ -38,6 +42,18 @@ public class PjEvaluateStatServiceImpl extends AbstractCRUDServiceImpl<PjEvaluat
private
PjEvaluateService
pjEvaluateService
;
@Override
public
Result
<
PjEvaluateStatEntity
>
find
(
PjEvaluateStatEntity
entity
,
PageInfo
pageInfo
,
Context
context
)
throws
AppException
{
Result
<
PjEvaluateStatEntity
>
result
=
new
Result
<>();
PjEvaluateStatQuery
query
=
new
PjEvaluateStatQuery
();
BeanUtils
.
copyProperties
(
entity
,
query
,
BeanUtil
.
getNullPropertyNames
(
entity
));
List
<
PjEvaluateStatEntity
>
billInfos
=
this
.
getBillInfos
(
query
,
TimeUnitEnum
.
DAY
.
getValue
(),
pageInfo
,
context
);
result
.
setList
(
billInfos
);
result
.
setPageInfo
(
pageInfo
);
return
result
;
}
@Override
public
Rest
<
Void
>
updateSitePjStat
(
PjEvaluateStatEntity
entity
,
Context
context
)
{
//todo 统计站点评价 分站点--部门 ||窗口编号||评价选项 ==》评价数量
...
...
bill-manager/src/test/java/com/mortals/httpclient/system.http
View file @
0f22adfb
...
...
@@ -57,7 +57,7 @@ Content-Type: application/json
{
"taketimeStart": "2023-04-01",
"taketimeEnd": "2023-04-
28
"
"taketimeEnd": "2023-04-
03
"
}
...
...
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