EAS_Table
SHR人力
成品demo
会议室
百利装备下属部门
OA领导 (左王乔赵... 顺序)
- select
- PERSON.fname_l2 as pname,
- POSITION.fname_l2 as pwork,
- POSITION.findex as pindex,
- BaseUnit.fname_l2,
- BaseUnit.fid,
- BaseUnit.fnumber as fnumber
- from T_BD_PERSON as PERSON
- left join T_ORG_POSITIONMEMBER as POSITIONMEMBER on PERSON.fid = POSITIONMEMBER.fpersonid
- left join T_ORG_POSITION as POSITION on POSITION.fid = POSITIONMEMBER.fpositionid
- left join T_ORG_BaseUnit as BaseUnit on BaseUnit.fid = POSITION.fadminorgunitid
- where POSITIONMEMBER.fisprimary = '' and BaseUnit.fid = 'xt0AAAAAC3/M567U'
- and PERSON.fname_l2 not in ('温辉','吴树元')
- union
- select
- PERSON.fname_l2 as pname,
- POSITION.fname_l2 as pwork,
- POSITION.findex as pindex,
- BaseUnit.fname_l2,
- BaseUnit.fid,
- BaseUnit.fnumber as fnumber
- from T_BD_PERSON as PERSON
- left join T_ORG_POSITIONMEMBER as POSITIONMEMBER on PERSON.fid = POSITIONMEMBER.fpersonid
- left join T_ORG_POSITION as POSITION on POSITION.fid = POSITIONMEMBER.fpositionid
- left join T_ORG_BaseUnit as BaseUnit on BaseUnit.fid = POSITION.fadminorgunitid
- where POSITIONMEMBER.fisprimary = ''
- and PERSON.fname_l2 in ('杨川','宋春林')
- order by fnumber,pindex
部室以及领导名称
- select
- PERSON.fid as fid,
- PERSON.fname_l2 as pname,
- BaseUnit.fname_l2 as buname
- from T_BD_PERSON as PERSON
- left join T_ORG_POSITIONMEMBER as POSITIONMEMBER on PERSON.fid = POSITIONMEMBER.fpersonid
- left join T_ORG_POSITION as POSITION on POSITION.fid = POSITIONMEMBER.fpositionid
- left join T_ORG_BaseUnit as BaseUnit on BaseUnit.fid = POSITION.fadminorgunitid
- where POSITIONMEMBER.fisprimary = ''
- and POSITION.FISRESPPOSITION =1 --是否部门负责人
- and BaseUnit.FPARENTID = 'xt0AAAAAC3/M567U'
- order by POSITION.findex
全局期间
年:
- SELECT distinct fperiodyear
- FROM t_bd_period
月:
- SELECT distinct fperiodnumber
- FROM t_bd_period order by fperiodnumber
全局期间:
- SELECT period.fnumber
- FROM CT_CUS_GeneralPeriod as GeneralPeriod
- left join t_bd_period as period on period.fid = GeneralPeriod.CFDataPeriodID
- order by period.fnumber desc
EAS_Table的更多相关文章
随机推荐
- [原]Android打包之Ant打包
Android自动打包流程详细图: 使用Ant打包会简单很多,只要使用以下两个命令就可以搞定: android update project -p . --target android-18 ant ...
- TSP 模拟退火
TSP——模拟退火解法 都知道TSP是经典的NP问题,从一个点开始遍历所有点,不重复,求最短路径. 可以用枚举终点,跑流量为2的最小费用,图论来做,时间复杂度为 费用流已经用到堆优化了.显然点,边 ...
- 深搜(DFS),回溯,Fire Net
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=2 解题报告: 这里的深搜有一点不同,就是,在深搜每一个点时,都要深搜每 ...
- 【[Violet]樱花】
就是化柿子 我们求 \[\frac{1}{x}+\frac{1}{y}=\frac{1}{n!}\] 的正整数解的个数 喜闻乐见的化柿子了 \[\frac{x+y}{xy}=\frac{1}{n!}\ ...
- BZOJ 2038: [2009国家集训队]小Z的袜子(hose) 【莫队算法模版】
任意门:https://www.lydsy.com/JudgeOnline/problem.php?id=2038 题意概括: 有 N 只袜子(分别编号为1~N),有 M 次查询 (L, R)里面随机 ...
- Nmap的基础知识
扫描单一的一个主机: #nmap domain.com #nmap 192.168.1.2 扫描整个子网: #nmap 扫描多个目标: #nmap 192.168.1.2 192.168.1.5 查看 ...
- HTML5标签应用
<!doctype html> <html> <head> <style> /* *{border:1px solid red;height:20px} ...
- ProjectServer如何创建时间表
默认配置的ProjectServer是没有时间表的,任务汇报的时候不能汇报工时,只能汇报任务的百分比. 但如果有企业一定要用工时来汇报的话,我们就需要开启时间表. 点击服务器设置-->时间报告阶 ...
- js操作json方法总结
相对于前端的老铁来说JSon并不陌生,JSON JavaScript Object Notation 是一种轻量级的数据交换格式,采用完全独立于语言的文本格式,是一种理想的数据交换格式. json可以 ...
- 18.Shiro与Springboot整合下登陆验证UserService未注入的问题
Shiro与Springboot整合下登陆验证UserService未注入的问题 前言: 刚开始整合的情况下,UserService一执行,就会报空指针异常. 看了网上各位大神的讲解,什么不能用ser ...