TASK:试用订单;
This commit is contained in:
@@ -507,7 +507,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
@Override
|
||||
public IPage<TrialOrder> trialOrderList(TrialOrderDTO trialOrderDTO) {
|
||||
QueryWrapper<TrialOrder> qw = new QueryWrapper<>();
|
||||
qw.lambda().eq(TrialOrder::getStatus, 0);
|
||||
qw.lambda().eq(trialOrderDTO.getStatus() != null, TrialOrder::getStatus, trialOrderDTO.getStatus());
|
||||
return trialOrderMapper.selectPage(new Page<>(trialOrderDTO.getPage(), trialOrderDTO.getSize()), qw);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user