优化
This commit is contained in:
@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
c.username as userName,
|
||||
c.avatar_name
|
||||
FROM
|
||||
wgz_reissueacard a
|
||||
wgz_reissueacard as a
|
||||
LEFT JOIN bgt_user b ON (a.auditor_user_id = b.user_id and b.del_flag = 0)
|
||||
LEFT JOIN wgz_user c ON (a.user_id = c.user_id and c.del_flag = 0)
|
||||
WHERE
|
||||
@ -49,11 +49,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
b.username as auditorname,
|
||||
b.avatar_name as auditorHead,
|
||||
c.username as userName,
|
||||
c.avatar_name
|
||||
c.avatar_name,
|
||||
d.recruit_name as recruitName
|
||||
FROM
|
||||
wgz_reissueacard a
|
||||
LEFT JOIN bgt_user b ON (a.auditor_user_id = b.user_id and b.del_flag = 0)
|
||||
LEFT JOIN wgz_user c ON (a.user_id = c.user_id and c.del_flag = 0)
|
||||
LEFT JOIN bgt_user b ON (a.auditor_user_id = b.user_id)
|
||||
LEFT JOIN wgz_user c ON (a.user_id = c.user_id)
|
||||
LEFT JOIN bgt_project_recruit d ON (d.id = a.recruit_id )
|
||||
WHERE
|
||||
a.id = #{id} and a.del_flag = 0
|
||||
ORDER BY
|
||||
|
Reference in New Issue
Block a user