hyingbo
2025-06-19 53fa0cd3e1950b02301fa2c15ceaba04a5ef5645
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
package org.jeecg.modules.eam.mapper;
 
import java.util.List;
import org.jeecg.modules.eam.entity.StreamOperation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
 
/**
 * @Description: 操作记录
 * @Author: jeecg-boot
 * @Date:   2023-11-21
 * @Version: V1.0
 */
public interface StreamOperationMapper extends BaseMapper<StreamOperation> {
 
    /**
     * 通过主表id删除子表数据
     *
     * @param mainId 主表id
     * @return boolean
     */
    public boolean deleteByMainId(@Param("mainId") String mainId);
 
   /**
    * 通过主表id查询子表数据
    *
    * @param mainId 主表id
    * @return List<StreamOperation>
    */
    public List<StreamOperation> selectByMainId(@Param("mainId") String mainId);
 
}