| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?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.inv.dao.InvAccountExcelMapper">
- <resultMap id="BaseResultMap" type="com.ydtech.modules.inv.model.InvAccountExcel">
- <id property="excelAccountOperateId" column="excel_account_operate_id" jdbcType="VARCHAR"/>
- <result property="company" column="company" jdbcType="VARCHAR"/>
- <result property="applicant" column="applicant" jdbcType="VARCHAR"/>
- <result property="applyTime" column="apply_time" jdbcType="TIMESTAMP"/>
- <result property="applySector" column="apply_sector" jdbcType="VARCHAR"/>
- <result property="collectionMessage" column="collection_message" jdbcType="VARCHAR"/>
- <result property="fundFlow" column="fund_flow" jdbcType="VARCHAR"/>
- <result property="fundUse" column="fund_use" jdbcType="VARCHAR"/>
- <result property="remark" column="remark" jdbcType="VARCHAR"/>
- <result property="applyAmount" column="apply_amount" jdbcType="VARCHAR"/>
- <result property="bigApplyAmount" column="big_apply_amount" jdbcType="VARCHAR"/>
- <result property="uplodePath" column="uplode_path" jdbcType="VARCHAR"/>
- <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
- <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
- <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
- <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
- <result property="enterCardNum" column="enter_account_id" jdbcType="VARCHAR"/>
- <result property="outCardNum" column="out_account_id" jdbcType="VARCHAR"/>
- <result property="transferFlag" column="transfer_flag" jdbcType="CHAR"/>
- <result property="outFlag" column="out_flag" jdbcType="CHAR"/>
- <result property="outAccountQuality" column="out_account_quality" jdbcType="CHAR"/>
- <result property="delFlag" column="del_flag" jdbcType="CHAR"/>
- <result property="payMethod" column="pay_method" jdbcType="VARCHAR"/>
- </resultMap>
- <sql id="Base_Column_List">
- excel_account_operate_id,company,applicant,
- apply_time,apply_sector,collection_message,
- fund_flow,fund_use,remark,
- apply_amount,big_apply_amount,uplode_path,
- update_by,update_time,create_by,
- create_time,enter_account_id,out_account_id,
- del_flag,out_flag,out_account_quality,transfer_flag,pay_method
- </sql>
- <select id="selectExcelAccount" resultType="com.ydtech.modules.inv.model.InvAccountExcel">
- select
- <include refid="Base_Column_List"/>
- from inv_account_excel
- where
- del_flag = '0'
- <if test="insAccountExcel.excelAccountOperateId!= null and insAccountExcel.excelAccountOperateId!= ''">
- and excel_account_operate_id = #{insAccountExcel.excelAccountOperateId}
- </if>
- <if test="insAccountExcel.company!= null and insAccountExcel.company!= ''">
- and company = #{insAccountExcel.company}
- </if>
- <if test="insAccountExcel.applicant!= null and insAccountExcel.applicant!= ''">
- and applicant = #{insAccountExcel.applicant}
- </if>
- <if test="insAccountExcel.applyTime!= null">
- and apply_time >= #{insAccountExcel.applyTime}
- </if>
- <if test="insAccountExcel.applyTime!= null">
- and apply_time <= #{insAccountExcel.applyTime}
- </if>
- <if test="insAccountExcel.applySector!= null and insAccountExcel.applySector!= ''">
- and apply_sector = #{insAccountExcel.applySector}
- </if>
- <if test="insAccountExcel.collectionMessage!= null and insAccountExcel.collectionMessage!= ''">
- and collection_message = #{insAccountExcel.collectionMessage}
- </if>
- <if test="insAccountExcel.fundFlow!= null and insAccountExcel.fundFlow!= ''">
- and fund_flow = #{insAccountExcel.fundFlow}
- </if>
- <if test="insAccountExcel.fundUse!= null and insAccountExcel.fundUse!= ''">
- and fund_use = #{insAccountExcel.fundUse}
- </if>
- <if test="insAccountExcel.remark!= null and insAccountExcel.remark!= ''">
- and remark = #{insAccountExcel.remark}
- </if>
- <if test="insAccountExcel.applyAmount!= null and insAccountExcel.applyAmount!= ''">
- and apply_amount = #{insAccountExcel.applyAmount}
- </if>
- <if test="insAccountExcel.bigApplyAmount!= null and insAccountExcel.bigApplyAmount!= ''">
- and big_apply_amount = #{insAccount}
- </if>
- <if test="insAccountExcel.uplodePath!= null and insAccountExcel.uplodePath!= ''">
- and uplode_path = #{insAccountExcel.uplodePath}
- </if>
- <if test="insAccountExcel.updateBy!= null and insAccountExcel.updateBy!= ''">
- and update_by = #{insAccountExcel.updateBy}
- </if>
- <if test="insAccountExcel.updateTime!= null">
- and update_time >= #{insAccountExcel.updateTime}
- </if>
- <if test="insAccountExcel.updateTime!= null">
- and update_time <= #{insAccountExcel.updateTime}
- </if>
- <if test="insAccountExcel.createBy!= null and insAccountExcel.createBy!= ''">
- and create_by = #{insAccountExcel.createBy}
- </if>
- <if test="insAccountExcel.createTime!= null">
- and create_time >= #{insAccountExcel.createTime}
- </if>
- <if test="insAccountExcel.createTime!= null">
- and create_time <= #{insAccountExcel.createTime}
- </if>
- <if test="insAccountExcel.enterAccountId!= null and insAccountExcel.enterAccountId!= ''">
- and enter_account_id = #{insAccountExcel.enterAccountId}
- </if>
- <if test="insAccountExcel.outAccountId!= null and insAccountExcel.outAccountId!= ''">
- and out_account_id = #{insAccountExcel.outAccountId}
- </if>
- <if test="insAccountExcel.outFlag!= null and insAccountExcel.outFlag!= ''">
- and out_flag = #{insAccountExcel.outFlag}
- </if>
- <if test="insAccountExcel.outAccountQuality!= null and insAccountExcel.outAccountQuality!= ''">
- and out_account_quality = #{insAccountExcel.outAccountQuality}
- </if>
- <if test="insAccountExcel.transferFlag!= null and insAccountExcel.transferFlag!= ''">
- and transfer_flag = #{insAccountExcel.transferFlag}
- </if>
- <if test="insAccountExcel.payMethod!= null and insAccountExcel.payMethod!= ''">
- and pay_method = #{insAccountExcel.payMethod}
- </if>
- </select>
- </mapper>
|