Fdj60hzInfoMapper.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.miaxis.fdj.mapper.Fdj60hzInfoMapper">
  6. <resultMap type="Fdj60hzInfo" id="Fdj60hzInfoResult">
  7. <result property="id" column="id" />
  8. <result property="fdjModel" column="fdj_model" />
  9. <result property="standardSeam" column="standard_seam" />
  10. <result property="rate" column="rate" />
  11. <result property="fdjPowerKw" column="fdj_power_kw" />
  12. <result property="fdjPowerKva" column="fdj_power_kva" />
  13. <result property="singleFulcrumPrice" column="single_fulcrum_price" />
  14. <result property="doubleFulcrumPrice" column="double_fulcrum_price" />
  15. <result property="packingBoxPrice" column="packing_box_price" />
  16. <result property="instrumentBoxPrice" column="instrument_box_price" />
  17. <result property="airSwitchPrice" column="air_switch_price" />
  18. <result property="openParms" column="open_parms" />
  19. <result property="weight" column="weight" />
  20. <result property="updateTime" column="update_time" />
  21. <result property="createTime" column="create_time" />
  22. </resultMap>
  23. <sql id="selectFdj60hzInfoVo">
  24. select * from fdj_60hz_info
  25. </sql>
  26. <select id="selectFdj60hzInfoList" parameterType="Fdj60hzInfo" resultMap="Fdj60hzInfoResult">
  27. <include refid="selectFdj60hzInfoVo"/>
  28. <where>
  29. <if test="fdjModel != null and fdjModel != ''"> and fdj_model = #{fdjModel}</if>
  30. <if test="standardSeam != null and standardSeam != ''"> and standard_seam = #{standardSeam}</if>
  31. <if test="rate != null "> and rate = #{rate}</if>
  32. <if test="fdjPowerKw != null "> and fdj_power_kw = #{fdjPowerKw}</if>
  33. <if test="fdjPowerKva != null "> and fdj_power_kva = #{fdjPowerKva}</if>
  34. <if test="singleFulcrumPrice != null and singleFulcrumPrice != ''"> and single_fulcrum_price = #{singleFulcrumPrice}</if>
  35. <if test="doubleFulcrumPrice != null and doubleFulcrumPrice != ''"> and double_fulcrum_price = #{doubleFulcrumPrice}</if>
  36. <if test="packingBoxPrice != null and packingBoxPrice != ''"> and packing_box_price = #{packingBoxPrice}</if>
  37. <if test="instrumentBoxPrice != null and instrumentBoxPrice != ''"> and instrument_box_price = #{instrumentBoxPrice}</if>
  38. <if test="airSwitchPrice != null and airSwitchPrice != ''"> and air_switch_price = #{airSwitchPrice}</if>
  39. <if test="openParms != null and openParms != ''"> and open_parms = #{openParms}</if>
  40. <if test="weight != null and weight != ''"> and weight = #{weight}</if>
  41. </where>
  42. </select>
  43. </mapper>