|  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.business.model.BikeRepair; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Multifile; | 
|---|
|  |  |  | import com.doumee.dao.business.web.request.BikeRepairDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.web.request.BikeRepairProblemDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.web.request.BikeRepairQuery; | 
|---|
|  |  |  | import com.doumee.dao.business.web.request.RepairRequest; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 创建 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param bikeRepair 实体对象 | 
|---|
|  |  |  | * @return String | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return List<BikeRepair> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<BikeRepair> findList(BikeRepair bikeRepair); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 分页查询 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param pageWrap 分页对象 | 
|---|
|  |  |  | * @return PageData<BikeRepair> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PageData<BikeRepair> findPage(PageWrap<BikeRepair> pageWrap); | 
|---|
|  |  |  | PageData<BikeRepairDTO> findPage(PageWrap<BikeRepairQuery> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * 获取上报人的保修信息 | 
|---|
|  |  |  | * @return BikeRepairProblemDTO | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Multifile> getBikeRepairProblemDTO(String id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 条件统计 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return long | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | long count(BikeRepair bikeRepair); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void saveRepair(RepairRequest repairRequest)  throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void dealDo(BikeRepair bikeRepair); | 
|---|
|  |  |  | } | 
|---|