更换机构信息获取位置
This commit is contained in:
parent
54aa7e9f2c
commit
7eb68c0adc
|
|
@ -13,43 +13,39 @@
|
||||||
d.iz_elder_tag_main,
|
d.iz_elder_tag_main,
|
||||||
d.media_url,
|
d.media_url,
|
||||||
d.payable_amount,
|
d.payable_amount,
|
||||||
o.open_id,
|
d.open_id,
|
||||||
o.wechat_name,
|
d.wechat_name,
|
||||||
o.tel,
|
d.tel,
|
||||||
o.name,
|
d.name,
|
||||||
o.sex,
|
d.sex,
|
||||||
o.national,
|
d.national,
|
||||||
o.birth_date,
|
d.birth_date,
|
||||||
o.id_card_address,
|
d.id_card_address,
|
||||||
o.id_card,
|
d.id_card,
|
||||||
o.issuing_authority,
|
d.issuing_authority,
|
||||||
o.start_time,
|
d.start_time,
|
||||||
o.end_time,
|
d.end_time,
|
||||||
o.card_zm_path,
|
d.card_zm_path,
|
||||||
o.card_fm_path,
|
d.card_fm_path,
|
||||||
o.com_business_license,
|
d.com_business_license,
|
||||||
o.com_name,
|
d.com_name,
|
||||||
o.com_register_address,
|
d.com_register_address,
|
||||||
o.com_credit_code,
|
d.com_credit_code,
|
||||||
o.com_legal_person,
|
d.com_legal_person,
|
||||||
o.org_address,
|
d.org_address,
|
||||||
o.org_leader,
|
d.org_leader,
|
||||||
o.org_leader_phone,
|
d.org_leader_phone,
|
||||||
o.org_building_number,
|
d.org_building_number,
|
||||||
o.org_property_type,
|
d.org_property_type,
|
||||||
o.org_building_area,
|
d.org_building_area,
|
||||||
o.org_province,
|
d.org_province,
|
||||||
o.org_city,
|
d.org_city,
|
||||||
o.org_district,
|
d.org_district,
|
||||||
o.contract,
|
d.contract,
|
||||||
o.contract_note,
|
d.contract_note,
|
||||||
o.franchise_time
|
d.franchise_time
|
||||||
from sys_depart d
|
from sys_depart d
|
||||||
left join nu_org_apply_info o
|
<where>d.del_flag = '0' and d.status = '1'
|
||||||
on d.id = o.pk_id
|
|
||||||
<where>
|
|
||||||
o.status = '2'
|
|
||||||
and d.del_flag = '0'
|
|
||||||
<if test="orgCode != null and orgCode != ''">
|
<if test="orgCode != null and orgCode != ''">
|
||||||
AND d.org_code IN
|
AND d.org_code IN
|
||||||
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
||||||
|
|
@ -59,8 +55,8 @@
|
||||||
<if test="title != null and title != ''">
|
<if test="title != null and title != ''">
|
||||||
AND (
|
AND (
|
||||||
d.depart_name LIKE CONCAT('%', #{title}, '%')
|
d.depart_name LIKE CONCAT('%', #{title}, '%')
|
||||||
OR o.org_leader LIKE CONCAT('%', #{title}, '%')
|
OR d.org_leader LIKE CONCAT('%', #{title}, '%')
|
||||||
OR o.org_leader_phone LIKE CONCAT('%', #{title}, '%')
|
OR d.org_leader_phone LIKE CONCAT('%', #{title}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue