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
9041d167
Commit
9041d167
authored
Jul 04, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块
parent
cc2e6a99
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/ibatis/PhQueueStatDaoImpl.java
.../mortals/xhx/module/ph/dao/ibatis/PhQueueStatDaoImpl.java
+4
-1
bill-manager/src/main/java/com/mortals/xhx/module/pj/dao/ibatis/PjEvaluateStatDaoImpl.java
...rtals/xhx/module/pj/dao/ibatis/PjEvaluateStatDaoImpl.java
+3
-1
bill-manager/src/main/resources/sqlmap/module/ph/PhQueueStatMapperExt.xml
.../main/resources/sqlmap/module/ph/PhQueueStatMapperExt.xml
+13
-0
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/ibatis/PhQueueStatDaoImpl.java
View file @
9041d167
...
@@ -25,9 +25,12 @@ public class PhQueueStatDaoImpl extends BaseCRUDDaoMybatis<PhQueueStatEntity, Lo
...
@@ -25,9 +25,12 @@ public class PhQueueStatDaoImpl extends BaseCRUDDaoMybatis<PhQueueStatEntity, Lo
@Override
@Override
public
List
<
PhQueueStatEntity
>
getStatList
(
PhQueueStatQuery
query
,
PageInfo
pageInfo
)
{
public
List
<
PhQueueStatEntity
>
getStatList
(
PhQueueStatQuery
query
,
PageInfo
pageInfo
)
{
ParamDto
queryParam
=
super
.
getQueryParam
(
query
);
ParamDto
queryParam
=
super
.
getQueryParam
(
query
);
List
<
PhQueueStatEntity
>
list
=
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
);
pageInfo
.
setTotalResult
(
list
.
size
());
if
(
pageInfo
.
getPrePageResult
()
==
-
1
)
{
if
(
pageInfo
.
getPrePageResult
()
==
-
1
)
{
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
)
;
return
list
;
}
else
{
}
else
{
//获取全量
RowBounds
rowBounds
=
new
RowBounds
(
pageInfo
.
getBeginIndex
(),
pageInfo
.
getPrePageResult
());
RowBounds
rowBounds
=
new
RowBounds
(
pageInfo
.
getBeginIndex
(),
pageInfo
.
getPrePageResult
());
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
,
rowBounds
);
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
,
rowBounds
);
}
}
...
...
bill-manager/src/main/java/com/mortals/xhx/module/pj/dao/ibatis/PjEvaluateStatDaoImpl.java
View file @
9041d167
...
@@ -24,8 +24,10 @@ public class PjEvaluateStatDaoImpl extends BaseCRUDDaoMybatis<PjEvaluateStatEnti
...
@@ -24,8 +24,10 @@ public class PjEvaluateStatDaoImpl extends BaseCRUDDaoMybatis<PjEvaluateStatEnti
@Override
@Override
public
List
<
PjEvaluateStatEntity
>
getStatList
(
PjEvaluateStatQuery
query
,
PageInfo
pageInfo
)
{
public
List
<
PjEvaluateStatEntity
>
getStatList
(
PjEvaluateStatQuery
query
,
PageInfo
pageInfo
)
{
ParamDto
queryParam
=
super
.
getQueryParam
(
query
);
ParamDto
queryParam
=
super
.
getQueryParam
(
query
);
List
<
PjEvaluateStatEntity
>
list
=
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
);
pageInfo
.
setTotalResult
(
list
.
size
());
if
(
pageInfo
.
getPrePageResult
()
==
-
1
)
{
if
(
pageInfo
.
getPrePageResult
()
==
-
1
)
{
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
)
;
return
list
;
}
else
{
}
else
{
RowBounds
rowBounds
=
new
RowBounds
(
pageInfo
.
getBeginIndex
(),
pageInfo
.
getPrePageResult
());
RowBounds
rowBounds
=
new
RowBounds
(
pageInfo
.
getBeginIndex
(),
pageInfo
.
getPrePageResult
());
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
,
rowBounds
);
return
getSqlSession
().
selectList
(
SQLID_GET_STATLIST
,
queryParam
,
rowBounds
);
...
...
bill-manager/src/main/resources/sqlmap/module/ph/PhQueueStatMapperExt.xml
View file @
9041d167
...
@@ -2,6 +2,19 @@
...
@@ -2,6 +2,19 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
"mybatis-3-mapper.dtd">
<mapper
namespace=
"com.mortals.xhx.module.ph.dao.ibatis.PhQueueStatDaoImpl"
>
<mapper
namespace=
"com.mortals.xhx.module.ph.dao.ibatis.PhQueueStatDaoImpl"
>
<select
id=
"getStatListCount"
parameterType=
"paramDto"
resultType=
"int"
>
select count(1)
from mortals_xhx_ph_queue_stat as a
<trim
suffixOverrides=
"where"
suffix=
""
>
where
<trim
prefixOverrides=
"and"
prefix=
""
>
<include
refid=
"_condition_"
/>
</trim>
</trim>
</select>
<!-- 获取统计列表 -->
<!-- 获取统计列表 -->
<select
id=
"getStatList"
parameterType=
"paramDto"
resultMap=
"PhQueueStatEntity-Map"
>
<select
id=
"getStatList"
parameterType=
"paramDto"
resultMap=
"PhQueueStatEntity-Map"
>
select
select
...
...
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