当前位置:网站首页>OA and fansoft Bi cross system users, departments and posts synchronous summary
OA and fansoft Bi cross system users, departments and posts synchronous summary
2022-07-25 04:44:00 【They call me technical director】
Catalog
1、 What needs to be prepared ?
2、 Synchronization interface or data set
2、 Create a server tree dataset
3、 Select the corresponding relationship to synchronize
4、 Wait and set the synchronization frequency
Preface :
The number of employees in an enterprise is quite large , And because of the mobility of people , User information is constantly changing , If you add and modify manually every time , The workload will be very heavy .
FineReport The user synchronization data set function can dynamically update the user information in the platform , Make it change with the user information in the database .
One 、 The original
Problems solved synchronously across systems , We usually do system synchronization for ? Information exchange ? Information synchronization ? Intelligent operation and maintenance ? Standardization ? wait . Ha ha ha ha , I think it's all , Because adults don't do multiple-choice questions .
1、 What needs to be prepared ?
First, we need to establish a standard synchronization library , That is, we have to determine which system is a synchronized standard system or standard library . According to the application of general enterprises , Will choose OA perhaps ERP System . Because these two systems are generally initially established , Also started to do standardized system .
2、 Synchronization interface or data set
This time with OA Soft with sail report For example , We just need to establish a standard data set . But we need to build data sets according to our enterprise architecture . The synchronized user data comes from the server data set , Support user departments There are levels and no levels Two kinds of . Users can choose one of them according to their own user structure .
No hierarchy

Hierarchical structure
3、 Build server data set
This synchronization takes hierarchical Department synchronization as an example .
Code :
select ry.code,
ry.name ryname,
gw.name gwname,
bm.sjbm,bm.fid sjbmid,
bm.name bm,ORG_DEPARTMENT_ID bmid,
ry.ORG_POST_ID gwid,
nvl(ry.EXT_ATTR_1, ry.EXT_ATTR_3) sj,
ry.EXT_ATTR_2 yx,
bm.bmcode,
bm.sjbmcode
from V3XUSER.ORG_MEMBER ry
left join V3XUSER.org_post gw
on ry.ORG_POST_ID = gw.id
left join (select ry.name,
ry.id,
dw.name sjbm,
dw.id fid,
ry.code bmcode,
dw.code sjbmcode
from V3XUSER.org_unit ry
left join V3XUSER.org_unit dw
on case when length(ry.code)>=8 then substr(ry.code,0,6)
else to_char(ry.ORG_ACCOUNT_ID) end=case when length(ry.code)>=8 then dw.code
else to_char(dw.id) end
--on ry.ORG_ACCOUNT_ID = dw.id
where 1=1
and ry.STATus = 1
and ry.IS_DELETED = 0
and ry.IS_ENABLE = 1) bm
on ry.ORG_DEPARTMENT_ID = bm.ID
where ry.STATE = 1
and ry.IS_DELETED = 0
and ry.IS_ENABLE = 1
and gw.IS_DELETED = 0
and gw.IS_ENABLE = 1
union all
select '1' code,' headquarters ' ryname,'',' headquarters ',1,' headquarters ',1,1,' headquarters ','','company','' from dual effect :

Two 、 Formal synchronization
1、 Build server data set

2、 Create a server tree dataset

3、 Select the corresponding relationship to synchronize

4、 Wait and set the synchronization frequency
The synchronization process is generally in 1-10 Within minutes , Later, it will automatically synchronize and update according to the set synchronization frequency .

5、 matters needing attention
If the account after synchronization is allowed , You can change the password , Remember to check [ User information can be edited in synchronization ] .

边栏推荐
- Metinfo function public function getcity() error: XXX function no permission load!!!
- Interpretation and download of the report | ink Tianlun July database industry report, be prepared for danger in times of safety, and safety first
- GBase JDBC 连接数据库异常
- Best practice cases of data security in the medical industry (desensitization version)
- [sht30 temperature and humidity display based on STM32F103]
- LVGL 8.2 Tabview & Window
- Geely and Daimler set up a joint venture to produce pure electric smart in China!
- Natural state is the best
- MySQL -- index and transaction isolation level
- 在开发或调试IP直接方案时需要注意Host的值跟直接的IP要一致
猜你喜欢

PyG搭建GCN实现链接预测

Spire. Office for net 7.7.2 and news

MongoDB的安全认证详解

Apipost signs up with Chinatelecom! Work together to accelerate the digital transformation of enterprises

暗黑王者|ZEGO 低照度图像增强技术解析

Burpsuite爆破之token值替换

Definition and basic terms of tree

Salt and ice particles cannot be distinguished

Unity 之 UPR优化建议汇总

Introduction to computing system hardware (common servers)
随机推荐
[CTF learning] steganography set in CTF -- picture steganography
Kubesphere 3.3.0 offline installation tutorial
[analysis of GPIO register (crl/crh) configuration of STM32]
Numpy overview
ESWC 2018 | R-GCN:基于图卷积网络的关系数据建模
看问题的角度
[internship] processing time
LVGL 8.2 Message box
How to get the database creation time?
[golang from introduction to practice] stone scissors paper game
The United States has launched 337 investigations on a number of Chinese companies: Bubugao is full of lying guns!
Win11 experience
LVGL 8.2 Tabview & Window
Perspective
Today is important
Introduction to FileStream class of C #
How to transfer NFT metadata from IPFs to smart contracts
Druid connection pool - strong self-study from 0. Those who don't understand Druid can click in. If you know not to click in, you will think I'm wordy
How to merge cells in a table by markdown
mitt.js:小型事件发布订阅库