<?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="org.springblade.modules.application.mapper.GoodsMapper">
|
|
<!-- 通用查询映射结果 -->
|
<resultMap id="goodsResultMap" type="org.springblade.modules.application.entity.GoodsEntity">
|
<result column="id" property="id"/>
|
<result column="name" property="name"/>
|
<result column="axial_load" property="axialLoad"/>
|
<result column="weight" property="weight"/>
|
<result column="all_weight" property="allWeight"/>
|
<result column="length" property="length"/>
|
<result column="width" property="width"/>
|
<result column="height" property="height"/>
|
<result column="all_length" property="allLength"/>
|
<result column="all_width" property="allWidth"/>
|
<result column="all_height" property="allHeight"/>
|
<result column="remark" property="remark"/>
|
</resultMap>
|
|
|
<select id="selectGoodsPage" resultMap="goodsResultMap">
|
select * from sys_application_goods where is_deleted = 0
|
</select>
|
|
|
</mapper>
|