撤销异步

main
hshansha 1 month ago
parent 064c06f124
commit a9b34f690d

@ -12,7 +12,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
* @author ruoyi
*/
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableAsync
//@EnableAsync
@EnableScheduling
public class RuoYiApplication
{

@ -114,7 +114,7 @@ public class KhVoteEmpServiceImpl implements IKhVoteEmpService {
@Override
@Transactional
@Async("threadPoolTaskExecutor")
// @Async("threadPoolTaskExecutor")
public AjaxResult voteSubmit(KhVoteRecardParam param) {
System.out.println("------------------------开始异步批量处理用户数据,线程:" + Thread.currentThread().getName());
Map<String, String> xuanxiangDetails = new LinkedHashMap<>();

Loading…
Cancel
Save