cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.jeecg.modules.base.mapper;
 
import java.util.List;
import org.jeecg.modules.base.entity.WarehouseClient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
/**
 * @Description: 仓库服务对象
 * @Author: jeecg-boot
 * @Date:   2022-11-07
 * @Version: V1.0
 */
@Repository
public interface WarehouseClientMapper extends BaseMapper<WarehouseClient> {
 
    /**
     * 通过主表id删除子表数据
     *
     * @param mainId 主表id
     * @return boolean
     */
    public boolean deleteByMainId(@Param("mainId") String mainId);
 
   /**
    * 通过主表id查询子表数据
    *
    * @param mainId 主表id
    * @return List<WarehouseClient>
    */
    public List<WarehouseClient> selectByMainId(@Param("mainId") String mainId);
 
}