feat: There is no way the, @Async
This commit is contained in:
+3
@@ -111,6 +111,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Propagation;
|
import org.springframework.transaction.annotation.Propagation;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
@@ -2996,6 +2997,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
return standList;
|
return standList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Async
|
||||||
@Override
|
@Override
|
||||||
public void insertIntoIndexForMap(Map<String, Object> attrInfoMap) {
|
public void insertIntoIndexForMap(Map<String, Object> attrInfoMap) {
|
||||||
Set<String> keys = attrInfoMap.keySet();
|
Set<String> keys = attrInfoMap.keySet();
|
||||||
@@ -3073,6 +3075,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
standLawsSearchService.addStandLawsSearchForMap(attrInfoMap);
|
standLawsSearchService.addStandLawsSearchForMap(attrInfoMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Async
|
||||||
@Override
|
@Override
|
||||||
public void updateIntoIndexForMap(Map<String, Object> attrInfoMap) {
|
public void updateIntoIndexForMap(Map<String, Object> attrInfoMap) {
|
||||||
Set<String> keys = attrInfoMap.keySet();
|
Set<String> keys = attrInfoMap.keySet();
|
||||||
|
|||||||
Reference in New Issue
Block a user