|
@@ -354,7 +354,7 @@ public class TechnicianMomentServiceImpl extends ServiceImpl<TechnicianMomentMap
|
|
|
// 6. 设置审核状态和发布时间
|
|
// 6. 设置审核状态和发布时间
|
|
|
if (dto.getIsDraft() != null && dto.getIsDraft() == 1) {
|
|
if (dto.getIsDraft() != null && dto.getIsDraft() == 1) {
|
|
|
// 保存草稿
|
|
// 保存草稿
|
|
|
- moment.setAuditStatus(0); // 草稿
|
|
|
|
|
|
|
+ moment.setAuditStatus(0);
|
|
|
moment.setPublishTime(null);
|
|
moment.setPublishTime(null);
|
|
|
} else {
|
|
} else {
|
|
|
// 立即发布,进入待审核状态
|
|
// 立即发布,进入待审核状态
|