|
@@ -735,6 +735,7 @@ public class KwcContractLogisticsService {
|
|
|
public void export(QueryListReqVo reqVo, HttpServletResponse response) {
|
|
public void export(QueryListReqVo reqVo, HttpServletResponse response) {
|
|
|
QueryListReqDto queryListReqDto = new QueryListReqDto();
|
|
QueryListReqDto queryListReqDto = new QueryListReqDto();
|
|
|
BeanUtils.copyProperties(reqVo, queryListReqDto);
|
|
BeanUtils.copyProperties(reqVo, queryListReqDto);
|
|
|
|
|
+ queryListReqDto.setIdList(StringUtils.splitStrToList(reqVo.getIds(), Global.COMMA, Long.class));
|
|
|
List<Long> allEnt = new ArrayList<>();
|
|
List<Long> allEnt = new ArrayList<>();
|
|
|
if (Objects.isNull(reqVo.getEntId())) {
|
|
if (Objects.isNull(reqVo.getEntId())) {
|
|
|
queryListReqDto.setEntId(LoginUserHolder.getEntId());
|
|
queryListReqDto.setEntId(LoginUserHolder.getEntId());
|
|
@@ -941,6 +942,7 @@ public class KwcContractLogisticsService {
|
|
|
* @date: 2023/9/13
|
|
* @date: 2023/9/13
|
|
|
*/
|
|
*/
|
|
|
public void exportLogisticsList(QueryListReqVo reqVo, HttpServletResponse response) {
|
|
public void exportLogisticsList(QueryListReqVo reqVo, HttpServletResponse response) {
|
|
|
|
|
+ reqVo.setIdList(StringUtils.splitStrToList(reqVo.getIds(), Global.COMMA, Long.class));
|
|
|
List<QueryListResDto> queryListResDtos = kwcContractLogisticsMapper.queryLogisticsList(reqVo);
|
|
List<QueryListResDto> queryListResDtos = kwcContractLogisticsMapper.queryLogisticsList(reqVo);
|
|
|
if (CollectionUtils.isEmpty(queryListResDtos)) {
|
|
if (CollectionUtils.isEmpty(queryListResDtos)) {
|
|
|
throw new SystemException("导出数据为空");
|
|
throw new SystemException("导出数据为空");
|