diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml index 350fd64..27495ca 100644 --- a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml @@ -6,7 +6,7 @@ select d.id as org_id, o.com_name as depart_name, d.org_code, - d.server_url, + concat(d.url , d.context_path) as server_url, o.org_leader, o.org_leader_phone, o.org_address, @@ -15,7 +15,7 @@ from sys_depart d left join nu_org_apply_info o on d.id = o.pk_id left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N' and s.open_id = #{openId} - where 1=1 and d.server_url is not null and o.status = '2' and d.del_flag = '0' + where 1=1 and o.status = '2' and d.del_flag = '0' and d.org_code IN @@ -40,7 +40,7 @@ from sys_depart d left join nu_org_apply_info o on d.id = o.pk_id left join nu_biz_suppliers_org s on d.org_code = s.org_code - where 1=1 and o.status in ('2','4','5') and d.del_flag = '0' and d.server_url is not null and s.iz_history = 'N' + where 1=1 and o.status in ('2','4','5') and d.del_flag = '0' and s.iz_history = 'N' and s.open_id = #{openId} and d.org_code IN