|
|
|
@ -57,6 +57,9 @@ public class ThrOrderDownload implements IDownload {
|
|
|
|
|
BaseResponse<PageSimpleResponse<IoCollectOrder>> baseResponse = erpBasicClient.getThrOrders(filterThrOrderRequest);
|
|
|
|
|
if (baseResponse.getCode() == 20000) {
|
|
|
|
|
List<IoCollectOrder> list = baseResponse.getData().getList();
|
|
|
|
|
if (list == null){
|
|
|
|
|
return ResultVOUtils.error(500, "未查到此业务单据");
|
|
|
|
|
}
|
|
|
|
|
// TODO: 2024/9/11 2024/9/11 添加一张中间表(io_collect_order_origin)原始表做为转换
|
|
|
|
|
importThrOrder(list, collectOrderRequest);
|
|
|
|
|
if ((list.size() >= limit && !baseResponse.getData().getTotal().equals(-666)) || IntUtil.value(baseResponse.getData().getTotal()) == -555) {
|
|
|
|
|