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
811e808f
Commit
811e808f
authored
Jul 10, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块
parent
e93b9973
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
16 deletions
+14
-16
bill-manager/db/add.sql
bill-manager/db/add.sql
+7
-1
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
+1
-6
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
+0
-3
bill-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+1
-1
bill-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+5
-5
No files found.
bill-manager/db/add.sql
View file @
811e808f
...
@@ -224,4 +224,10 @@ CREATE TABLE `mortals_xhx_stat` (
...
@@ -224,4 +224,10 @@ CREATE TABLE `mortals_xhx_stat` (
,
KEY
`year`
(
`year`
)
USING
BTREE
,
KEY
`year`
(
`year`
)
USING
BTREE
,
KEY
`month`
(
`month`
)
USING
BTREE
,
KEY
`month`
(
`month`
)
USING
BTREE
,
KEY
`day`
(
`day`
)
USING
BTREE
,
KEY
`day`
(
`day`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'汇总统计'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'汇总统计'
;
\ No newline at end of file
INSERT
INTO
mortals_xhx_task
VALUES
(
null
,
'报表统计'
,
'SiteStatTask'
,
0
,
'SiteStatTask'
,
''
,
''
,
1
,
3600
,
'21:00'
,
''
,
'192.168.1.107'
,
'2024-05-18 16:05:00'
,
0
,
'2024-03-01 10:59:53'
,
1
,
'系统管理员'
);
bill-manager/src/main/java/com/mortals/xhx/daemon/task/Site
Pj
StatTaskImpl.java
→
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SiteStatTaskImpl.java
View file @
811e808f
...
@@ -5,20 +5,15 @@ import com.mortals.framework.common.Rest;
...
@@ -5,20 +5,15 @@ import com.mortals.framework.common.Rest;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.service.ITask
;
import
com.mortals.framework.service.ITask
;
import
com.mortals.framework.service.ITaskExcuteService
;
import
com.mortals.framework.service.ITaskExcuteService
;
import
com.mortals.xhx.common.code.PlatformTypeEnum
;
import
com.mortals.xhx.common.pdu.RespData
;
import
com.mortals.xhx.common.pdu.RespData
;
import
com.mortals.xhx.common.pdu.site.SitePdu
;
import
com.mortals.xhx.common.pdu.site.SitePdu
;
import
com.mortals.xhx.feign.site.ISiteFeign
;
import
com.mortals.xhx.feign.site.ISiteFeign
;
import
com.mortals.xhx.module.ph.model.PhQueueStatEntity
;
import
com.mortals.xhx.module.ph.model.PhQueueStatEntity
;
import
com.mortals.xhx.module.ph.service.PhQueueService
;
import
com.mortals.xhx.module.ph.service.PhQueueStatService
;
import
com.mortals.xhx.module.ph.service.PhQueueStatService
;
import
com.mortals.xhx.module.pj.model.PjEvaluateStatEntity
;
import
com.mortals.xhx.module.pj.model.PjEvaluateStatEntity
;
import
com.mortals.xhx.module.pj.service.PjEvaluateService
;
import
com.mortals.xhx.module.pj.service.PjEvaluateStatService
;
import
com.mortals.xhx.module.pj.service.PjEvaluateStatService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.checkerframework.checker.units.qual.A
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
java.util.List
;
...
@@ -31,7 +26,7 @@ import java.util.List;
...
@@ -31,7 +26,7 @@ import java.util.List;
*/
*/
@Slf4j
@Slf4j
@Service
(
"SiteStatTask"
)
@Service
(
"SiteStatTask"
)
public
class
Site
Pj
StatTaskImpl
implements
ITaskExcuteService
{
public
class
SiteStatTaskImpl
implements
ITaskExcuteService
{
@Autowired
@Autowired
...
...
bill-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
View file @
811e808f
...
@@ -15,11 +15,8 @@ import org.springframework.stereotype.Service;
...
@@ -15,11 +15,8 @@ import org.springframework.stereotype.Service;
*/
*/
@Slf4j
@Slf4j
@Service
(
"SyncUserTask"
)
@Service
(
"SyncUserTask"
)
@ConditionalOnExpression
(
"'${platform.type:null}'=='cloud'"
)
public
class
SyncUserTaskImpl
implements
ITaskExcuteService
{
public
class
SyncUserTaskImpl
implements
ITaskExcuteService
{
@Autowired
private
IUserFeign
userFeign
;
@Autowired
@Autowired
private
UserService
userService
;
private
UserService
userService
;
...
...
bill-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
811e808f
...
@@ -13,6 +13,6 @@
...
@@ -13,6 +13,6 @@
},
},
"yibin-web"
:
{
"yibin-web"
:
{
"baseUrl"
:
"http://112.19.80.237:110
91
/bill"
"baseUrl"
:
"http://112.19.80.237:110
78
/bill"
}
}
}
}
\ No newline at end of file
bill-manager/src/test/java/com/mortals/httpclient/system.http
View file @
811e808f
...
@@ -47,8 +47,8 @@ POST {{baseUrl}}/pj/evaluate/stat/stat
...
@@ -47,8 +47,8 @@ POST {{baseUrl}}/pj/evaluate/stat/stat
Content-Type: application/json
Content-Type: application/json
{
{
"pjTimeStart": "2023-0
4
-01",
"pjTimeStart": "2023-0
1
-01",
"pjTimeEnd": "2024-07-
04
"
"pjTimeEnd": "2024-07-
10
"
}
}
###排队
###排队
...
@@ -56,8 +56,8 @@ POST {{baseUrl}}/ph/queue/stat/stat
...
@@ -56,8 +56,8 @@ POST {{baseUrl}}/ph/queue/stat/stat
Content-Type: application/json
Content-Type: application/json
{
{
"taketimeStart": "2023-0
4
-01",
"taketimeStart": "2023-0
1
-01",
"taketimeEnd": "2024-07-
04
"
"taketimeEnd": "2024-07-
10
"
}
}
...
@@ -67,7 +67,7 @@ Content-Type: application/json
...
@@ -67,7 +67,7 @@ Content-Type: application/json
{
{
"createTimeStart": "2023-04-01",
"createTimeStart": "2023-04-01",
"createTimeEnd": "2024-07-
4
"
"createTimeEnd": "2024-07-
10
"
}
}
...
...
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