自动化立体仓库 - WCS系统
*
lsh
2025-04-01 b424d6493efb60cb8d93a2e16526086da1fc2ea9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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.zy.asrs.mapper.ApiConfigMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.zy.asrs.entity.ApiConfig">
        <id column="id" property="id" />
        <result column="url" property="url" />
        <result column="status" property="status" />
        <result column="memo" property="memo" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
        <result column="create_by" property="createBy" />
        <result column="update_by" property="updateBy" />
 
    </resultMap>
 
    <select id="selectByUrl" resultMap="BaseResultMap">
        select top 1 * from "SOURCE"."wcs_api_config"
        where "url" = #{url}
        order by "create_time" desc
    </select>
 
</mapper>