| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?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.InvSettlementSourceMapper">
- <resultMap id="BaseResultMap" type="com.ydtech.modules.inv.model.po.InvSettlementSource">
- <id property="employeeId" column="employee_id" jdbcType="BIGINT"/>
- <id property="id" column="id" jdbcType="BIGINT"/>
- <result property="signDate" column="sign_date" jdbcType="TIMESTAMP"/>
- <result property="licenseno" column="licenseno" jdbcType="INTEGER"/>
- <result property="insuredName" column="insured_name" jdbcType="VARCHAR"/>
- <result property="insuranceCompany" column="insurance_company" jdbcType="VARCHAR"/>
- <result property="insuranceType" column="insurance_type" jdbcType="VARCHAR"/>
- <result property="businessOwner" column="business_owner" jdbcType="VARCHAR"/>
- <result property="jqPolicyId" column="jq_policy_id" jdbcType="INTEGER"/>
- <result property="syPolicyId" column="sy_policy_id" jdbcType="INTEGER"/>
- <result property="nonCarPolicyId" column="non_car_policy_id" jdbcType="INTEGER"/>
- <result property="jqPremiumTax" column="jq_premium_tax" jdbcType="VARCHAR"/>
- <result property="vehicleTax" column="vehicle_tax" jdbcType="VARCHAR"/>
- <result property="syPremiumTax" column="sy_premium_tax" jdbcType="VARCHAR"/>
- <result property="nonCarPremiumTax" column="non_car_premium_tax" jdbcType="VARCHAR"/>
- <result property="compulsoryExportRatio" column="compulsory_export_ratio" jdbcType="VARCHAR"/>
- <result property="commercialExportRatio" column="commercial_export_ratio" jdbcType="VARCHAR"/>
- <result property="nonVehicleExportRatio" column="non_vehicle_export_ratio" jdbcType="VARCHAR"/>
- <result property="settlementAmount" column="settlement_amount" jdbcType="VARCHAR"/>
- <result property="agencySettlementTime" column="agency_settlement_time" jdbcType="TIMESTAMP"/>
- <result property="revenueTime" column="revenue_time" jdbcType="VARCHAR"/>
- <result property="revenueName" column="revenue_name" jdbcType="VARCHAR"/>
- <result property="revenueUserId" column="revenue_userid" jdbcType="VARCHAR"/>
- </resultMap>
- <sql id="Base_Column_List">
- employee_id,id,sign_date,
- licenseno,insured_name,insurance_company,
- insurance_type,business_owner,jq_policy_id,
- sy_policy_id,non_car_policy_id,jq_premium_tax,
- vehicle_tax,sy_premium_tax,non_car_premium_tax,
- compulsory_export_ratio,commercial_export_ratio,non_vehicle_export_ratio,
- settlement_amount,agency_settlement_time,revenue_time,revenue_name,revenue_userid
- </sql>
- <select id="getReceivableListByLicenseno" resultType="java.lang.String">
- select licenseno from inv_source where licenseno in
- <foreach collection="namesList" item="item" open="(" separator="," close=")">
- #{item}
- </foreach>
- </select>
- </mapper>
|