<?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.boco.nbd.wios.manage.mapper.def.OrderInstallDeleteMapper" > <resultMap id="BaseResultMap" type="com.boco.nbd.wios.manage.entity.bo.OrderInstallDelete" > <id column="id" property="id" jdbcType="INTEGER" /> <result column="order_id" property="orderId" jdbcType="VARCHAR" /> <result column="third_user_id" property="thirdUserId" jdbcType="VARCHAR" /> <result column="pay_status" property="payStatus" jdbcType="BIT" /> <result column="vehicle_chassis_number" property="vehicleChassisNumber" jdbcType="VARCHAR" /> <result column="wallbox_no" property="wallboxNo" jdbcType="VARCHAR" /> <result column="wallbox_quantity" property="wallboxQuantity" jdbcType="INTEGER" /> <result column="wallbox_item_id" property="wallboxItemId" jdbcType="VARCHAR" /> <result column="house_type" property="houseType" jdbcType="BIT" /> <result column="parking_type" property="parkingType" jdbcType="BIT" /> <result column="address" property="address" jdbcType="VARCHAR" /> <result column="electric_expand" property="electricExpand" jdbcType="BIT" /> <result column="expand_method" property="expandMethod" jdbcType="BIT" /> <result column="install_power_type" property="installPowerType" jdbcType="VARCHAR" /> <result column="install_power_remark" property="installPowerRemark" jdbcType="VARCHAR" /> <result column="install_power_position" property="installPowerPosition" jdbcType="VARCHAR" /> <result column="parking_no" property="parkingNo" jdbcType="VARCHAR" /> <result column="real_install_type" property="realInstallType" jdbcType="INTEGER" /> <result column="real_cable_type" property="realCableType" jdbcType="VARCHAR" /> <result column="real_cable_meter" property="realCableMeter" jdbcType="VARCHAR" /> <result column="real_cable_install_type" property="realCableInstallType" jdbcType="INTEGER" /> <result column="predict_over_item" property="predictOverItem" jdbcType="VARCHAR" /> <result column="predict_total_fee" property="predictTotalFee" jdbcType="DECIMAL" /> <result column="expand_fee" property="expandFee" jdbcType="DECIMAL" /> <result column="debug_check" property="debugCheck" jdbcType="VARCHAR" /> <result column="attachment" property="attachment" jdbcType="VARCHAR" /> <result column="train_content" property="trainContent" jdbcType="VARCHAR" /> <result column="install_remark" property="installRemark" jdbcType="VARCHAR" /> <result column="user_wallbox_pic" property="userWallboxPic" jdbcType="VARCHAR" /> <result column="wallbox_nameplate_pic" property="wallboxNameplatePic" jdbcType="VARCHAR" /> <result column="void_open_pic" property="voidOpenPic" jdbcType="VARCHAR" /> <result column="leakage_protect_pic" property="leakageProtectPic" jdbcType="VARCHAR" /> <result column="client_rate" property="clientRate" jdbcType="INTEGER" /> <result column="client_signature" property="clientSignature" jdbcType="VARCHAR" /> <result column="install_attachment_files" property="installAttachmentFiles" jdbcType="VARCHAR" /> <result column="create_account" property="createAccount" jdbcType="VARCHAR" /> <result column="create_time" property="createTime" jdbcType="TIMESTAMP" /> <result column="modify_account" property="modifyAccount" jdbcType="VARCHAR" /> <result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP" /> </resultMap> <sql id="Base_Column_List" > id, order_id, third_user_id, pay_status, vehicle_chassis_number, wallbox_no, wallbox_quantity, wallbox_item_id, house_type, parking_type, address, electric_expand, expand_method, install_power_type, install_power_remark, install_power_position, parking_no, real_install_type, real_cable_type, real_cable_meter, real_cable_install_type, predict_over_item, predict_total_fee, expand_fee, debug_check, attachment, train_content, install_remark, user_wallbox_pic, wallbox_nameplate_pic, void_open_pic, leakage_protect_pic, client_rate, client_signature, install_attachment_files, create_account, create_time, modify_account, modify_time </sql> <insert id="insert" parameterType="com.boco.nbd.wios.manage.entity.bo.OrderInstallDelete" > insert into t_order_install_delete ( order_id, third_user_id, pay_status, vehicle_chassis_number, wallbox_no, wallbox_quantity, wallbox_item_id, house_type, parking_type, address, electric_expand, expand_method, install_power_type, install_power_remark, install_power_position, parking_no, real_install_type, real_cable_type, real_cable_meter, real_cable_install_type, predict_over_item, predict_total_fee, expand_fee, debug_check, attachment, train_content, install_remark, user_wallbox_pic, wallbox_nameplate_pic, void_open_pic, leakage_protect_pic, client_rate, client_signature, install_attachment_files, create_account, create_time, modify_account, modify_time) values ( #{orderId,jdbcType=VARCHAR}, #{thirdUserId,jdbcType=VARCHAR}, #{payStatus,jdbcType=BIT}, #{vehicleChassisNumber,jdbcType=VARCHAR}, #{wallboxNo,jdbcType=VARCHAR}, #{wallboxQuantity,jdbcType=INTEGER}, #{wallboxItemId,jdbcType=VARCHAR}, #{houseType,jdbcType=BIT}, #{parkingType,jdbcType=BIT}, #{address,jdbcType=VARCHAR}, #{electricExpand,jdbcType=BIT}, #{expandMethod,jdbcType=BIT}, #{installPowerType,jdbcType=VARCHAR}, #{installPowerRemark,jdbcType=VARCHAR}, #{installPowerPosition,jdbcType=VARCHAR}, #{parkingNo,jdbcType=VARCHAR}, #{realInstallType,jdbcType=INTEGER}, #{realCableType,jdbcType=VARCHAR}, #{realCableMeter,jdbcType=VARCHAR}, #{realCableInstallType,jdbcType=INTEGER}, #{predictOverItem,jdbcType=VARCHAR}, #{predictTotalFee,jdbcType=DECIMAL}, #{expandFee,jdbcType=DECIMAL}, #{debugCheck,jdbcType=VARCHAR}, #{attachment,jdbcType=VARCHAR}, #{trainContent,jdbcType=VARCHAR}, #{installRemark,jdbcType=VARCHAR}, #{userWallboxPic,jdbcType=VARCHAR}, #{wallboxNameplatePic,jdbcType=VARCHAR}, #{voidOpenPic,jdbcType=VARCHAR}, #{leakageProtectPic,jdbcType=VARCHAR}, #{clientRate,jdbcType=INTEGER}, #{clientSignature,jdbcType=VARCHAR}, #{installAttachmentFiles,jdbcType=VARCHAR}, #{createAccount,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyAccount,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}) </insert> <insert id="insertSelective" parameterType="com.boco.nbd.wios.manage.entity.bo.OrderInstallDelete" > insert into t_order_install_delete <trim prefix="(" suffix=")" suffixOverrides="," > <if test="orderId != null" > order_id, </if> <if test="thirdUserId != null" > third_user_id, </if> <if test="payStatus != null" > pay_status, </if> <if test="vehicleChassisNumber != null" > vehicle_chassis_number, </if> <if test="wallboxNo != null" > wallbox_no, </if> <if test="wallboxQuantity != null" > wallbox_quantity, </if> <if test="wallboxItemId != null" > wallbox_item_id, </if> <if test="houseType != null" > house_type, </if> <if test="parkingType != null" > parking_type, </if> <if test="address != null" > address, </if> <if test="electricExpand != null" > electric_expand, </if> <if test="expandMethod != null" > expand_method, </if> <if test="installPowerType != null" > install_power_type, </if> <if test="installPowerRemark != null" > install_power_remark, </if> <if test="installPowerPosition != null" > install_power_position, </if> <if test="parkingNo != null" > parking_no, </if> <if test="realInstallType != null" > real_install_type, </if> <if test="realCableType != null" > real_cable_type, </if> <if test="realCableMeter != null" > real_cable_meter, </if> <if test="realCableInstallType != null" > real_cable_install_type, </if> <if test="predictOverItem != null" > predict_over_item, </if> <if test="predictTotalFee != null" > predict_total_fee, </if> <if test="expandFee != null" > expand_fee, </if> <if test="debugCheck != null" > debug_check, </if> <if test="attachment != null" > attachment, </if> <if test="trainContent != null" > train_content, </if> <if test="installRemark != null" > install_remark, </if> <if test="userWallboxPic != null" > user_wallbox_pic, </if> <if test="wallboxNameplatePic != null" > wallbox_nameplate_pic, </if> <if test="voidOpenPic != null" > void_open_pic, </if> <if test="leakageProtectPic != null" > leakage_protect_pic, </if> <if test="clientRate != null" > client_rate, </if> <if test="clientSignature != null" > client_signature, </if> <if test="installAttachmentFiles != null" > install_attachment_files, </if> <if test="createAccount != null" > create_account, </if> <if test="createTime != null" > create_time, </if> <if test="modifyAccount != null" > modify_account, </if> <if test="modifyTime != null" > modify_time, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides="," > <if test="orderId != null" > #{orderId,jdbcType=VARCHAR}, </if> <if test="thirdUserId != null" > #{thirdUserId,jdbcType=VARCHAR}, </if> <if test="payStatus != null" > #{payStatus,jdbcType=BIT}, </if> <if test="vehicleChassisNumber != null" > #{vehicleChassisNumber,jdbcType=VARCHAR}, </if> <if test="wallboxNo != null" > #{wallboxNo,jdbcType=VARCHAR}, </if> <if test="wallboxQuantity != null" > #{wallboxQuantity,jdbcType=INTEGER}, </if> <if test="wallboxItemId != null" > #{wallboxItemId,jdbcType=VARCHAR}, </if> <if test="houseType != null" > #{houseType,jdbcType=BIT}, </if> <if test="parkingType != null" > #{parkingType,jdbcType=BIT}, </if> <if test="address != null" > #{address,jdbcType=VARCHAR}, </if> <if test="electricExpand != null" > #{electricExpand,jdbcType=BIT}, </if> <if test="expandMethod != null" > #{expandMethod,jdbcType=BIT}, </if> <if test="installPowerType != null" > #{installPowerType,jdbcType=VARCHAR}, </if> <if test="installPowerRemark != null" > #{installPowerRemark,jdbcType=VARCHAR}, </if> <if test="installPowerPosition != null" > #{installPowerPosition,jdbcType=VARCHAR}, </if> <if test="parkingNo != null" > #{parkingNo,jdbcType=VARCHAR}, </if> <if test="realInstallType != null" > #{realInstallType,jdbcType=INTEGER}, </if> <if test="realCableType != null" > #{realCableType,jdbcType=VARCHAR}, </if> <if test="realCableMeter != null" > #{realCableMeter,jdbcType=VARCHAR}, </if> <if test="realCableInstallType != null" > #{realCableInstallType,jdbcType=INTEGER}, </if> <if test="predictOverItem != null" > #{predictOverItem,jdbcType=VARCHAR}, </if> <if test="predictTotalFee != null" > #{predictTotalFee,jdbcType=DECIMAL}, </if> <if test="expandFee != null" > #{expandFee,jdbcType=DECIMAL}, </if> <if test="debugCheck != null" > #{debugCheck,jdbcType=VARCHAR}, </if> <if test="attachment != null" > #{attachment,jdbcType=VARCHAR}, </if> <if test="trainContent != null" > #{trainContent,jdbcType=VARCHAR}, </if> <if test="installRemark != null" > #{installRemark,jdbcType=VARCHAR}, </if> <if test="userWallboxPic != null" > #{userWallboxPic,jdbcType=VARCHAR}, </if> <if test="wallboxNameplatePic != null" > #{wallboxNameplatePic,jdbcType=VARCHAR}, </if> <if test="voidOpenPic != null" > #{voidOpenPic,jdbcType=VARCHAR}, </if> <if test="leakageProtectPic != null" > #{leakageProtectPic,jdbcType=VARCHAR}, </if> <if test="clientRate != null" > #{clientRate,jdbcType=INTEGER}, </if> <if test="clientSignature != null" > #{clientSignature,jdbcType=VARCHAR}, </if> <if test="installAttachmentFiles != null" > #{installAttachmentFiles,jdbcType=VARCHAR}, </if> <if test="createAccount != null" > #{createAccount,jdbcType=VARCHAR}, </if> <if test="createTime != null" > #{createTime,jdbcType=TIMESTAMP}, </if> <if test="modifyAccount != null" > #{modifyAccount,jdbcType=VARCHAR}, </if> <if test="modifyTime != null" > #{modifyTime,jdbcType=TIMESTAMP}, </if> </trim> </insert> </mapper>