|
|
|
@ -394,6 +394,15 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
HighDiscountUserRelExample example = new HighDiscountUserRelExample(); |
|
|
|
|
HighDiscountUserRelExample.Criteria criteria = example.createCriteria(); |
|
|
|
|
|
|
|
|
|
if (userId != null) { |
|
|
|
|
criteria.andUserIdEqualTo(userId); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (status != null) { |
|
|
|
|
criteria.andStatusEqualTo(status); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
example.setOrderByClause("create_time desc"); |
|
|
|
|
return highDiscountUserRelMapper.selectByExample(example).size(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|