| | |
| | | <?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.LocOwnerMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.zy.asrs.entity.LocOwner"> |
| | | <result column="id" property="id"/> |
| | | <result column="owner" property="owner"/> |
| | | <result column="owner_uuid" property="ownerUuid" /> |
| | | <result column="status" property="status"/> |
| | | <result column="owner_type" property="ownerType"/> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | </resultMap> |
| | | |
| | | <select id="selectByUuid" resultMap="BaseResultMap"> |
| | | select top 1 * from bas_loc_owner where 1=1 and owner_uuid = #{ownerUuid} |
| | | </select> |
| | | </mapper> |