|
|
@@ -181,8 +181,8 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
|
|
|
StoreMainInfoVo storeMainInfoVo = storeInfoMapper.getStoreInfo(id);
|
|
|
|
|
|
//判断门店是否到期
|
|
|
- if (ObjectUtils.isNotEmpty(storeMainInfoVo.getExpirationDate())) {
|
|
|
- if (new Date().after(DateUtils.parseDate(storeMainInfoVo.getExpirationDate()))) {
|
|
|
+ if (ObjectUtils.isNotEmpty(storeMainInfoVo.getExpirationTime())) {
|
|
|
+ if (new Date().after(storeMainInfoVo.getExpirationTime())) {
|
|
|
storeMainInfoVo.setExpirationFlag(0);
|
|
|
}else {
|
|
|
storeMainInfoVo.setExpirationFlag(1);
|