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.
dsMin/dsBaseRpc/Documents/创建关闭学校、单位、开启关闭教育局的操作步骤整理.txt

16 lines
778 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

需求分析与整理:
1、要根据业务场景来对各表维护进行串联。
2、添加学校或教辅单位时需要给定area_code同时有单位类型代码可以根据这些创建单位管理员
t_base_organization,t_base_teacher,t_sys_loginperson,t_base_role四张表。--->OK
3、如果启用的是教育局因为教育局是黄海通过程序代码初始化完的现在需要判断是不是b_use正在发生变化如果是变为零
需要检查下面是不是有隶属的单位或人员(b_use=1)如果存在不允许禁用。如果不存在可以禁用需要在t_base_organization和
t_base_teacher,t_sys_loginperson三张表上b_use=-1.
如果是设置了b_use=1则需要检查原来对应的各表中是否存在旧数据如存在直接恢复b_use=1如不存在则需要创建之。
(1) t_base_organization--->这个不用添加只需修改b_use
(2) t_base_teacher---->需要添加
(3) t_sys_loginperson--->需要添加
(4) t_base_role----> 需要添加