Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
吴迪
gs1-office-web-sit
Commits
9b614996
Commit
9b614996
authored
Apr 16, 2024
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】点击区间时间范围
parent
c3b2ec39
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
13 deletions
+11
-13
WebsiteHitCountDetailController.java
...es/manage/controller/WebsiteHitCountDetailController.java
+0
-1
WebsiteHitCountDetailDao.java
...o/office/modules/manage/dao/WebsiteHitCountDetailDao.java
+1
-1
WebsiteHitCountDetailService.java
.../modules/manage/service/WebsiteHitCountDetailService.java
+1
-1
ShortCodeServiceImpl.java
...ice/modules/manage/service/impl/ShortCodeServiceImpl.java
+6
-7
WebsiteHitCountDetailServiceImpl.java
...manage/service/impl/WebsiteHitCountDetailServiceImpl.java
+1
-1
WebsiteHitCountDetailDao.xml
...main/resources/mapper/manage/WebsiteHitCountDetailDao.xml
+2
-2
No files found.
src/main/java/io/office/modules/manage/controller/WebsiteHitCountDetailController.java
View file @
9b614996
...
@@ -103,7 +103,6 @@ public class WebsiteHitCountDetailController extends AbstractController {
...
@@ -103,7 +103,6 @@ public class WebsiteHitCountDetailController extends AbstractController {
@RequestMapping
(
"/getTotalCount"
)
@RequestMapping
(
"/getTotalCount"
)
// @RequiresPermissions("manage:websitehitcountdetail:list")
// @RequiresPermissions("manage:websitehitcountdetail:list")
public
R
getTotalCount
(
@RequestBody
WebsiteHitCountDetailForm
websiteHitCountDetailForm
)
{
public
R
getTotalCount
(
@RequestBody
WebsiteHitCountDetailForm
websiteHitCountDetailForm
)
{
return
R
.
ok
().
put
(
"data"
,
websiteHitCountDetailService
.
getTotalCount
(
websiteHitCountDetailForm
));
return
R
.
ok
().
put
(
"data"
,
websiteHitCountDetailService
.
getTotalCount
(
websiteHitCountDetailForm
));
}
}
}
}
src/main/java/io/office/modules/manage/dao/WebsiteHitCountDetailDao.java
View file @
9b614996
...
@@ -22,6 +22,6 @@ public interface WebsiteHitCountDetailDao extends BaseMapper<WebsiteHitCountDeta
...
@@ -22,6 +22,6 @@ public interface WebsiteHitCountDetailDao extends BaseMapper<WebsiteHitCountDeta
List
<
WebsiteHitCountDetailForm
>
getListPage
(
@Param
(
"websiteHitCountDetailForm"
)
WebsiteHitCountDetailForm
websiteHitCountDetailForm
,
Page
page
);
List
<
WebsiteHitCountDetailForm
>
getListPage
(
@Param
(
"websiteHitCountDetailForm"
)
WebsiteHitCountDetailForm
websiteHitCountDetailForm
,
Page
page
);
int
getTotalCount
(
@Param
(
"websiteHitCountDetailForm"
)
WebsiteHitCountDetailForm
websiteHitCountDetailForm
);
WebsiteHitCountDetailForm
getTotalCount
(
@Param
(
"websiteHitCountDetailForm"
)
WebsiteHitCountDetailForm
websiteHitCountDetailForm
);
}
}
src/main/java/io/office/modules/manage/service/WebsiteHitCountDetailService.java
View file @
9b614996
...
@@ -32,6 +32,6 @@ public interface WebsiteHitCountDetailService extends IService<WebsiteHitCountDe
...
@@ -32,6 +32,6 @@ public interface WebsiteHitCountDetailService extends IService<WebsiteHitCountDe
Page
<
WebsiteHitCountDetailForm
>
getListPage
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
,
Page
page
);
Page
<
WebsiteHitCountDetailForm
>
getListPage
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
,
Page
page
);
int
getTotalCount
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
);
WebsiteHitCountDetailForm
getTotalCount
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
);
}
}
src/main/java/io/office/modules/manage/service/impl/ShortCodeServiceImpl.java
View file @
9b614996
package
io
.
office
.
modules
.
manage
.
service
.
impl
;
package
io
.
office
.
modules
.
manage
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
io.office.common.utils.PageUtils
;
import
io.office.common.utils.Query
;
import
io.office.modules.manage.dao.ShortCodeDao
;
import
io.office.modules.manage.dao.ShortCodeDao
;
import
io.office.modules.manage.entity.ShortCodeEntity
;
import
io.office.modules.manage.entity.ShortCodeEntity
;
import
io.office.modules.manage.service.ShortCodeService
;
import
io.office.modules.manage.service.ShortCodeService
;
...
@@ -8,11 +13,6 @@ import org.springframework.stereotype.Service;
...
@@ -8,11 +13,6 @@ import org.springframework.stereotype.Service;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
io.office.common.utils.PageUtils
;
import
io.office.common.utils.Query
;
...
@@ -37,4 +37,4 @@ public class ShortCodeServiceImpl extends ServiceImpl<ShortCodeDao, ShortCodeEnt
...
@@ -37,4 +37,4 @@ public class ShortCodeServiceImpl extends ServiceImpl<ShortCodeDao, ShortCodeEnt
}
}
}
}
\ No newline at end of file
src/main/java/io/office/modules/manage/service/impl/WebsiteHitCountDetailServiceImpl.java
View file @
9b614996
...
@@ -59,7 +59,7 @@ public class WebsiteHitCountDetailServiceImpl extends ServiceImpl<WebsiteHitCoun
...
@@ -59,7 +59,7 @@ public class WebsiteHitCountDetailServiceImpl extends ServiceImpl<WebsiteHitCoun
}
}
@Override
@Override
public
int
getTotalCount
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
)
{
public
WebsiteHitCountDetailForm
getTotalCount
(
WebsiteHitCountDetailForm
websiteHitCountDetailForm
)
{
return
baseMapper
.
getTotalCount
(
websiteHitCountDetailForm
);
return
baseMapper
.
getTotalCount
(
websiteHitCountDetailForm
);
}
}
...
...
src/main/resources/mapper/manage/WebsiteHitCountDetailDao.xml
View file @
9b614996
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
</select>
</select>
<select
id=
"getTotalCount"
parameterType=
"io.office.modules.manage.form.WebsiteHitCountDetailForm"
resultType=
"i
nt
"
>
<select
id=
"getTotalCount"
parameterType=
"io.office.modules.manage.form.WebsiteHitCountDetailForm"
resultType=
"i
o.office.modules.manage.form.WebsiteHitCountDetailForm
"
>
SELECT COUNT(1) AS hit_count
SELECT COUNT(1) AS hit_count
,max(create_time) createEndTime,min(create_time) createStartTime
FROM website_hit_count_detail
FROM website_hit_count_detail
<where>
<where>
<if
test=
"websiteHitCountDetailForm.createStartTime!=null and websiteHitCountDetailForm.createStartTime!=''"
>
<if
test=
"websiteHitCountDetailForm.createStartTime!=null and websiteHitCountDetailForm.createStartTime!=''"
>
...
...
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