“djh”
2 天以前 45c3b7aacf3d20e1915e597152ad30a3b40377a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.gkhy.exam.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.exam.system.domain.Item;
import com.gkhy.exam.system.domain.ItemUser;
import com.gkhy.exam.system.domain.req.ItemReq;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
 
import java.util.List;
 
@Mapper
public interface ItemMapper extends BaseMapper<Item> {
    List<Item> selectItemList(Item item);
 
    void insertItemUser(@Param("users") List<ItemUser> users);
 
    void deleteItemUser(@Param("id") Integer id);
 
    List<Item> selectItemListAll(ItemReq itemReq);
 
    List<ItemUser> selectItemUser(@Param("itemId") Integer id);
}