4/1 单据未对照处理

dev_2.5_inv
wangwei 3 days ago
parent b1d66c1c54
commit f7138b90dd

@ -85,6 +85,7 @@ public class DownloadFactory {
getSickPrescribeRequest.setEndTime(collectOrderRequest.getEndTime());
getSickPrescribeRequest.setKey(collectOrderRequest.getKeyWords());
getSickPrescribeRequest.setBusType(collectOrderRequest.getBusType());
BaseResponse resp;
while (true) {
List<IoCollectOrder> list;
try {
@ -101,7 +102,7 @@ public class DownloadFactory {
if (list == null) {
return ResultVOUtils.error(500, "未查到此业务单据");
}
importThrOrder(list, collectOrderRequest);
resp = importThrOrder(list, collectOrderRequest);
if ((list.size() >= limit && !baseResponse.getData().getTotal().equals(-666)) || IntUtil.value(baseResponse.getData().getTotal()) == -555) {
page++;
} else {
@ -118,7 +119,7 @@ public class DownloadFactory {
}
return ResultVOUtils.success("下载成功");
return ResultVOUtils.success(resp.getMessage(),"下载成功");
}

Loading…
Cancel
Save