PixelAI-backend/target/classes/mapper/AcConfigMapper.xml

24 lines
879 B
XML
Raw Permalink Normal View History

2024-10-28 15:31:30 +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">
<mapper namespace="com.message.api.base.dao.AcConfigMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.message.api.base.entity.AcConfig">
<id column="id" property="id"/>
<result column="configname" property="configname"/>
<result column="configvalue" property="configvalue"/>
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, configname, configvalue
</sql>
<select id="findByConfigname" parameterType="java.lang.String" resultType="com.message.api.base.entity.AcConfig">
SELECT
<include refid="Base_Column_List"/>
FROM ac_config WHERE configname = #{configname}
</select>
</mapper>