定时任务去掉事务注解

master
hansha 1 year ago
parent da3bf2d4f1
commit 40b5fc8b38

@ -15,7 +15,6 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import java.io.File;
import java.util.ArrayList;
@ -57,10 +56,9 @@ public class TimeTask {
/**
*
*
*
* @throws Exception
*/
@Transactional
public void getTaskResult() {
String result = "";
try {

Loading…
Cancel
Save