<?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" >
|
<!-- Table:ubp_process_log -->
|
<mapper namespace="com.changhong.epc.demo.mapper.tenant.strategy.TenantInfoMapper">
|
|
<resultMap type="com.changhong.epc.demo.MVTest" id="masterValueMap">
|
<id column="DEFINE_CODE" property="mdCode"/>
|
<collection property="values" ofType="java.util.Map" javaType="com.changhong.epc.demo.MvList">
|
<id column="ID" property="id"/>
|
<result column="ELE_CODE" property="eleCode"/>
|
<result column="ELE_VALUE" property="eleValue"/>
|
<result column="ROW_NO" property="rowNo"/>
|
</collection>
|
</resultMap>
|
|
<select id="selectTest" resultMap="masterValueMap">
|
select
|
ID,
|
DEFINE_CODE,
|
ELE_CODE,
|
ELE_VALUE,
|
ROW_NO
|
from epc_master_value_{rule}
|
where DEFINE_CODE = 'F071'
|
and DEL_FLAG = 0
|
ORDER BY ROW_NO
|
</select>
|
|
</mapper>
|