当前位置:网站首页>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 ] .

边栏推荐
- Ffmpeg download and installation
- 实战|记一次攻防演练打点
- GetData table table data join MySQL method
- Perspective
- Paper:《Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Condi
- Unity3d learning note 9 - loading textures
- @Summary of ResponseBody annotation
- 【浅析STM32之GPIO寄存器(CRL/CRH)配置 】
- Sony announced the closure of Beijing mobile phone factory! The production line will be moved to Thailand, and the cost can be reduced by half!
- SMIC's revenue in 2018 was $3.36 billion, and 14nm technology was mass produced this year
猜你喜欢

LVGL 8.2 Span

Token value replacement of burpsuite blasting

Detailed explanation of security authentication of mongodb

How can test / development programmers with 5 years of experience break through the technical bottleneck? Common problems in big factories

Interviewer: explain the core principle of ThreadLocal

Paper:《Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Condi

【基于stm32f103的SHT30温湿度显示】

It we media shows off its wealth in a high profile, and is targeted by hacker organizations. It is bound to be imprisoned

Pyg builds GCN to realize link prediction

IT自媒体高调炫富,被黑客组织盯上,铁定要吃牢饭了…
随机推荐
PyG搭建GCN实现链接预测
Novel capture practice
QT download installation tutorial
GBase JDBC 连接数据库异常
运筹学基础【一】 之 导论
[detailed tutorial] a thorough article on mongodb aggregation query
LVGL 8.2 Message box
MySQL -- index and transaction isolation level
Kubesphere 3.3.0 offline installation tutorial
Actual combat | record an attack and defense drill management
Interviewer: explain the core principle of ThreadLocal
How to merge cells in a table by markdown
Mit.js: small event publishing and subscription library
Summary of UPR optimization suggestions of unity
When developing or debugging the IP direct scheme, it should be noted that the host value should be consistent with the direct IP
LVGL 8.2 Textarea
盐粒和冰粒分不清
Today is important
@ResponseBody注解的总结
Salt and ice particles cannot be distinguished