|
@@ -5,6 +5,7 @@
|
|
<resultMap type="com.fire.dto.CustomerProduct" id="CustomerProductMap">
|
|
<resultMap type="com.fire.dto.CustomerProduct" id="CustomerProductMap">
|
|
<result property="customerProductId" column="customer_product_id" jdbcType="INTEGER"/>
|
|
<result property="customerProductId" column="customer_product_id" jdbcType="INTEGER"/>
|
|
<result property="customerId" column="customer_id" jdbcType="INTEGER"/>
|
|
<result property="customerId" column="customer_id" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="productId" column="product_id" jdbcType="INTEGER"/>
|
|
<result property="packageId" column="package_id" jdbcType="VARCHAR"/>
|
|
<result property="packageId" column="package_id" jdbcType="VARCHAR"/>
|
|
<result property="type" column="type" jdbcType="INTEGER"/>
|
|
<result property="type" column="type" jdbcType="INTEGER"/>
|
|
<result property="price" column="price" jdbcType="NUMERIC"/>
|
|
<result property="price" column="price" jdbcType="NUMERIC"/>
|
|
@@ -26,7 +27,8 @@
|
|
a.is_valid,
|
|
a.is_valid,
|
|
b.area_name,
|
|
b.area_name,
|
|
b.operator,
|
|
b.operator,
|
|
- b.area_num
|
|
|
|
|
|
+ b.area_num,
|
|
|
|
+ b.product_id
|
|
from customer_product a
|
|
from customer_product a
|
|
left join flow_product_info b on a.package_id = b.package_id
|
|
left join flow_product_info b on a.package_id = b.package_id
|
|
</select>
|
|
</select>
|