Commit 89407ea7 by wangchunyang

人员时间格式处理

parent 5ae2d1ad
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
u.phone, u.phone,
u.mobile, u.mobile,
u.birthday, u.birthday,
u.in_work_time, DATE_FORMAT(u.in_work_time,'%Y-%m-%d') in_work_time,
u.leader, u.leader,
u.leader_name, u.leader_name,
u.is_used, u.is_used,
...@@ -110,13 +110,14 @@ ...@@ -110,13 +110,14 @@
ORDER BY o.grade DESC ORDER BY o.grade DESC
</select> </select>
<!-- 从 sys_user 查询指定机构(及下属机构)的用户,office_code 为机构 code 字段 --> <!-- 从 sys_user 查询指定机构(及下属机构)的用户,office_code 为机构 code 字段, 注:内部控制只有长春市由此功能,功能只覆盖长春市范围 -->
<select id="selectSysUserByOfficeCode" parameterType="map" resultType="map"> <select id="selectSysUserByOfficeCode" parameterType="map" resultType="map">
SELECT su.* SELECT su.*
FROM sys_user su FROM sys_user su
WHERE su.office_id IN ( WHERE su.office_id IN (
SELECT so.id FROM sys_office so SELECT so.id FROM sys_office so
WHERE so.parent_ids LIKE CONCAT(#{parentIds}, '%') OR so.id = #{_user.company_id} WHERE del_flag=0 AND so.parent_ids LIKE CONCAT(#{parentIds}, '%') OR so.id = #{_user.company_id}
AND (id='220100000000' OR parent_ids like '0,220000000000,220100000000%')
) )
AND (su.del_flag IS NULL OR su.del_flag = '0') AND (su.del_flag IS NULL OR su.del_flag = '0')
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论