|
|
|
@ -53,6 +53,9 @@ public class HighDiscountServiceImpl implements HighDiscountService { |
|
|
|
|
if (MapUtils.getInteger(map, "discountType") != null) { |
|
|
|
|
criteria.andDiscountTypeEqualTo(MapUtils.getInteger(map, "discountType")); |
|
|
|
|
} |
|
|
|
|
if (MapUtils.getLong(map, "companyId") != null) { |
|
|
|
|
criteria.andCompanyIdEqualTo(MapUtils.getLong(map, "companyId")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
example.setOrderByClause("update_time desc"); |
|
|
|
|
return highDiscountMapper.selectByExample(example); |
|
|
|
|