From a4fb6a1f15ffabfc13506a183ca5f69306e85e08 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 19 八月 2024 13:40:58 +0800 Subject: [PATCH] 最新版本 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformJobService.java | 125 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 125 insertions(+), 0 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformJobService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformJobService.java new file mode 100644 index 0000000..e663954 --- /dev/null +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformJobService.java @@ -0,0 +1,125 @@ +package com.doumee.service.business; + +import com.doumee.core.model.PageData; +import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.model.PlatformJob; +import com.doumee.dao.web.reqeust.JobDetailDTO; +import com.doumee.dao.web.reqeust.LineUpDetailDTO; +import com.doumee.dao.web.reqeust.SignInDTO; +import com.doumee.dao.web.response.DriverHomeVO; +import com.doumee.dao.web.response.LineUpVO; + +import java.util.List; + +/** + * 鏈堝彴璋冨害浣滀笟淇℃伅琛⊿ervice瀹氫箟 + * @author 姹熻箘韫� + * @date 2024/06/28 10:03 + */ +public interface PlatformJobService { + + /** + * 鍒涘缓 + * + * @param platformJob 瀹炰綋瀵硅薄 + * @return Integer + */ + Integer create(PlatformJob platformJob); + + /** + * 涓婚敭鍒犻櫎 + * + * @param id 涓婚敭 + */ + void deleteById(Integer id); + + /** + * 鍒犻櫎 + * + * @param platformJob 瀹炰綋瀵硅薄 + */ + void delete(PlatformJob platformJob); + + /** + * 鎵归噺涓婚敭鍒犻櫎 + * + * @param ids 涓婚敭闆� + */ + void deleteByIdInBatch(List<Integer> ids); + + /** + * 涓婚敭鏇存柊 + * + * @param platformJob 瀹炰綋瀵硅薄 + */ + void updateById(PlatformJob platformJob); + + /** + * 鎵归噺涓婚敭鏇存柊 + * + * @param platformJobs 瀹炰綋闆� + */ + void updateByIdInBatch(List<PlatformJob> platformJobs); + + /** + * 涓婚敭鏌ヨ + * + * @param id 涓婚敭 + * @return PlatformJob + */ + PlatformJob findById(Integer id); + + /** + * 鏉′欢鏌ヨ鍗曟潯璁板綍 + * + * @param platformJob 瀹炰綋瀵硅薄 + * @return PlatformJob + */ + PlatformJob findOne(PlatformJob platformJob); + + /** + * 鏉′欢鏌ヨ + * + * @param platformJob 瀹炰綋瀵硅薄 + * @return List<PlatformJob> + */ + List<PlatformJob> findList(PlatformJob platformJob); + + /** + * 鍒嗛〉鏌ヨ + * + * @param pageWrap 鍒嗛〉瀵硅薄 + * @return PageData<PlatformJob> + */ + PageData<PlatformJob> findPage(PageWrap<PlatformJob> pageWrap); + + /** + * 鏉′欢缁熻 + * + * @param platformJob 瀹炰綋瀵硅薄 + * @return long + */ + long count(PlatformJob platformJob); + + DriverHomeVO getDriverHome(Integer memberId); + + /** + * 璺濈绛惧埌 + * @param signInDTO + */ + void signIn(SignInDTO signInDTO); + + /** + * 浠诲姟璇︽儏 + * @param jobDetailDTO + * @return + */ + PlatformJob getDetail(JobDetailDTO jobDetailDTO); + + /** + * 鎺掗槦鎯呭喌 + * @param lineUpDetailDTO + * @return + */ + LineUpVO lineUpDetail(LineUpDetailDTO lineUpDetailDTO); +} -- Gitblit v1.9.3