|
|
@@ -93,10 +93,16 @@ public class BusinessRpReportServiceImpl implements BusinessRpReportService {
|
|
93
|
93
|
BusinessRpReportRecVO businessRpReportRecVO =businessRpReportMapper.getRpReportByById(rpReportId,null);
|
|
94
|
94
|
|
|
95
|
95
|
List<BusinessRpOutbound> outboundList = businessRpOutboundMapper.findByRpReportId(rpReportId,null);
|
|
96
|
|
- businessRpReportRecVO.setBusinessRpOutboundList(outboundList);
|
|
|
96
|
+ if(outboundList.size()>0){
|
|
|
97
|
+
|
|
|
98
|
+ businessRpReportRecVO.setBusinessRpOutboundList(outboundList);
|
|
|
99
|
+ }
|
|
97
|
100
|
|
|
98
|
101
|
List<BusinessRpInbound> inboundList = businessRpInboundMapper.findByRpReportId(rpReportId,null);
|
|
99
|
|
- businessRpReportRecVO.setBusinessRpInboundList(inboundList);
|
|
|
102
|
+ if(inboundList.size()>0){
|
|
|
103
|
+ businessRpReportRecVO.setBusinessRpInboundList(inboundList);
|
|
|
104
|
+ }
|
|
|
105
|
+
|
|
100
|
106
|
|
|
101
|
107
|
|
|
102
|
108
|
return businessRpReportRecVO;
|