偏远地区邮编判断调整

This commit is contained in:
liuminghui
2026-11-09 15:58:27 +08:00
parent 9220696519
commit b8b943ef51
26 changed files with 1431 additions and 60 deletions
@@ -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,