|
|
@@ -14,10 +14,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="continues" column="continues" />
|
|
|
<result property="continuePrice" column="continue_price" />
|
|
|
<result property="type" column="type" />
|
|
|
+ <result property="countyId" column="county_id" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsShippingTemplatesRegionVo">
|
|
|
- select id, province_id, temp_id, city_id, first, first_price, continues, continue_price, type from fs_shipping_templates_region
|
|
|
+ select id, province_id, temp_id, city_id,county_id, first, first_price, continues, continue_price, type from fs_shipping_templates_region
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsShippingTemplatesRegionList" parameterType="FsShippingTemplatesRegionScrm" resultMap="FsShippingTemplatesRegionResult">
|
|
|
@@ -26,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="provinceId != null "> and province_id = #{provinceId}</if>
|
|
|
<if test="tempId != null "> and temp_id = #{tempId}</if>
|
|
|
<if test="cityId != null "> and city_id = #{cityId}</if>
|
|
|
+ <if test="countyId != null "> and county_id = #{countyId}</if>
|
|
|
<if test="first != null "> and first = #{first}</if>
|
|
|
<if test="firstPrice != null "> and first_price = #{firstPrice}</if>
|
|
|
<if test="continues != null "> and continues = #{continues}</if>
|
|
|
@@ -45,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="provinceId != null">province_id,</if>
|
|
|
<if test="tempId != null">temp_id,</if>
|
|
|
<if test="cityId != null">city_id,</if>
|
|
|
+ <if test="countyId != null">county_id,</if>
|
|
|
<if test="first != null">first,</if>
|
|
|
<if test="firstPrice != null">first_price,</if>
|
|
|
<if test="continues != null">continues,</if>
|
|
|
@@ -55,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="provinceId != null">#{provinceId},</if>
|
|
|
<if test="tempId != null">#{tempId},</if>
|
|
|
<if test="cityId != null">#{cityId},</if>
|
|
|
+ <if test="countyId != null">#{countyId},</if>
|
|
|
<if test="first != null">#{first},</if>
|
|
|
<if test="firstPrice != null">#{firstPrice},</if>
|
|
|
<if test="continues != null">#{continues},</if>
|
|
|
@@ -69,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="provinceId != null">province_id = #{provinceId},</if>
|
|
|
<if test="tempId != null">temp_id = #{tempId},</if>
|
|
|
<if test="cityId != null">city_id = #{cityId},</if>
|
|
|
+ <if test="countyId != null">county_id = #{countyId},</if>
|
|
|
<if test="first != null">first = #{first},</if>
|
|
|
<if test="firstPrice != null">first_price = #{firstPrice},</if>
|
|
|
<if test="continues != null">continues = #{continues},</if>
|