|
@@ -161,7 +161,7 @@
|
|
a.*,b.name_ as company_name
|
|
a.*,b.name_ as company_name
|
|
from base_person_info a
|
|
from base_person_info a
|
|
left join base_company_info b on a.company_id = b.id_
|
|
left join base_company_info b on a.company_id = b.id_
|
|
- where a.id_=#{0} and a.del_flag = 0 limit 1
|
|
|
|
|
|
+ where a.id_=#{0} limit 1
|
|
</select>
|
|
</select>
|
|
<select id="exist" parameterType="long" resultType="int">
|
|
<select id="exist" parameterType="long" resultType="int">
|
|
select count(*) from base_person_info where id_=#{0} and del_flag = 0
|
|
select count(*) from base_person_info where id_=#{0} and del_flag = 0
|