接口 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);
时间: 2024-10-25 14:32:53