|
@@ -20,6 +20,7 @@ import com.rongwei.rwcommoncomponent.excel.vo.FormData;
|
|
import com.rongwei.rwcommonentity.commonservers.domain.SysFileItemDo;
|
|
import com.rongwei.rwcommonentity.commonservers.domain.SysFileItemDo;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.scheduling.annotation.Async;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
@@ -67,6 +68,7 @@ public class ZhcxCommon {
|
|
*
|
|
*
|
|
* @param notifyList
|
|
* @param notifyList
|
|
*/
|
|
*/
|
|
|
|
+ @Async("inspectionCancelTaskExecutor")
|
|
public void sendMsg(List<NotifyDto> notifyList) {
|
|
public void sendMsg(List<NotifyDto> notifyList) {
|
|
if(ObjectUtil.isEmpty(notifyList)) {
|
|
if(ObjectUtil.isEmpty(notifyList)) {
|
|
return ;
|
|
return ;
|