TenantProductInfoMapper.xml 1.2 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.ym.mec.biz.dal.dao.TenantProductInfoDao">
  4. <resultMap id="BaseResultMap" type="com.ym.mec.biz.dal.entity.TenantProductInfo">
  5. <id column="id_" jdbcType="INTEGER" property="id" />
  6. <result column="tenant_id_" jdbcType="INTEGER" property="tenantId" />
  7. <result column="serve_id_" jdbcType="INTEGER" property="serveId" />
  8. <result column="serve_detail_id_" jdbcType="INTEGER" property="serveDetailId" />
  9. <result column="original_price_" jdbcType="DECIMAL" property="originalPrice" />
  10. <result column="contract_price_" jdbcType="DECIMAL" property="contractPrice" />
  11. <result column="pay_amount_" jdbcType="DECIMAL" property="payAmount" />
  12. <result column="expiry_count_" jdbcType="INTEGER" property="expiryCount" />
  13. <result column="expiry_unit_" jdbcType="VARCHAR" property="expiryUnit" />
  14. <result column="expiry_data_" jdbcType="DATE" property="expiryDate" />
  15. </resultMap>
  16. <sql id="Base_Column_List">
  17. id_, tenant_id_, serve_id_, serve_detail_id_, original_price_, contract_price_, pay_amount_,
  18. expiry_count_, expiry_unit_, expiry_data_
  19. </sql>
  20. </mapper>