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);
|
}
|