|
|
@@ -30,10 +30,13 @@
|
|
|
|
|
|
<select id="get" resultType="WsStaff" >
|
|
|
SELECT
|
|
|
- <include refid="wsStaffColumns"/>
|
|
|
+ <include refid="wsStaffColumns"/>,
|
|
|
+ ifnull(hm.authentication_status,0) as "hpMember.authenticationStatus"
|
|
|
FROM ws_staff a
|
|
|
<include refid="wsStaffJoins"/>
|
|
|
+ left join hp_member hm on hm.id_card_number=a.idcard_number
|
|
|
WHERE a.id = #{id}
|
|
|
+ group by a.id
|
|
|
</select>
|
|
|
|
|
|
<select id="findList" resultType="WsStaff" >
|