| | |
| | | |
| | | private String name; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date ctime; |
| | | |
| | | private LocalDateTime now; |
| | |
| | | where |
| | | user_name != 'admin' and a.status != 2 and a.deleted = 0 and (a.`condition` = 0 or a.`condition` is null) |
| | | <if test="deptIds != null and deptIds.size > 0"> |
| | | and c.department_id in |
| | | <foreach collection="deptIds" open="(" separator="," close=")" item="deptId"> |
| | | #{deptId} |
| | | </foreach> |
| | | and c.department_id in <foreach collection="deptIds" open="(" separator="," close=")" item="deptId"> #{deptId} </foreach> |
| | | </if> |
| | | <if test="realName"> and INSTR(a.real_name, #{realName}) </if> |
| | | group by a.id, a.real_name |
| | | <if test="(tagIds != null and tagIds.size > 0) or (excludeTagIds != null and excludeTagIds.size > 0)"> |
| | | having |