|
|
|
@ -9,6 +9,7 @@ import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
|
|
import com.xxl.job.core.log.XxlJobLogger; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.log4j.Log4j2; |
|
|
|
|
import org.springblade.common.exception.CustomerException; |
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
@ -43,6 +44,10 @@ public class OrderPackageStatusFallJob {
|
|
|
|
|
|
|
|
|
|
orderPackageStatusPushFailLogEntity.setDataStatus(1); |
|
|
|
|
|
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
XxlJobLogger.log(e); |
|
|
|
|
|
|
|
|
|
orderPackageStatusPushFailLogEntity.setDataStatus(2); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
XxlJobLogger.log(e); |
|
|
|
|
|
|
|
|
|