From cfbf7533b8cfc395a110390da23cf6bb641daff9 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 08 一月 2025 16:05:17 +0800 Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/YwOutinboundService.java | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/YwOutinboundService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/YwOutinboundService.java new file mode 100644 index 0000000..379ff7b --- /dev/null +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/YwOutinboundService.java @@ -0,0 +1,99 @@ +package com.doumee.service.business; + +import com.doumee.core.model.PageData; +import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.model.YwOutinbound; +import java.util.List; + +/** + * 杩愮淮鍑哄叆搴撲俊鎭〃Service瀹氫箟 + * @author 姹熻箘韫� + * @date 2025/01/06 11:05 + */ +public interface YwOutinboundService { + + /** + * 鍒涘缓 + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + * @return Integer + */ + Integer create(YwOutinbound ywOutinbound); + + /** + * 涓婚敭鍒犻櫎 + * + * @param id 涓婚敭 + */ + void deleteById(Integer id); + + /** + * 鍒犻櫎 + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + */ + void delete(YwOutinbound ywOutinbound); + + /** + * 鎵归噺涓婚敭鍒犻櫎 + * + * @param ids 涓婚敭闆� + */ + void deleteByIdInBatch(List<Integer> ids); + + /** + * 涓婚敭鏇存柊 + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + */ + void updateById(YwOutinbound ywOutinbound); + + /** + * 鎵归噺涓婚敭鏇存柊 + * + * @param ywOutinbounds 瀹炰綋闆� + */ + void updateByIdInBatch(List<YwOutinbound> ywOutinbounds); + + /** + * 涓婚敭鏌ヨ + * + * @param id 涓婚敭 + * @return YwOutinbound + */ + YwOutinbound findById(Integer id); + + /** + * 鏉′欢鏌ヨ鍗曟潯璁板綍 + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + * @return YwOutinbound + */ + YwOutinbound findOne(YwOutinbound ywOutinbound); + + /** + * 鏉′欢鏌ヨ + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + * @return List<YwOutinbound> + */ + List<YwOutinbound> findList(YwOutinbound ywOutinbound); + + /** + * 鍒嗛〉鏌ヨ + * + * @param pageWrap 鍒嗛〉瀵硅薄 + * @return PageData<YwOutinbound> + */ + PageData<YwOutinbound> findPage(PageWrap<YwOutinbound> pageWrap); + + /** + * 鏉′欢缁熻 + * + * @param ywOutinbound 瀹炰綋瀵硅薄 + * @return long + */ + long count(YwOutinbound ywOutinbound); + + YwOutinbound getDetail(Integer id); +} -- Gitblit v1.9.3