|
|
@@ -352,8 +352,8 @@ public class MarketEmailsServiceImpl extends MyBaseServiceImpl<MarketEmailsMappe
|
|
|
LambdaUpdateWrapper<MarketEmailsEntity> wrapper = new LambdaUpdateWrapper<>();
|
|
|
wrapper.in(MarketEmailsEntity::getId, ids);
|
|
|
wrapper.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0);
|
|
|
- // status = -2 表示取消发送
|
|
|
- wrapper.set(MarketEmailsEntity::getStatus, -2);
|
|
|
+ // status = -3 表示取消发送
|
|
|
+ wrapper.set(MarketEmailsEntity::getStatus, -3);
|
|
|
boolean ok = this.update(wrapper);
|
|
|
if (!ok) {
|
|
|
return Result.error("取消发送失败");
|