28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?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.roomroot.jwgl.mapper.DKSQBZMXMapper">
|
|
|
|
<!-- 调课申请-新保障明细结果映射 -->
|
|
<resultMap id="AdjustSupportMap" type="com.roomroot.jwgl.vo.courserunning.AdjustSupportVO">
|
|
<result column="编号" property="bh"/>
|
|
<result column="保障提供明细编号" property="bztgmxbh"/>
|
|
<result column="保障提供明细名称" property="bztgmxmc"/>
|
|
<result column="数量" property="sl"/>
|
|
<result column="备注" property="bz"/>
|
|
</resultMap>
|
|
|
|
<select id="selectByDksqbh" resultMap="AdjustSupportMap">
|
|
SELECT
|
|
a.编号,
|
|
a.保障提供明细编号,
|
|
m.名称 AS 保障提供明细名称,
|
|
a.数量,
|
|
a.备注
|
|
FROM "调课申请_保障明细" a
|
|
LEFT JOIN "保障提供明细表" m ON a.保障提供明细编号 = m.编号
|
|
WHERE a.申请编号 = #{dksqbh}
|
|
ORDER BY a.编号
|
|
</select>
|
|
|
|
</mapper>
|