|
|
@@ -325,6 +325,7 @@ public class FsStoreScrmServiceImpl implements IFsStoreScrmService {
|
|
|
if(fsStore.getIsAudit() != null && fsStore.getIsAudit() == 1){
|
|
|
updateStore.setQualificationUpdateTime(LocalDate.now());
|
|
|
}
|
|
|
+ updateStore.setStatus(1);
|
|
|
fsStoreMapper.updateFsStore(updateStore);
|
|
|
//更新日志
|
|
|
storeAuditLogUtil.addAudit(fsStore.getStoreId(), fsStore.getReason(), fsStore.getAttachImage());
|
|
|
@@ -479,12 +480,9 @@ public class FsStoreScrmServiceImpl implements IFsStoreScrmService {
|
|
|
|
|
|
@Override
|
|
|
public R qualificationReminder(Long storeId) {
|
|
|
- boolean check = false;
|
|
|
FsStoreScrm storeScrm = fsStoreMapper.qualificationReminder(storeId);
|
|
|
if (storeScrm != null) {
|
|
|
- check = true;
|
|
|
-
|
|
|
- if(storeScrm.getStatus().equals(1)){
|
|
|
+ if(storeScrm.getStatus().equals(1) && storeScrm.getRemainDays() < 0){
|
|
|
//更新店铺状态
|
|
|
FsStoreScrm fsStoreScrm =new FsStoreScrm();
|
|
|
fsStoreScrm.setStoreId(storeId);
|
|
|
@@ -492,7 +490,7 @@ public class FsStoreScrmServiceImpl implements IFsStoreScrmService {
|
|
|
fsStoreMapper.updateFsStore(fsStoreScrm);
|
|
|
}
|
|
|
}
|
|
|
- return R.ok().put("check",check);
|
|
|
+ return R.ok().put("data",storeScrm);
|
|
|
}
|
|
|
|
|
|
/**
|