<?xml version="1.0" encoding="UTF-8" ?>
|
|
<sqls>
|
<dataSpace name="authorization">
|
|
<sql name="getAuthorizeTemplate">
|
<![CDATA[
|
select sys_template_authorization_file.*,
|
sys_template_authorization_target.category_code,
|
sys_template_authorization_target.category_name,
|
sys_template_authorization_target.term_code,
|
sys_template_authorization_target.term_name,
|
sys_template_authorization_target.file_name name
|
from sys_template_authorization_target
|
left join sys_template_authorization_file
|
on sys_template_authorization_target.template_id = sys_template_authorization_file.id
|
where sys_template_authorization_target.company_id = '@{company_id}'
|
and sys_template_authorization_target.bu_id = '@{bu_id}'
|
and sys_template_authorization_target.category_code = '@{category_code}'
|
and sys_template_authorization_target.term_code = '@{term_code}'
|
]]>
|
</sql>
|
</dataSpace>
|
|
</sqls>
|