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