标签:
接口 UserInfoMapper.java
xml UserInfoMapper.xml
如何关联
<?xml version="1.0" encoding="GBK" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="com.witaste.dao.UserInfoMapper" >
方法
<select id="selectById" parameterType="java.util.Map" statementType="CALLABLE"> {call ccgc_1 ( #{id,jdbcType=VARCHAR,mode=IN}, #{V_RESULT,jdbcType=VARCHAR,mode=OUT} )} </select>
调用
userInfoMapper.selectById(map);
标签:
原文地址:http://www.cnblogs.com/zno2/p/4488294.html