47 lines
2.1 KiB
XML
47 lines
2.1 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.stockOperate.mapper.DlRepairSoMapper">
|
||
|
|
|
||
|
|
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.stockOperate.entity.DlRepairSo">
|
||
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||
|
|
<result property="soType" column="so_type" jdbcType="VARCHAR"/>
|
||
|
|
<result property="purchaseType" column="purchase_type" jdbcType="VARCHAR"/>
|
||
|
|
<result property="soNo" column="so_no" jdbcType="VARCHAR"/>
|
||
|
|
<result property="supplierId" column="supplier_id" jdbcType="VARCHAR"/>
|
||
|
|
<result property="supplierName" column="supplier_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="userId" column="user_id" jdbcType="BIGINT"/>
|
||
|
|
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="soTime" column="so_time" jdbcType="TIMESTAMP"/>
|
||
|
|
<result property="itemCount" column="item_count" jdbcType="INTEGER"/>
|
||
|
|
<result property="totalPrice" column="total_price" jdbcType="DECIMAL"/>
|
||
|
|
<result property="soStatus" column="so_status" jdbcType="VARCHAR"/>
|
||
|
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||
|
|
<result property="corpId" column="corp_id" jdbcType="VARCHAR"/>
|
||
|
|
<result property="corpName" column="corp_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="deptId" column="dept_id" jdbcType="BIGINT"/>
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
<sql id="Base_SQL">
|
||
|
|
select id,
|
||
|
|
so_type,
|
||
|
|
purchase_type,
|
||
|
|
so_no,
|
||
|
|
supplier_id,
|
||
|
|
supplier_name,
|
||
|
|
user_id,
|
||
|
|
user_name,
|
||
|
|
so_time,
|
||
|
|
item_count,
|
||
|
|
total_price,
|
||
|
|
so_status,
|
||
|
|
remark,
|
||
|
|
corp_id,
|
||
|
|
corp_name,
|
||
|
|
dept_id
|
||
|
|
from dl_repair_so so
|
||
|
|
where so.deleted = '0'
|
||
|
|
</sql>
|
||
|
|
</mapper>
|