MrShi
2025-01-08 cfbf7533b8cfc395a110390da23cf6bb641daff9
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);
}