PtlAgreementProductCostsMapper.xml 7.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.ydtech.modules.protocol.dao.PtlAgreementProductCostsMapper">
  6. <resultMap id="BaseResultMap" type="com.ydtech.modules.protocol.entity.po.PtlAgreementProductCosts">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="agreementId" column="agreement_id" jdbcType="BIGINT"/>
  9. <result property="productId" column="product_id" jdbcType="VARCHAR"/>
  10. <result property="productName" column="product_name" jdbcType="VARCHAR"/>
  11. <result property="costsDescription" column="costs_description" jdbcType="VARCHAR"/>
  12. <result property="costsStartDate" column="costs_start_date" jdbcType="TIMESTAMP"/>
  13. <result property="costsEndDate" column="costs_end_date" jdbcType="TIMESTAMP"/>
  14. <result property="jqSpilloverPremiums" column="jq_spillover_premiums" jdbcType="VARCHAR"/>
  15. <result property="jqSpilloverProportion" column="jq_spillover_proportion" jdbcType="VARCHAR"/>
  16. <result property="jqNewCarCostsProportion" column="jq_new_car_costs_proportion" jdbcType="VARCHAR"/>
  17. <result property="jqOldCarCostsProportion" column="jq_old_car_costs_proportion" jdbcType="VARCHAR"/>
  18. <result property="jqCostsProportion" column="jq_costs_proportion" jdbcType="VARCHAR"/>
  19. <result property="jqCostsLevel" column="jq_costs_level" jdbcType="VARCHAR"/>
  20. <result property="jqNewCarOtherCostsProportion" column="jq_new_car_other_costs_proportion" jdbcType="VARCHAR"/>
  21. <result property="jqOldCarOtherCostsProportion" column="jq_old_car_other_costs_proportion" jdbcType="VARCHAR"/>
  22. <result property="sySpilloverPremiums" column="sy_spillover_premiums" jdbcType="VARCHAR"/>
  23. <result property="sySpilloverProportion" column="sy_spillover_proportion" jdbcType="VARCHAR"/>
  24. <result property="syNewCarCostsProportion" column="sy_new_car_costs_proportion" jdbcType="VARCHAR"/>
  25. <result property="syOldCarCostsProportion" column="sy_old_car_costs_proportion" jdbcType="VARCHAR"/>
  26. <result property="syCostsProportion" column="sy_costs_proportion" jdbcType="VARCHAR"/>
  27. <result property="syCostsLevel" column="sy_costs_level" jdbcType="VARCHAR"/>
  28. <result property="syNewCarOtherCostsProportion" column="sy_new_car_other_costs_proportion" jdbcType="VARCHAR"/>
  29. <result property="syOldCarOtherCostsProportion" column="sy_old_car_other_costs_proportion" jdbcType="VARCHAR"/>
  30. <result property="transfer" column="transfer" jdbcType="TINYINT"/>
  31. <result property="oldAndNew" column="old_and_new" jdbcType="TINYINT"/>
  32. <result property="newEnergy" column="new_energy" jdbcType="TINYINT"/>
  33. <result property="renewal" column="renewal" jdbcType="TINYINT"/>
  34. <result property="vehicleCategory" column="vehicle_category" jdbcType="VARCHAR"/>
  35. <result property="natureOfUse" column="nature_of_use" jdbcType="VARCHAR"/>
  36. <result property="minSeats" column="min_seats" jdbcType="INTEGER"/>
  37. <result property="maxSeats" column="max_seats" jdbcType="INTEGER"/>
  38. <result property="minTruckTonnage" column="min_truck_tonnage" jdbcType="INTEGER"/>
  39. <result property="maxTruckTonnage" column="max_truck_tonnage" jdbcType="INTEGER"/>
  40. <result property="minPurchasePrice" column="min_purchase_price" jdbcType="INTEGER"/>
  41. <result property="maxPurchasePrice" column="max_purchase_price" jdbcType="INTEGER"/>
  42. <result property="minApprovedLoadCapacity" column="min_approved_load_capacity" jdbcType="INTEGER"/>
  43. <result property="maxApprovedLoadCapacity" column="max_approved_load_capacity" jdbcType="INTEGER"/>
  44. <result property="minCompulsoryInsurancePremium" column="min_compulsory_insurance_premium" jdbcType="INTEGER"/>
  45. <result property="maxCompulsoryInsurancePremium" column="max_compulsory_insurance_premium" jdbcType="INTEGER"/>
  46. <result property="minTaxAmount" column="min_tax_amount" jdbcType="INTEGER"/>
  47. <result property="maxTaxAmount" column="max_tax_amount" jdbcType="INTEGER"/>
  48. <result property="minTheThreePremium" column="min_the_three_premium" jdbcType="INTEGER"/>
  49. <result property="maxTheThreePremium" column="max_the_three_premium" jdbcType="INTEGER"/>
  50. <result property="minOnboardProductsPremium" column="min_onboard_products_premium" jdbcType="INTEGER"/>
  51. <result property="maxOnboardProductsPremium" column="max_onboard_products_premium" jdbcType="INTEGER"/>
  52. <result property="minCommercialInsuranceDiscount" column="min_commercial_insurance_discount" jdbcType="INTEGER"/>
  53. <result property="maxCommercialInsuranceDiscount" column="max_commercial_insurance_discount" jdbcType="INTEGER"/>
  54. <result property="minCompulsoryInsuranceDiscount" column="min_compulsory_insurance_discount" jdbcType="INTEGER"/>
  55. <result property="maxCompulsoryInsuranceDiscount" column="max_compulsory_insurance_discount" jdbcType="INTEGER"/>
  56. <result property="minScore" column="min_score" jdbcType="INTEGER"/>
  57. <result property="maxScore" column="max_score" jdbcType="INTEGER"/>
  58. <result property="minLossRation" column="min_loss_ration" jdbcType="INTEGER"/>
  59. <result property="maxLossRation" column="max_loss_ration" jdbcType="INTEGER"/>
  60. <result property="licenseNumber" column="license_number" jdbcType="VARCHAR"/>
  61. </resultMap>
  62. <sql id="Base_Column_List">
  63. id,agreement_id,product_id,
  64. product_name,
  65. jq_spillover_premiums,jq_spillover_proportion,
  66. jq_new_car_costs_proportion,jq_old_car_costs_proportion,jq_costs_proportion,
  67. jq_costs_level,jq_new_car_other_costs_proportion,jq_old_car_other_costs_proportion,
  68. sy_spillover_premiums,
  69. sy_spillover_proportion,sy_new_car_costs_proportion,sy_old_car_costs_proportion,
  70. sy_costs_proportion,sy_costs_level,sy_new_car_other_costs_proportion,
  71. sy_old_car_other_costs_proportion,transfer,old_and_new,
  72. new_energy,renewal,vehicle_category,
  73. nature_of_use,min_seats,max_seats,
  74. min_truck_tonnage,max_truck_tonnage,min_purchase_price,
  75. max_purchase_price,min_approved_load_capacity,max_approved_load_capacity,
  76. min_compulsory_insurance_premium,max_compulsory_insurance_premium,min_tax_amount,
  77. max_tax_amount,min_the_three_premium,max_the_three_premium,
  78. min_onboard_products_premium,max_onboard_products_premium,min_commercial_insurance_discount,
  79. max_commercial_insurance_discount,min_compulsory_insurance_discount,max_compulsory_insurance_discount,
  80. min_score,max_score,min_loss_ration,
  81. max_loss_ration,license_number,costs_description,costs_start_date,
  82. costs_end_date
  83. </sql>
  84. </mapper>