package com.example.fuzzControll.mapper; import com.example.fuzzControll.domain.bo.FuzzParams; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Component; import java.util.List; @Mapper @Component("FuzzParamsMapper") public interface FuzzParamsMapper { boolean saveFuzzParams(FuzzParams fuzzParams); List<FuzzParams> getFuzzParamsList(); FuzzParams getFuzzParamsById(int id); boolean editFuzzParams(@Param("id") int id,@Param("params") String params ,@Param("protocol") String protocol); int insertFuzzParamsReturnId(FuzzParams fuzzParams); }