AS编码-在注释中link 某个类,link 某个方法

本文详细介绍了在AS编码过程中必须遵循的注释规范,包括如何使用@link标签链接到类方法和本类方法,这对于提高代码可读性和维护性至关重要。

在AS编码过程中必须要写的是在顶部写一些注释内容;

1.注释link到某个类方法:

{@link com.bearever.push.receiver.BasePushBroadcastReceiver}

2.注释link到本类某个方法:

{@link #addPushReceiverListener(String, OnPushReceiverListener)}

 

---------------------------------------------------------------------------------------------------------------------------------------------- -- 租户表(该账号是否在租户管理员列表中:tpl_app_info_t) select * from tpl_app_info_t; -- 用户表 (tpl_user_t表中查询userid–> 根据userid去tpl_user_role_program_t表中查询到对应的角色和维度 —>tpl_role_t表中查询角色名称) select * from tpl_user_t; -- 用户表,用户管理,用户的基本信息,W3账号之-- 角色表,含有roleId select * from tpl_role_t; -- 群组(群组(tpl_group_t)是一种特殊的数据范围,用于将一组用户或角色划分为一个群组,并对该群组进行权限管理。 select * from tpl_group_t; -- 用于存储群组信息,(group_id = approver.resource_id ) ---------------------------------------------------------------------------------------------------------------------------------------------- -- 数据字典 select * from tpl_property_t; -- 数据字典检测 select * from tpl_property_validation_result; -- 资源文件信息表 select * from tpl_fd_message_t; -- 栏目菜单 select * from tpl_catalog_t; -- 富文本表 select to_char(t.last_update_date, 'yyyy-mm-dd hh24:mi:ss') as lud, t.* from tpl_html_area_jalor5_t t where t.category = 'Resources' order by t.last_update_date desc; -- lookup表 select * from tpl_lookup_classify_t; select * from tpl_lookup_item_t; -- 附件表 select * from tpl_attachment_t; select * from tpl_document_t; -- 个性化配制表 select * from tpl_personalized_setting_t; ---------------------------------------------------------------------------------------------------------------------------------------------- -- 工号切换idata数据同步接口表 select * from tpl_switch_employee_number_ti; -- 工号切换正式表 select * from tpl_switch_employee_number_t; ---------------------------------------------------------------------------------------------------------------------------------------------- -- 服务 select * from tpl_services_t; -- 服务方法 select * from tpl_service_method_t; -- 服务请求参数 select * from tpl_service_parameter_t; -- 服务返回值 select * from tpl_service_return_t; -- 用户表 select * from tpl_user_t; -- 角色表 select * from tpl_role_t; -- 维度表 select * from tpl_dimension_t; -- 数据范围(数据范围表存储了系统中所有的数据范围,包括数据范围的名称、维度、型等信息。) select * from tpl_program_t; select * from tpl_program_items_t; select * from tpl_user_role_program_t; ---------------------------------------------------------------------------------------------------------------------------------------------- -- 资源操作码(源操作码则是权限管理系统中每个操作的唯一标识,包括操作名称、URL、权限码等信息) select * from tpl_permission_t; select * from tpl_permission_url_t; select * from tpl_aclentry_t; ---------------------------------------------------------------------------------------------------------------------------------------------- -- 1、表【管理部门树表:omp_local_org_t】业务键【管理部门id:id、等级:org_level(1/2/3/4)、是否有效:is_vaild】 -- 2、表【华为部门与管理部门映射表:omp_org_config_t】业务键【管理部门id:local_org_id、华为部门编码:hw_org_code、是否有效:status】 -- 3、表【华为标准部门表:omp_org_t】业务键【华为部门编码:hw_org_code】 -- 1、pdu、develop select t.l1_id from omp_local_org_t t left join omp_local_org_t t2 on t2.id = t.parent_id left join omp_org_config_t org on t.id = org.local_org_id and org.status = 'ACTIVE' where t.is_vaild = 'Y' and t.org_level in (3, 4); -- 2、bu select t.l1_id from omp_local_org_t t left join omp_local_org_t t2 on t2.id = t.parent_id left join omp_org_config_t org on t.id = org.local_org_id and org.status = 'ACTIVE' where t.is_vaild = 'Y' and t.org_level in (2); -- 3、bg select t.l1_id from omp_local_org_t t left join omp_local_org_t t2 on t2.id = t.parent_id left join omp_org_config_t org on t.id = org.local_org_id and org.status = 'ACTIVE' where t.is_vaild = 'Y' and t.org_level in (1); -- 4、部门详情 select t.id as id, t.status as status, t.hw_org_code as hworgcode, t.hw_org_name as hworgname, t.project_type as projecttype, t.productline as productline, t.productlineid as productlineid, t.product as product, t.productid as productid, t.pdu as pdu, t.pduid as pduid, t.develop as develop, t.developid as developid, t.is_complete_info as iscompleteinfo, t.is_development_org as isdevelopmentorg, t.creation_date as creationdate, t.created_by as createdby, ( select p.lname from tpl_user_t p where p.user_id = t.created_by ) as creationusercn, t.last_updated_by as lastupdatedby, t.last_update_date as lastupdatedate, t.local_org_id as localorgid from omp_org_config_t t where 1 = 1 and t.status = 'ACTIVE' and t.hw_org_code = '050833'; -- 5. 华为部门信息 select org_code, org_name_zh, org_level, parent_org_code, full_name_zh, is_vaild from omp_org_t; ---------------------------------------------------------------------------------------------------------------------------------------------- -- 流程表 select * from act_re_procdef; -- 流程定义表,存储流程定义信息 select * from act_hi_procinst; -- 流程实例历史表,记录流程实例运行信息 select * from act_hi_identitylink; -- 流程身份链接表,记录流程参与者信息 select * from tpl_wf_hi_procform_t; -- 流程表单历史表,存储流程表单数据 select * from omp_workflow_log_t; -- 工作流日志表,记录流程审批记录 ---------------------------------------------------------------------------------------------------------------------------------------------- ## 帮我把这个SQL中的表,提取为下面的这种格式 select * from 表名; -- 表中文说明,且注释要对齐
最新发布
09-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值