| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- MATCH (staff:/mingdao1/staff)
- -[:is_member_of_project*1..1]->
- (project:/mingdao1/project WHERE attr1 = 'CN002859P')
- RETURN staff.attr0 AS "员工工号", staff.attr1 AS "员工姓名", staff.staff_perf as "工时", project.id as "项目"
- into temp1;
- select "项目", "员工工号", "员工姓名"
- from temp1
- /**
- output()
- **/
- ;
- select id, staff_perf,attr1 from /mingdao1/staff where attr0='UN0193'
- /**
- timeout(3m)
- output()
- **/
- ;
- select "项目", "员工工号", "员工姓名", 工时
- from temp1
- where 员工工号='UN0193'
- /**
- output()
- **/
- ;
- select "项目", "员工工号", "员工姓名", 工时.time('2023-06-01 00:00:00','2023-06-10 23:59:59').find(name='CN002859P')
- from temp1
- /**
- output()
- **/
- ;
- select "项目", "员工工号", "员工姓名", 工时.time('2023-06-01 00:00:00','2023-06-10 23:59:59').find(name='CN002859P').unit('sum', '1d')
- from temp1
- /**
- output()
- **/
- ;
|