2026-04-27 11:24:42 +08:00
|
|
|
<?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">
|
2026-05-29 11:04:27 +08:00
|
|
|
<mapper namespace="com.yfd.platform.qgc_base.mapper.SdHbrvDicMapper">
|
2026-04-27 11:24:42 +08:00
|
|
|
|
2026-05-29 11:04:27 +08:00
|
|
|
<resultMap id="BaseResultMap" type="com.yfd.platform.qgc_base.domain.SdHbrvDic">
|
2026-04-27 11:24:42 +08:00
|
|
|
<id column="HBRVCD" property="hbrvcd"/>
|
|
|
|
|
<id column="BASEID" property="baseid"/>
|
|
|
|
|
<result column="HBRVNM" property="hbrvnm"/>
|
|
|
|
|
<result column="GRD" property="grd"/>
|
|
|
|
|
<result column="PATH" property="path"/>
|
|
|
|
|
<result column="ORDER_INDEX" property="orderIndex"/>
|
|
|
|
|
<result column="ENABLED" property="enabled"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<select id="selectByBaseid" resultMap="BaseResultMap">
|
|
|
|
|
SELECT * FROM SD_HBRV_DIC
|
|
|
|
|
WHERE BASEID = #{baseid}
|
|
|
|
|
ORDER BY ORDER_INDEX ASC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectByPhycd" resultMap="BaseResultMap">
|
|
|
|
|
SELECT * FROM SD_HBRV_DIC
|
|
|
|
|
WHERE HBRVCD = #{hbrvcd}
|
|
|
|
|
AND BASEID = #{baseid}
|
|
|
|
|
ORDER BY ORDER_INDEX ASC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectEnabledList" resultMap="BaseResultMap">
|
|
|
|
|
SELECT * FROM SD_HBRV_DIC
|
|
|
|
|
WHERE ENABLED = 1
|
|
|
|
|
ORDER BY ORDER_INDEX ASC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|