| | |
| | | u.dept_id |
| | | FROM |
| | | sys_performance p |
| | | INNER JOIN blade_user u ON p.securityId = u.id WHERE 1=1 |
| | | INNER JOIN blade_user u ON p.cardid = u.cardid WHERE 1=1 |
| | | <if test="type!=null and type=='1'.toString()"> |
| | | and to_days(p.time) = to_days(now()) |
| | | </if> |
| | |
| | | sys_information si |
| | | on |
| | | si.departmentid = bu.dept_id |
| | | LEFT JOIN sys_performance p ON p.departmentid = bu.dept_id |
| | | LEFT JOIN blade_dept d ON bu.dept_id = d.id |
| | | LEFT JOIN sys_jurisdiction j ON j.id = si.jurisdiction |
| | | LEFT JOIN sys_performance p ON p.cardid = bu.cardid |
| | | where bu.is_deleted = 0 |
| | | and bu.status = 1 |
| | | <if test="user.realName!=null and user.realName != ''"> |