|
|
@@ -136,18 +136,6 @@ public class TradingBoxServiceImpl extends ServiceImpl<TradingBoxMapper, Trading
|
|
|
.eq(TradingBoxFees::getPid, details.getId());
|
|
|
int count = tradingBoxFeesMapper.selectCount(tradingBoxFeesLambdaQueryWrapper);
|
|
|
tradingBoxItem.setCount(count);
|
|
|
- /*//获取明细图片
|
|
|
- LambdaQueryWrapper<TradingBoxFiles> tradingBoxFilesLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
- tradingBoxFilesLambdaQueryWrapper.eq(TradingBoxFiles::getIsDeleted, 0)
|
|
|
- .eq(TradingBoxFiles::getTenantId, AuthUtil.getTenantId())
|
|
|
- .eq(TradingBoxFiles::getType, "2")
|
|
|
- .eq(TradingBoxFiles::getPid, tradingBoxItem.getId());
|
|
|
- List<TradingBoxFiles> tradingBoxFilesList = tradingBoxFilesMapper.selectList(tradingBoxFilesLambdaQueryWrapper);
|
|
|
- for (TradingBoxFiles tradingBoxFiles : tradingBoxFilesList) {
|
|
|
- tradingBoxFiles.setLabel(tradingBoxFiles.getFileName());
|
|
|
- tradingBoxFiles.setValue(tradingBoxFiles.getUrl());
|
|
|
- }
|
|
|
- tradingBoxItem.setTradingBoxFilesList(tradingBoxFilesList);*/
|
|
|
}
|
|
|
details.setTradingBoxItemsList(tradingBoxItemList);
|
|
|
|
|
|
@@ -218,7 +206,7 @@ public class TradingBoxServiceImpl extends ServiceImpl<TradingBoxMapper, Trading
|
|
|
for (String boxType_ : boxType) {
|
|
|
List<TradingBoxItem> boxTypeSize = tradingBoxItemList.stream().filter(e -> e.getBoxType().equals(boxType_)).collect(Collectors.toList());
|
|
|
if (ObjectUtils.isNotNull(boxTypeSize) && boxTypeSize.size() > 0) {
|
|
|
- boxTypeNumber.append(boxType_).append("✖").append(boxTypeSize).append(",");
|
|
|
+ boxTypeNumber.append(boxType_).append("✖").append(boxTypeSize.size()).append(",");
|
|
|
}
|
|
|
}
|
|
|
tradingBox.setBoxTypeNumber(boxTypeNumber.toString());
|
|
|
@@ -442,7 +430,7 @@ public class TradingBoxServiceImpl extends ServiceImpl<TradingBoxMapper, Trading
|
|
|
for (String boxType_ : boxType) {
|
|
|
List<TradingBoxItem> boxTypeSize = tradingBoxItemList.stream().filter(e -> e.getBoxType().equals(boxType_)).collect(Collectors.toList());
|
|
|
if (ObjectUtils.isNotNull(boxTypeSize) && boxTypeSize.size() > 0) {
|
|
|
- boxTypeNumber.append(boxType_).append("✖").append(boxTypeSize).append(",");
|
|
|
+ boxTypeNumber.append(boxType_).append("✖").append(boxTypeSize.size()).append(",");
|
|
|
}
|
|
|
}
|
|
|
tradingBox.setBoxTypeNumber(boxTypeNumber.toString());
|