|
|
@@ -316,14 +316,7 @@ public class FsStoreScrmServiceImpl implements IFsStoreScrmService {
|
|
|
fsStore.getStoreId(), fsStoreScrm.getBusinessScope(), selectableProductTypes);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- if (fsStoreScrm.getStatus() == 0) {
|
|
|
- LocalDate today = LocalDate.now(ZoneId.of("Asia/Shanghai"));
|
|
|
- if (fsStoreScrm.getBusinessLicenseExpireEnd().isAfter(today) && fsStoreScrm.getDrugLicenseExpiryEnd().isAfter(today)
|
|
|
- && fsStoreScrm.getMedicalDevice2ExpiryEnd().isAfter(today) && fsStoreScrm.getMedicalLicenseExpiryEnd().isAfter(today)) {
|
|
|
- updateStore.setStatus(1);
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
fsStoreMapper.updateFsStore(updateStore);
|
|
|
//更新日志
|
|
|
storeAuditLogUtil.addAudit(fsStore.getStoreId(), fsStore.getReason(), fsStore.getAttachImage());
|