|
@@ -599,7 +599,7 @@ public class StoreCommentServiceImpl extends ServiceImpl<StoreCommentMapper, Sto
|
|
|
StoreUser storeUser = storeUserMapper.selectOne(new LambdaQueryWrapper<StoreUser>().eq(StoreUser::getStoreId, storeInfo.getId()).eq(StoreUser::getDeleteFlag, 0));
|
|
StoreUser storeUser = storeUserMapper.selectOne(new LambdaQueryWrapper<StoreUser>().eq(StoreUser::getStoreId, storeInfo.getId()).eq(StoreUser::getDeleteFlag, 0));
|
|
|
|
|
|
|
|
// 如果差评,则发送差评提醒
|
|
// 如果差评,则发送差评提醒
|
|
|
- if(score >= 0.5 && score <= 2.5){
|
|
|
|
|
|
|
+ if(score != null && score >= 0.5 && score <= 2.5){
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
String commonDate = simpleDateFormat.format(new Date());
|
|
String commonDate = simpleDateFormat.format(new Date());
|
|
|
LifeNotice lifeMessage = new LifeNotice();
|
|
LifeNotice lifeMessage = new LifeNotice();
|