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
0143182c
Commit
0143182c
authored
Mar 25, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/2502朋友圈' into 'master'
朋友圈 See merge request
!2664
parents
b227008f
4f78ca68
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+12
-8
QwMomentPlanAttendMapper.java
...e/service/dao/mapper/moment/QwMomentPlanAttendMapper.java
+1
-1
QwMomentPlanAttendService.java
...age/service/service/moment/QwMomentPlanAttendService.java
+1
-1
QwMomentPlanAttendServiceImpl.java
...ce/service/moment/impl/QwMomentPlanAttendServiceImpl.java
+3
-3
QwMomentPlanDataServiceImpl.java
...vice/service/moment/impl/QwMomentPlanDataServiceImpl.java
+1
-1
QwMomentPlanServiceImpl.java
.../service/service/moment/impl/QwMomentPlanServiceImpl.java
+1
-1
qwMomentPlanAttendMapper.xml
...main/resources/mapper/moment/qwMomentPlanAttendMapper.xml
+5
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/moment/QwMomentPlanAttendMapper.java
View file @
0143182c
...
@@ -46,7 +46,7 @@ public interface QwMomentPlanAttendMapper {
...
@@ -46,7 +46,7 @@ public interface QwMomentPlanAttendMapper {
List
<
TaskListWxaDTO
>
taskListWxa
(
TaskListWxaQDTO
qdto
);
List
<
TaskListWxaDTO
>
taskListWxa
(
TaskListWxaQDTO
qdto
);
void
finishTask
(
@Param
(
"attendId"
)
Long
attendId
,
@Param
(
"sendTime"
)
Date
sendTime
);
void
finishTask
(
@Param
(
"attendId"
)
Long
attendId
,
@Param
(
"sendTime"
)
Date
sendTime
,
@Param
(
"staffId"
)
String
staffId
);
void
updateMomentId
(
@Param
(
"id"
)
Long
id
,
@Param
(
"momentId"
)
String
jobId
);
void
updateMomentId
(
@Param
(
"id"
)
Long
id
,
@Param
(
"momentId"
)
String
jobId
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/QwMomentPlanAttendService.java
View file @
0143182c
...
@@ -35,5 +35,5 @@ public interface QwMomentPlanAttendService {
...
@@ -35,5 +35,5 @@ public interface QwMomentPlanAttendService {
void
updateStatusFlag
(
TabQwMomentPlan
plan
)
;
void
updateStatusFlag
(
TabQwMomentPlan
plan
)
;
void
finishTaskUpdateData
(
Long
attendId
,
Long
planId
,
Date
sendDate
)
;
void
finishTaskUpdateData
(
Long
attendId
,
Long
planId
,
Date
sendDate
,
String
staffId
)
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanAttendServiceImpl.java
View file @
0143182c
...
@@ -214,7 +214,7 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
...
@@ -214,7 +214,7 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
if
(
null
==
dto
)
{
if
(
null
==
dto
)
{
return
ServiceResponse
.
failure
(
"9999"
,
"任务不存在"
);
return
ServiceResponse
.
failure
(
"9999"
,
"任务不存在"
);
}
}
this
.
finishTaskUpdateData
(
dto
.
getAttendId
(),
planId
,
qdto
.
getSendTime
())
;
this
.
finishTaskUpdateData
(
dto
.
getAttendId
(),
planId
,
qdto
.
getSendTime
()
,
qdto
.
getStaffId
()
)
;
String
momentId
=
this
.
getMomentId
(
qdto
.
getStaffId
()
,
qdto
.
getSendTime
()
,
0
)
;
String
momentId
=
this
.
getMomentId
(
qdto
.
getStaffId
()
,
qdto
.
getSendTime
()
,
0
)
;
if
(
StringUtils
.
isNotBlank
(
momentId
))
{
if
(
StringUtils
.
isNotBlank
(
momentId
))
{
this
.
qwMomentPlanAttendMapper
.
updateMomentId
(
dto
.
getAttendId
(),
momentId
);
this
.
qwMomentPlanAttendMapper
.
updateMomentId
(
dto
.
getAttendId
(),
momentId
);
...
@@ -253,12 +253,12 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
...
@@ -253,12 +253,12 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
}
}
@Override
@Override
public
void
finishTaskUpdateData
(
Long
attendId
,
Long
planId
,
Date
sendDate
)
{
public
void
finishTaskUpdateData
(
Long
attendId
,
Long
planId
,
Date
sendDate
,
String
staffId
)
{
TabQwMomentPlanAttend
attend
=
this
.
qwMomentPlanAttendMapper
.
getById
(
attendId
)
;
TabQwMomentPlanAttend
attend
=
this
.
qwMomentPlanAttendMapper
.
getById
(
attendId
)
;
if
(
attend
.
getTaskStatus
()==
2
)
{
if
(
attend
.
getTaskStatus
()==
2
)
{
return
;
return
;
}
}
this
.
qwMomentPlanAttendMapper
.
finishTask
(
attendId
,
sendDate
)
;
this
.
qwMomentPlanAttendMapper
.
finishTask
(
attendId
,
sendDate
,
staffId
)
;
this
.
qwMomentPlanMapper
.
updateClerkNum
(
planId
,-
1
,-
1
,
1
);
this
.
qwMomentPlanMapper
.
updateClerkNum
(
planId
,-
1
,-
1
,
1
);
// 完成代办
// 完成代办
this
.
pendingTaskService
.
updateFinish
(
attendId
+
""
)
;
this
.
pendingTaskService
.
updateFinish
(
attendId
+
""
)
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanDataServiceImpl.java
View file @
0143182c
...
@@ -129,7 +129,7 @@ public class QwMomentPlanDataServiceImpl implements QwMomentPlanDataService {
...
@@ -129,7 +129,7 @@ public class QwMomentPlanDataServiceImpl implements QwMomentPlanDataService {
}
}
this
.
qwMomentPlanAttendMapper
.
updateQwData
(
task
.
getPlanId
(),
task
.
getClerkId
(),
likeCount
,
commentCount
)
;
this
.
qwMomentPlanAttendMapper
.
updateQwData
(
task
.
getPlanId
(),
task
.
getClerkId
(),
likeCount
,
commentCount
)
;
if
((
likeCount
>
0
||
commentCount
>
0
)
&&
task
.
getTaskStatus
()==
1
)
{
if
((
likeCount
>
0
||
commentCount
>
0
)
&&
task
.
getTaskStatus
()==
1
)
{
this
.
qwMomentPlanAttendService
.
finishTaskUpdateData
(
task
.
getAttendId
(),
task
.
getPlanId
()
,
new
Date
());
this
.
qwMomentPlanAttendService
.
finishTaskUpdateData
(
task
.
getAttendId
(),
task
.
getPlanId
()
,
new
Date
()
,
null
);
}
}
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
();
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanServiceImpl.java
View file @
0143182c
...
@@ -597,7 +597,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
...
@@ -597,7 +597,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
String
staffId
=
staff
.
getStaffId
();
String
staffId
=
staff
.
getStaffId
();
TabQwMomentPlanAttend
attend
=
this
.
qwMomentPlanAttendMapper
.
getByStaff
(
planId
,
staffId
);
TabQwMomentPlanAttend
attend
=
this
.
qwMomentPlanAttendMapper
.
getByStaff
(
planId
,
staffId
);
if
(
attend
.
getTaskStatus
()==
1
)
{
if
(
attend
.
getTaskStatus
()==
1
)
{
this
.
qwMomentPlanAttendService
.
finishTaskUpdateData
(
attend
.
getAttendId
(),
attend
.
getPlanId
(),
new
Date
())
;
this
.
qwMomentPlanAttendService
.
finishTaskUpdateData
(
attend
.
getAttendId
(),
attend
.
getPlanId
(),
new
Date
()
,
null
)
;
}
}
}
}
}
}
...
...
haoban-manage3-service/src/main/resources/mapper/moment/qwMomentPlanAttendMapper.xml
View file @
0143182c
...
@@ -203,7 +203,11 @@
...
@@ -203,7 +203,11 @@
<update
id=
"finishTask"
>
<update
id=
"finishTask"
>
update tab_haoban_qw_moment_plan_attend set task_status = 2 , send_time= #{sendTime} where attend_id = #{attendId}
update tab_haoban_qw_moment_plan_attend set task_status = 2 , send_time= #{sendTime}
<if
test=
"null != staffId"
>
, staff_id = #{staffId}
</if>
where attend_id = #{attendId}
</update>
</update>
<update
id=
"updateMomentId"
>
<update
id=
"updateMomentId"
>
...
...
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