|
|
@ -394,6 +394,15 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
HighDiscountUserRelExample example = new HighDiscountUserRelExample(); |
|
|
|
HighDiscountUserRelExample example = new HighDiscountUserRelExample(); |
|
|
|
HighDiscountUserRelExample.Criteria criteria = example.createCriteria(); |
|
|
|
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(); |
|
|
|
return highDiscountUserRelMapper.selectByExample(example).size(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|