package com.young.demo.repository.mybatis.infrastructure;

import com.young.demo.repository.mybatis.infrastructure.MyBatisReadOnlyMapper;

import java.io.Serializable;

import static javafx.scene.input.KeyCode.K;

/**
 * Created by young_mac on 16/4/27.
 */
public interface MyBatisUpdateableMapper<E, K extends Serializable> {

    int save(E entity);

    int updateByPrimaryKey(K id, E entity);
}

@@ -166,52 +166,8 @@
 e;%0A%0A
-import static javafx.scene.input.KeyCode.K;%0A
 %0A/**

Update MyBatisUpdateableMapper.java