cloudroam
2024-12-04 b8676fd2d275723e7f3512f3d052dd538cc727b1
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);
}