偏远地区邮编判断调整
This commit is contained in:
@@ -100,6 +100,20 @@
|
||||
select group_id from pay_postcode_group where file_md5 = #{fileMd5} and sheet_name = #{sheetName}
|
||||
</select>
|
||||
|
||||
<select id="selectGroupsForProduct" resultType="com.bms.price.domain.PayPostcodeGroup">
|
||||
select group_id as groupId, block_title as blockTitle, channel_name as channelName,
|
||||
product_name as productName, quote_sheet as quoteSheet, sheet_name as sheetName,
|
||||
config_kind as configKind, coverage, fee_name as feeName, fee_text as feeText,
|
||||
country_name as countryName, country_code as countryCode
|
||||
from pay_postcode_group
|
||||
where
|
||||
<foreach collection="names" item="name" separator=" or ">
|
||||
lower(quote_sheet) = lower(#{name})
|
||||
or lower(product_name) = lower(#{name})
|
||||
or lower(sheet_name) = lower(#{name})
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="selectGroupsByTokens" resultType="com.bms.price.domain.PayPostcodeGroup">
|
||||
select group_id as groupId, block_title as blockTitle, channel_name as channelName,
|
||||
product_name as productName, quote_sheet as quoteSheet, sheet_name as sheetName,
|
||||
|
||||
Reference in New Issue
Block a user