陶杰
2025-01-08 ae1471f378f399f76518539ec8992e64a3673436
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mzl.flower.mapper.flower;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mzl.flower.dto.request.flower.ParamTableColumn;
import com.mzl.flower.entity.flower.FlowerParamItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
@Repository
public interface FlowerParamItemMapper extends BaseMapper<FlowerParamItem> {
    void addTableColumn(@Param("tableName") String tableName, @Param("field") ParamTableColumn field);
 
    @Select("select * from t_flower_param_item where id = #{id}")
    FlowerParamItem selectFlowerParamItemById(Long id);
}