9 changed files with 99 additions and 3 deletions
@ -0,0 +1,41 @@
|
||||
package com.logpm.patch.jobhandle; |
||||
|
||||
|
||||
import com.logpm.patch.service.ISyncDistributionParcelListService; |
||||
import com.xxl.job.core.biz.model.ReturnT; |
||||
import com.xxl.job.core.handler.annotation.XxlJob; |
||||
import lombok.AllArgsConstructor; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springframework.stereotype.Component; |
||||
|
||||
/** |
||||
* 配送数据修复 |
||||
*/ |
||||
@Slf4j |
||||
@AllArgsConstructor |
||||
@Component |
||||
public class DistributionDatarepair { |
||||
|
||||
|
||||
private final ISyncDistributionParcelListService distributionParcelListService; |
||||
/** |
||||
* 预约状态修复 |
||||
* @param param |
||||
* @return |
||||
*/ |
||||
@XxlJob("reservationDatarepair") |
||||
public ReturnT<String> reservationDatarepair(String param) { |
||||
|
||||
|
||||
|
||||
|
||||
return null; |
||||
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.logpm.patch.mapper; |
||||
|
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
@Mapper |
||||
public interface ISyncDistributionParcelListMapper { |
||||
|
||||
|
||||
List<Map<String,Integer>> selectAllErrorReservationOrder(); |
||||
|
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.logpm.patch.service; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
public interface ISyncDistributionParcelListService { |
||||
|
||||
/** |
||||
* 获取错误的预约信息 |
||||
* @return |
||||
*/ |
||||
List<Map<String,Integer>> selectAllErrorReservationOrder(); |
||||
|
||||
} |
@ -0,0 +1,15 @@
|
||||
package com.logpm.patch.service.impl; |
||||
|
||||
import com.logpm.patch.service.ISyncDistributionParcelListService; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
public class SyncDistributionParcelListServiceImpl implements ISyncDistributionParcelListService { |
||||
@Override |
||||
public List<Map<String, Integer>> selectAllErrorReservationOrder() { |
||||
|
||||
|
||||
return null; |
||||
} |
||||
} |
Loading…
Reference in new issue