Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
8bb3ca6f
Commit
8bb3ca6f
authored
Dec 15, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询
parent
1b91c895
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
7 deletions
+25
-7
ChatOwnerTotalDTO.java
...com/gic/haoban/manage/api/dto/chat/ChatOwnerTotalDTO.java
+0
-2
GroupChatPlanOwnerLogDTO.java
.../haoban/manage/api/dto/chat/GroupChatPlanOwnerLogDTO.java
+19
-0
GroupChatPlanApiServiceImpl.java
...ce/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
+3
-3
GroupChatPlanOwnerLogMapper.xml
...ain/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
+1
-0
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+2
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/chat/ChatOwnerTotalDTO.java
View file @
8bb3ca6f
package
com
.
gic
.
haoban
.
manage
.
api
.
dto
.
chat
;
package
com
.
gic
.
haoban
.
manage
.
api
.
dto
.
chat
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
/**
*
*
* @ClassName: TabHaobanGroupChatPlanOwnerLog
* @ClassName: TabHaobanGroupChatPlanOwnerLog
...
...
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/chat/GroupChatPlanOwnerLogDTO.java
View file @
8bb3ca6f
...
@@ -39,6 +39,25 @@ public class GroupChatPlanOwnerLogDTO implements Serializable{
...
@@ -39,6 +39,25 @@ public class GroupChatPlanOwnerLogDTO implements Serializable{
private
String
msgid
;
private
String
msgid
;
private
Date
expireDate
;
private
Date
expireDate
;
private
Date
sendTime
;
private
Date
sendTime
;
public
Date
getStartTime
()
{
return
startTime
;
}
public
Date
getEndTime
()
{
return
endTime
;
}
public
void
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
}
public
void
setEndTime
(
Date
endTime
)
{
this
.
endTime
=
endTime
;
}
private
Date
startTime
;
private
Date
endTime
;
public
Integer
getFailCount
()
{
public
Integer
getFailCount
()
{
return
failCount
;
return
failCount
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
View file @
8bb3ca6f
...
@@ -29,7 +29,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
...
@@ -29,7 +29,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanDTO
>>
listPage
(
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
public
ServiceResponse
<
Page
<
GroupChatPlanDTO
>>
listPage
(
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
}
Page
<
GroupChatPlanBO
>
page
=
this
.
groupChatPlanService
.
listPage
(
qdto
,
basePageInfo
);
Page
<
GroupChatPlanBO
>
page
=
this
.
groupChatPlanService
.
listPage
(
qdto
,
basePageInfo
);
...
@@ -81,7 +81,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
...
@@ -81,7 +81,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
listLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
public
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
listLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
}
Page
<
GroupChatPlanLogDTO
>
page
=
this
.
groupChatPlanService
.
listLogPage
(
qdto
,
basePageInfo
);
Page
<
GroupChatPlanLogDTO
>
page
=
this
.
groupChatPlanService
.
listLogPage
(
qdto
,
basePageInfo
);
...
@@ -91,7 +91,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
...
@@ -91,7 +91,7 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
)
{
if
(
null
!=
qdto
.
getEndDate
())
{
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
}
Page
<
GroupChatPlanOwnerLogDTO
>
page
=
this
.
groupChatPlanOwnerLogService
.
listPage
(
planId
,
qdto
,
basePageInfo
);
Page
<
GroupChatPlanOwnerLogDTO
>
page
=
this
.
groupChatPlanOwnerLogService
.
listPage
(
planId
,
qdto
,
basePageInfo
);
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
View file @
8bb3ca6f
...
@@ -191,6 +191,7 @@
...
@@ -191,6 +191,7 @@
a.store_id storeId ,
a.store_id storeId ,
a.send_status sendStatus ,
a.send_status sendStatus ,
a.send_count sendCount ,
a.send_count sendCount ,
a.fail_count failCount ,
a.send_time sendTime ,
a.send_time sendTime ,
a.create_time createTime ,
a.create_time createTime ,
b.end_time expireDate ,
b.end_time expireDate ,
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
8bb3ca6f
...
@@ -58,9 +58,9 @@ public class GroupChatPlanController {
...
@@ -58,9 +58,9 @@ public class GroupChatPlanController {
if
(
null
!=
page
.
getResult
())
{
if
(
null
!=
page
.
getResult
())
{
page
.
getResult
().
forEach
(
dto
->{
page
.
getResult
().
forEach
(
dto
->{
if
(
dto
.
getEndTime
().
before
(
new
Date
()))
{
if
(
dto
.
getEndTime
().
before
(
new
Date
()))
{
dto
.
setPlanStatus
(
1
);
}
else
{
dto
.
setPlanStatus
(
2
);
dto
.
setPlanStatus
(
2
);
}
else
{
dto
.
setPlanStatus
(
1
);
}
}
});
});
}
}
...
...
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