lanan-system/dl-module-repair/src/main/resources/mapper/tickets/DlRepairTitemMapper.xml

55 lines
2.6 KiB
XML
Raw Normal View History

2024-09-13 18:25:51 +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="cn.iocoder.yudao.module.tickets.mapper.DlRepairTitemMapper">
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.tickets.entity.DlRepairTitem">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="tichetId" column="tichet_id" jdbcType="VARCHAR"/>
<result property="itemName" column="item_name" jdbcType="VARCHAR"/>
<result property="itemCount" column="item_count" jdbcType="INTEGER"/>
<result property="itemUnit" column="item_unit" jdbcType="VARCHAR"/>
<result property="itemPrice" column="item_price" jdbcType="DECIMAL"/>
<result property="itemDiscount" column="item_discount" jdbcType="DECIMAL"/>
<result property="itemMoney" column="item_money" jdbcType="DECIMAL"/>
<result property="repairId" column="repair_id" jdbcType="BIGINT"/>
<result property="repairName" column="repair_name" jdbcType="VARCHAR"/>
<result property="saleId" column="sale_id" jdbcType="BIGINT"/>
<result property="saleName" column="sale_name" jdbcType="VARCHAR"/>
<result property="itemType" column="item_type" jdbcType="VARCHAR"/>
<result property="projectId" column="project_id" jdbcType="VARCHAR"/>
<result property="partId" column="part_id" jdbcType="VARCHAR"/>
<result property="projectTypeId" column="project_type_id" jdbcType="VARCHAR"/>
<result property="partTypeId" column="part_type_id" jdbcType="VARCHAR"/>
<result property="otherTypeId" column="other_type_id" jdbcType="VARCHAR"/>
<result property="itemStatus" column="item_status" jdbcType="VARCHAR"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_SQL">
select id,
tichet_id,
item_name,
item_count,
item_unit,
item_price,
item_discount,
item_money,
repair_id,
repair_name,
sale_id,
sale_name,
item_type,
project_id,
part_id,
project_type_id,
part_type_id,
other_type_id,
item_status,
remark
from dl_repair_titem drti
where drti.deleted = '0'
</sql>
</mapper>