IMSupplierAppDao.xml 847 字节
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sibu.orderHelper.integral.dao.IMSupplierAppDao">
    <select id="findByAppIdAndAppType" resultMap="BaseResultMap">
        select * from im_supplier_app where app_id=#{appId} and app_type = #{appType}
    </select>
    <resultMap id="BaseResultMap" type="com.sibu.orderHelper.integral.model.IMSupplierApp">
        <result column="id" property="id"/>
        <result column="supplier_id" property="supplierId"/>
        <result column="app_id" property="appId"/>
        <result column="app_type" property="appType"/>
        <result column="app_token" property="appToken"/>
        <result column="app_secret" property="appSecret"/>
    </resultMap>
</mapper>