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
3eeec831
Commit
3eeec831
authored
Mar 07, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
6ec9d372
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
84 additions
and
3 deletions
+84
-3
SendResultQDTO.java
...com/gic/haoban/manage/api/qdto/moment/SendResultQDTO.java
+56
-0
QwMomentApiService.java
.../haoban/manage/api/service/moment/QwMomentApiService.java
+7
-0
QwMomentPlanAttendService.java
...age/service/service/moment/QwMomentPlanAttendService.java
+3
-0
QwMomentPlanAttendServiceImpl.java
...ce/service/moment/impl/QwMomentPlanAttendServiceImpl.java
+6
-0
QwMomentApiServiceImpl.java
...rvice/service/out/impl/moment/QwMomentApiServiceImpl.java
+4
-0
QwMomentController.java
...oban/manage/web/controller/moment/QwMomentController.java
+8
-3
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/qdto/moment/SendResultQDTO.java
0 → 100644
View file @
3eeec831
package
com
.
gic
.
haoban
.
manage
.
api
.
qdto
.
moment
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
SendResultQDTO
implements
Serializable
{
private
String
wxEnterpriseId
;
private
String
staffId
;
private
String
clerkId
;
private
Long
planId
;
/**
* 发送时间
*/
private
Date
sendTime
;
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
String
getWxEnterpriseId
()
{
return
wxEnterpriseId
;
}
public
void
setWxEnterpriseId
(
String
wxEnterpriseId
)
{
this
.
wxEnterpriseId
=
wxEnterpriseId
;
}
public
String
getStaffId
()
{
return
staffId
;
}
public
void
setStaffId
(
String
staffId
)
{
this
.
staffId
=
staffId
;
}
public
Long
getPlanId
()
{
return
planId
;
}
public
void
setPlanId
(
Long
planId
)
{
this
.
planId
=
planId
;
}
public
Date
getSendTime
()
{
return
sendTime
;
}
public
void
setSendTime
(
Date
sendTime
)
{
this
.
sendTime
=
sendTime
;
}
}
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/moment/QwMomentApiService.java
View file @
3eeec831
...
@@ -63,4 +63,11 @@ public interface QwMomentApiService {
...
@@ -63,4 +63,11 @@ public interface QwMomentApiService {
* @return
* @return
*/
*/
ServiceResponse
<
TaskDetailDTO
>
taskDetail
(
Long
planId
,
String
execClerkId
);
ServiceResponse
<
TaskDetailDTO
>
taskDetail
(
Long
planId
,
String
execClerkId
);
/**
* 完成任务
* @param qdto
* @return
*/
ServiceResponse
<
Void
>
finishTask
(
SendResultQDTO
qdto
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/QwMomentPlanAttendService.java
View file @
3eeec831
...
@@ -6,6 +6,7 @@ import com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO;
...
@@ -6,6 +6,7 @@ import com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanClerkListQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanClerkListQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.SendResultQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
java.util.List
;
import
java.util.List
;
...
@@ -24,4 +25,6 @@ public interface QwMomentPlanAttendService {
...
@@ -24,4 +25,6 @@ public interface QwMomentPlanAttendService {
ServiceResponse
<
TaskDetailDTO
>
taskDetail
(
Long
planId
,
String
execClerkId
);
ServiceResponse
<
TaskDetailDTO
>
taskDetail
(
Long
planId
,
String
execClerkId
);
ServiceResponse
<
Page
<
TaskListWxaDTO
>>
taskListWxa
(
TaskListWxaQDTO
qdto
);
ServiceResponse
<
Page
<
TaskListWxaDTO
>>
taskListWxa
(
TaskListWxaQDTO
qdto
);
ServiceResponse
<
Void
>
finishTask
(
SendResultQDTO
qdto
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanAttendServiceImpl.java
View file @
3eeec831
...
@@ -10,6 +10,7 @@ import com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO;
...
@@ -10,6 +10,7 @@ import com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanClerkListQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanClerkListQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.SendResultQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
com.gic.haoban.manage.service.dao.mapper.moment.QwMomentPlanAttendMapper
;
import
com.gic.haoban.manage.service.dao.mapper.moment.QwMomentPlanAttendMapper
;
import
com.gic.haoban.manage.service.entity.moment.TabQwMomentPlanAttend
;
import
com.gic.haoban.manage.service.entity.moment.TabQwMomentPlanAttend
;
...
@@ -97,4 +98,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
...
@@ -97,4 +98,9 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
Page
<
TaskListWxaDTO
>
retPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
list
,
TaskListWxaDTO
.
class
);
Page
<
TaskListWxaDTO
>
retPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
list
,
TaskListWxaDTO
.
class
);
return
ServiceResponse
.
success
(
retPage
);
return
ServiceResponse
.
success
(
retPage
);
}
}
@Override
public
ServiceResponse
<
Void
>
finishTask
(
SendResultQDTO
qdto
)
{
return
null
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/moment/QwMomentApiServiceImpl.java
View file @
3eeec831
...
@@ -85,4 +85,8 @@ public class QwMomentApiServiceImpl implements QwMomentApiService {
...
@@ -85,4 +85,8 @@ public class QwMomentApiServiceImpl implements QwMomentApiService {
return
this
.
qwMomentPlanAttendService
.
taskDetail
(
planId
,
execClerkId
)
;
return
this
.
qwMomentPlanAttendService
.
taskDetail
(
planId
,
execClerkId
)
;
}
}
@Override
public
ServiceResponse
<
Void
>
finishTask
(
SendResultQDTO
qdto
)
{
return
this
.
qwMomentPlanAttendService
.
finishTask
(
qdto
)
;
}
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/moment/QwMomentController.java
View file @
3eeec831
...
@@ -8,10 +8,12 @@ import com.gic.clerk.api.service.ClerkService;
...
@@ -8,10 +8,12 @@ import com.gic.clerk.api.service.ClerkService;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.util.PageHelperUtils
;
import
com.gic.commons.util.PageHelperUtils
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.haoban.manage.api.dto.moment.QwMomentPlanDTO
;
import
com.gic.haoban.manage.api.dto.moment.QwMomentPlanWxaDTO
;
import
com.gic.haoban.manage.api.dto.moment.QwMomentPlanWxaDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskDetailDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.dto.moment.TaskListWxaDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.PlanListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.SendResultQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskListWxaQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskNumQDTO
;
import
com.gic.haoban.manage.api.qdto.moment.TaskNumQDTO
;
import
com.gic.haoban.manage.api.service.moment.QwMomentApiService
;
import
com.gic.haoban.manage.api.service.moment.QwMomentApiService
;
...
@@ -109,6 +111,8 @@ public class QwMomentController {
...
@@ -109,6 +111,8 @@ public class QwMomentController {
*/
*/
@RequestMapping
(
"material-list"
)
@RequestMapping
(
"material-list"
)
public
RestResponse
<
List
<
TaskMaterialVO
>>
getTaskMaterial
(
Long
planId
)
{
public
RestResponse
<
List
<
TaskMaterialVO
>>
getTaskMaterial
(
Long
planId
)
{
ServiceResponse
<
QwMomentPlanDTO
>
detailResp
=
this
.
qwMomentApiService
.
detail
(
planId
)
;
return
null
;
return
null
;
}
}
...
@@ -117,8 +121,9 @@ public class QwMomentController {
...
@@ -117,8 +121,9 @@ public class QwMomentController {
*/
*/
@RequestMapping
(
"finish-moment-task"
)
@RequestMapping
(
"finish-moment-task"
)
@ResponseBody
@ResponseBody
public
RestResponse
<
Void
>
finishTask
(
Long
planId
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
storeId
,
String
clerkId
,
String
staffId
)
{
public
RestResponse
<
Void
>
finishTask
(
@RequestBody
SendResultQDTO
qdto
)
{
logger
.
info
(
"完成任务={}"
)
;
logger
.
info
(
"完成任务={}"
,
JSONObject
.
toJSONString
(
qdto
))
;
return
null
;
this
.
qwMomentApiService
.
finishTask
(
qdto
)
;
return
RestResponse
.
successResult
();
}
}
}
}
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