Commit 58c1d676 authored by shiyu's avatar shiyu

查价

parent db1b8911
...@@ -82,6 +82,7 @@ public class ItemDaoImpl implements ItemDao { ...@@ -82,6 +82,7 @@ public class ItemDaoImpl implements ItemDao {
} else { } else {
example.setOrderByClause("create_time asc"); example.setOrderByClause("create_time asc");
} }
JdbcHelper.ifPresent(coinRequestDto.getCid(), criteria::andCidEqualTo);
JdbcHelper.ifPresent(coinRequestDto.getStartUpdateTime(), criteria::andUpdateTimeGreaterThan); JdbcHelper.ifPresent(coinRequestDto.getStartUpdateTime(), criteria::andUpdateTimeGreaterThan);
PageHelper.startPage(coinRequestDto.getPage(), coinRequestDto.getLimit()); PageHelper.startPage(coinRequestDto.getPage(), coinRequestDto.getLimit());
return itemMapper.selectByExampleWithBLOBs(example); return itemMapper.selectByExampleWithBLOBs(example);
......
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