Commit 06a86e10 by 傅伟强-富德

Update 保单分配属性标记业务逻辑.txt

1 parent c2cf82ad
Showing with 26 additions and 1 deletions
参数:
参数:
......@@ -141,3 +141,27 @@ update rn_policy_service_info a
查询保单分配属性列表
select POLICY_NO,
BRANCH_CODE,
(select bi.branch_name from branch_info bi where bi.branch_code = a.branch_code) branchName,
EARLIER_ASSIGN_RULE,
(select DESCRIPTION from RN_ASSIGN_RULE bi where ASSIGN_RULE = EARLIER_ASSIGN_RULE) earlierAssignRuleDesc,
NEXT_ASSIGN_RULE,
(select DESCRIPTION from RN_ASSIGN_RULE bi where ASSIGN_RULE = NEXT_ASSIGN_RULE) nextAssignRuleDesc,
EARLIER_BRANCH_CODE,
(select bi.branch_name from branch_info bi where bi.branch_code = EARLIER_BRANCH_CODE) earlierBranchName,
NEXT_BRANCH_CODE,
(select bi.branch_name from branch_info bi where bi.branch_code = NEXT_BRANCH_CODE) nextBranchName,
EARLIER_CHANNEL_TYPE,
(select DESCRIPTION from channel_type_tbl bi where channel_type = EARLIER_CHANNEL_TYPE) earlierChannelDesc,
NEXT_CHANNEL_TYPE,
(select DESCRIPTION from channel_type_tbl bi where channel_type = NEXT_CHANNEL_TYPE) nextChannelDesc,
CHANGE_USER,
CHANGE_DATE
from RN_ASSIGN_RULE_CHG_RECORD a
where a.policy_no = '0170001110001162'
order by a.created_date desc
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!