anderx 1 рік тому
батько
коміт
8e41ca0e13

+ 1 - 2
src/main/java/com/goafanti/common/task/PatentTask.java

@@ -12,7 +12,6 @@ import com.goafanti.common.utils.LoggerUtils;
 import com.goafanti.common.utils.SendEmailUtil;
 import com.goafanti.patent.bo.PatentNewBo;
 import com.goafanti.patent.service.PatentNewService;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
@@ -35,7 +34,7 @@ public class PatentTask {
 	private PatentNewService patentNewService;
 	@Resource
 	private AdminService adminService;
-	@Autowired
+	@Resource
 	private AsyncUtils	asyncUtils;