<?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="cn.iocoder.yudao.module.stockTransfer.mapper.DlRepairStiMapper">

    <resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.stockTransfer.entity.DlRepairSti">
        <id property="id" column="id" jdbcType="VARCHAR"/>
        <result property="stId" column="st_id" jdbcType="VARCHAR"/>
        <result property="goodsId" column="goods_id" jdbcType="VARCHAR"/>
        <result property="goodsCount" column="goods_count" jdbcType="INTEGER"/>
        <result property="goodsPrice" column="goods_price" jdbcType="DECIMAL"/>
        <result property="remark" column="remark" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_SQL">
        select id,
               st_id,
               goods_id,
               goods_count,
               goods_price,
               remark
        from dl_repair_sti sti
        where sti.deleted = '0'
    </sql>

    <select id="getStiPage" resultMap="BaseResultMap">
        <include refid="Base_SQL" />
    </select>
</mapper>
