场景模型测试工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
scmy/psdc-business/src/main/java/com/psdc/mapper/SecretKeyMapper.java

32 lines
625 B

package com.psdc.mapper;
import com.psdc.entity.SecretKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* @author 小镇做题家
*/
@Mapper
public interface SecretKeyMapper {
/**
* 新增数据
*
* @param secretKey 实例对象
* @return 影响行数
*/
Integer insert(SecretKey secretKey);
/**
* 更新数据
*
* @return 影响行数
*/
Integer update(@Param(value = "newKey") String s1,
@Param(value = "oldKey") String s2);
SecretKey selOneByKey(@Param(value = "key") String s);
}