cloudroam
2024-12-04 2432594a4d11b47a503795349defa31872f85789
src/main/java/com/mzl/flower/mapper/flower/FlowerParamItemMapper.java
@@ -4,9 +4,13 @@
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);
}