|
|
|
@ -140,7 +140,7 @@ public class IoOrderServiceImpl implements IoOrderService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<IoOrderEntity> findByStatus(String action, Integer status, Date lastUpdateTime) {
|
|
|
|
|
return orderDao.selectList(new QueryWrapper<IoOrderEntity>().eq("action", action).eq("status", status).gt("updateTime", lastUpdateTime));
|
|
|
|
|
return orderDao.selectList(new QueryWrapper<IoOrderEntity>().eq("action", action).eq("status", status).le(lastUpdateTime != null, "updateTime", lastUpdateTime));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|