cloudroam
2025-03-13 d2f062b46a96a2083864d529aff28628eea26b58
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
package com.jsh.erp.datasource.mappers;
 
import com.jsh.erp.datasource.entities.CloudContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
@Mapper
public interface CloudContentMapper {
 
 
    @Select("select * from cloud_content where status = '1'  and type =#{type} limit 1")
    CloudContent getByType(@Param("type") String type);
 
    List<CloudContent> selectList(CloudContent cloudContent);
 
    CloudContent selectById(Long id);
 
    int insert(CloudContent cloudContent);
 
    int update(CloudContent cloudContent);
 
    int deleteById(Long id);