陶杰
2024-08-22 ee9032d9baf5f33e376d2d2699136e0a7b26bec7
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
package com.mzl.flower.mapper.flower;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mzl.flower.dto.request.flower.FlowerParamQueryDTO;
import com.mzl.flower.dto.response.flower.FlowerParamListDTO;
import com.mzl.flower.entity.flower.FlowerParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Repository
public interface FlowerParamMapper extends BaseMapper<FlowerParam> {
    void createTable(@Param("table") Map table);
 
    List<FlowerParamListDTO> selectParamList(Page page, @Param("condition") FlowerParamQueryDTO dto);
 
    void insertTableData(@Param("tableName") String tableName, @Param("columnList") List<String> columnList
            , @Param("valueList") List<Object> valueList);
 
    void updateTableDataById(@Param("tableName") String tableName, @Param("valueMapList") List<Map> valueMapList
            , @Param("idColumn")String idColumn, @Param("idValue") Object idValue);
 
    Map getTableDataById(@Param("tableName") String tableName, @Param("id") Long id);
}