2024-11-02 17:23:39 +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.ruoyi.oa.mapper.SysOaWarehouseMapper">
|
|
|
|
|
|
2024-11-16 20:08:00 +08:00
|
|
|
<resultMap type="com.ruoyi.oa.domain.vo.SysOaWarehouseVo" id="SysOaWarehouseResult">
|
2024-11-02 17:23:39 +08:00
|
|
|
<result property="id" column="id"/>
|
|
|
|
|
<result property="inventory" column="inventory"/>
|
|
|
|
|
<result property="model" column="model"/>
|
2024-12-15 21:41:23 +08:00
|
|
|
<result property="price" column="price"/>
|
2024-11-02 17:23:39 +08:00
|
|
|
<result property="unit" column="unit"/>
|
|
|
|
|
<result property="name" column="name"/>
|
|
|
|
|
<result property="brand" column="brand"/>
|
|
|
|
|
<result property="specifications" column="specifications"/>
|
|
|
|
|
<result property="remark" column="remark"/>
|
|
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
|
|
<result property="createBy" column="create_by"/>
|
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
2024-11-16 20:08:00 +08:00
|
|
|
<select id="selectVoByIdAndXml" resultMap="SysOaWarehouseResult" parameterType="Long">
|
2025-03-10 21:02:00 +08:00
|
|
|
select id, inventory, model, unit, name, brand, specifications, remark, create_time, create_by, update_time, update_by, del_flag
|
|
|
|
|
from sys_oa_warehouse
|
|
|
|
|
where id = #{id}
|
2024-11-16 20:08:00 +08:00
|
|
|
</select>
|
|
|
|
|
|
2024-11-02 17:23:39 +08:00
|
|
|
|
|
|
|
|
</mapper>
|