You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QingLong/Doc/数据上报系统测试账号.txt

33 lines
1.1 KiB

2 years ago
资产管理干事
装备中心
丁虹元 dinghongyuan 123456
校办干事
长春市第二中学
2 years ago
刘德华 liudehua 123456
# Q:如何设计才能让指定角色发的统计任务,让哪些指定角色接收到?
select * from t_base_org_type_principalship where name like '%校办干事%'
252,253,254
select * from t_base_org_type_principalship where name like '%资产%'
255
答:需要增加一个关系表,描述哪个角色发的任务,哪些角色可以接收到
t_importexcel_role_map
内容:
255 252 资产管理干事 幼儿园校办干事
255 253 资产管理干事 中小学校办干事
255 254 资产管理干事 职业学校校办干事
结论:
1发的角色可以是多个收的角色只能是一个
2 years ago
2如果某人有多个发的角色那么取第一个如果以后反馈不方便就修改为发现某人有多个发的角色那么让他选择一个。
2 years ago
# 清库脚本 这里不太对,因为无法初始化序列
2 years ago
truncate table t_collect_job;
truncate table t_collect_job_sheet;
truncate table t_collect_job_sheet_col;
truncate table t_collect_mapping;