|
|
|
@ -273,12 +273,11 @@ public class IoOrderDetailResultController extends BaseController {
|
|
|
|
|
List<CptTraceResultResponse> cptTraceResultResponses = new ArrayList<>();
|
|
|
|
|
if (CollUtil.isNotEmpty(cptTraceOrderResponses)) {
|
|
|
|
|
for (CptTraceOrderResponse cptTraceOrderResponse : cptTraceOrderResponses) {
|
|
|
|
|
|
|
|
|
|
if (cptTraceOrderResponse.getCorpType() == 1 || cptTraceOrderResponse.getCorpType() == 2) {
|
|
|
|
|
CptTraceResultResponse cptTraceResultResponse = new CptTraceResultResponse();
|
|
|
|
|
cptTraceResultResponse.setBillNo(cptTraceOrderResponse.getBillNo());
|
|
|
|
|
cptTraceResultResponse.setBillDate(DateUtil.formatDate(cptTraceOrderResponse.getCreateTime()));
|
|
|
|
|
cptTraceResultResponse.setBillType(cptTraceOrderResponse.getBillType());
|
|
|
|
|
|
|
|
|
|
if (cptTraceOrderResponse.getMainAction().equals(ConstantType.TYPE_OUT)) {
|
|
|
|
|
if (StrUtil.isNotEmpty(cptTraceOrderResponse.getFromInvCode()))
|
|
|
|
|
continue;
|
|
|
|
@ -300,6 +299,7 @@ public class IoOrderDetailResultController extends BaseController {
|
|
|
|
|
cptTraceResultResponses.add(cptTraceResultResponse);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return ResultVOUtils.success(cptTraceResultResponses);
|
|
|
|
|
|
|
|
|
|