|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.admin.request.CarsQuery; | 
|---|
|  |  |  | import com.doumee.dao.admin.response.CarsDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Cars; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 创建 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param cars 实体对象 | 
|---|
|  |  |  | * @return Integer | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return List<Cars> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Cars> findList(Cars cars); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 分页查询 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return long | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | long count(Cars cars); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 长期车查询 | 
|---|
|  |  |  | * @param pageWrap | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PageData<CarsDTO> findCarPage(PageWrap<CarsQuery> pageWrap); | 
|---|
|  |  |  | } | 
|---|