package com.njcn.mapper.configuration;

import com.njcn.pojo.configuration.ProtectControlWord;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ProtectControlWordMapper extends Mapper<ProtectControlWord> {
    List<ProtectControlWord> getAll(@Param("pvIndex")String pvIndex);
    int updateWord(@Param("pvIndex")String pvIndex,@Param("flag")int flag,@Param("typeNum")int typeNum);
}
