Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
29659c31
Commit
29659c31
authored
Nov 13, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量修改跟进记录状态时需要更新最新更新时间和操作人
parent
bcf1787a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CustomerFollowupServiceImpl.java
...service/customerFollowup/CustomerFollowupServiceImpl.java
+6
-1
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/customerFollowup/CustomerFollowupServiceImpl.java
View file @
29659c31
package
cn
.
iocoder
.
yudao
.
module
.
customer
.
service
.
customerFollowup
;
package
cn
.
iocoder
.
yudao
.
module
.
customer
.
service
.
customerFollowup
;
import
cn.hutool.core.date.DateUtil
;
import
cn.iocoder.yudao.framework.apollo.core.event.Order.OrderNumberLogEvent
;
import
cn.iocoder.yudao.framework.apollo.core.event.Order.OrderNumberLogEvent
;
import
cn.iocoder.yudao.framework.common.pojo.PageResult
;
import
cn.iocoder.yudao.framework.common.pojo.PageResult
;
import
cn.iocoder.yudao.framework.common.util.code.CodeUtils
;
import
cn.iocoder.yudao.framework.common.util.code.CodeUtils
;
...
@@ -31,6 +32,7 @@ import org.springframework.validation.annotation.Validated;
...
@@ -31,6 +32,7 @@ import org.springframework.validation.annotation.Validated;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.Collection
;
import
java.util.Collection
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
exception
.
util
.
ServiceExceptionUtil
.
exception
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
exception
.
util
.
ServiceExceptionUtil
.
exception
;
...
@@ -206,11 +208,14 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu
...
@@ -206,11 +208,14 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu
// throw exception(FOLLOWUP_ALREADY_SUBMITTED);
// throw exception(FOLLOWUP_ALREADY_SUBMITTED);
// }
// }
}
}
Date
now
=
DateUtil
.
date
();
Long
userId
=
SecurityFrameworkUtils
.
getLoginUser
().
getId
();
for
(
Long
id
:
ids
)
{
for
(
Long
id
:
ids
)
{
CustomerFollowupDO
customerFollowupDO
=
followupMapper
.
selectById
(
id
);
CustomerFollowupDO
customerFollowupDO
=
followupMapper
.
selectById
(
id
);
customerFollowupDO
.
setStatus
(
updateStatusReqVO
.
getStatus
());
customerFollowupDO
.
setStatus
(
updateStatusReqVO
.
getStatus
());
customerFollowupDO
.
setUpdater
(
String
.
valueOf
(
userId
));
customerFollowupDO
.
setUpdateTime
(
now
);
followupMapper
.
updateById
(
customerFollowupDO
);
followupMapper
.
updateById
(
customerFollowupDO
);
...
...
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