lanan-system/dl-module-repair/src/main/resources/mapper/stockTransfer/DlRepairStMapper.xml
2024-09-13 18:25:51 +08:00

43 lines
1.9 KiB
XML

<?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.DlRepairStMapper">
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.stockTransfer.entity.DlRepairSt">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="outCorpId" column="out_corp_id" jdbcType="VARCHAR"/>
<result property="inCorpId" column="in_corp_id" jdbcType="VARCHAR"/>
<result property="stNo" column="st_no" jdbcType="VARCHAR"/>
<result property="userId" column="user_id" jdbcType="BIGINT"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
<result property="itemCount" column="item_count" jdbcType="INTEGER"/>
<result property="totalPrice" column="total_price" jdbcType="DECIMAL"/>
<result property="discountPrice" column="discount_price" jdbcType="DECIMAL"/>
<result property="thisCollection" column="this_collection" jdbcType="DECIMAL"/>
<result property="thisDebt" column="this_debt" jdbcType="DECIMAL"/>
<result property="stStatus" column="st_status" jdbcType="VARCHAR"/>
<result property="stTime" column="st_time" jdbcType="TIMESTAMP"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_SQL">
select id,
out_corp_id,
in_corp_id,
st_no,
user_id,
user_name,
item_count,
total_price,
discount_price,
this_collection,
this_debt,
st_status,
st_time,
remark
from dl_repair_st st
where st.deleted = '0'
</sql>
</mapper>