沈斌
2018-06-09 938b35db33710afcbf42fe0b0b1137a6c6a0d7b4
src/main/java/com/moral/mapper/AccountMapper.java
@@ -3,13 +3,10 @@
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Account;
import com.moral.entity.AccountExample;
@Mapper
public interface AccountMapper extends BaseMapper<Account, AccountExample, Integer> {
public interface AccountMapper extends BaseMapper<Account> {
   List<Map<String, Object>> getRoleNameByAccountId(Integer accountId);
   Account getByAccountName(String name);
}