Commit 5cc1fabc by 吕明尚

订单增加月卡,次卡信息

parent 5acd6ba5
......@@ -228,7 +228,7 @@ public class ConsumerMonthlyCardServiceImpl extends ServiceImpl<ConsumerMonthlyC
@Override
public List<ConsumerMonthlyCard> confNameByIds(ArrayList<Long> longs) {
LambdaQueryWrapper<ConsumerMonthlyCard> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.select(ConsumerMonthlyCard::getId, ConsumerMonthlyCard::getConfName);
queryWrapper.select(ConsumerMonthlyCard::getId, ConsumerMonthlyCard::getConfName, ConsumerMonthlyCard::getConfAmount);
if (CollectionUtils.isNotEmpty(longs)) {
queryWrapper.in(ConsumerMonthlyCard::getId, longs);
}
......
......@@ -141,7 +141,7 @@ public class ConsumerSecondaryCardServiceImpl extends ServiceImpl<ConsumerSecond
@Override
public List<ConsumerSecondaryCard> confNameByIds(ArrayList<Long> longs) {
LambdaQueryWrapper<ConsumerSecondaryCard> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.select(ConsumerSecondaryCard::getId, ConsumerSecondaryCard::getConfName);
queryWrapper.select(ConsumerSecondaryCard::getId, ConsumerSecondaryCard::getConfName, ConsumerSecondaryCard::getConfAmount);
if (CollectionUtils.isNotEmpty(longs)) {
queryWrapper.in(ConsumerSecondaryCard::getId, longs);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment