| 123456789101112131415161718192021222324252627282930313233343536 |
- <?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="com.ydtech.modules.admin.dao.CustVehiclePhotoInfoMapper">
- <resultMap id="BaseResultMap" type="com.ydtech.modules.admin.model.po.CustVehiclePhotoInfo">
- <id property="id" column="id" jdbcType="VARCHAR"/>
- <result property="vehicleId" column="vehicle_id" jdbcType="VARCHAR"/>
- <result property="custId" column="cust_id" jdbcType="VARCHAR"/>
- <result property="subOrderNo" column="sub_order_no" jdbcType="VARCHAR"/>
- <result property="type" column="type" jdbcType="VARCHAR"/>
- <result property="loaclUrl" column="loacl_url" jdbcType="VARCHAR"/>
- <result property="netUrl" column="net_url" jdbcType="VARCHAR"/>
- <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
- <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
- <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
- <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
- <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
- </resultMap>
- <sql id="Base_Column_List">
- id,vehicle_id,cust_id,
- sub_order_no,type,loacl_url,
- net_url,create_by,create_time,
- update_by,update_time,del_flag
- </sql>
- <select id="findImgList" resultType="com.ydtech.modules.order.entity.dto.InsTaskImagesDto">
- select
- type as imageType,
- net_url as url,
- image_id as imageId
- from cust_vehicle_photo_info
- where sub_order_no = #{ subOrderNo}
- </select>
- </mapper>
|