|
@@ -147,7 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="getEnterpriseList" parameterType="CenterdataTHousingconstructionEnterprise" resultType="map">
|
|
<select id="getEnterpriseList" parameterType="CenterdataTHousingconstructionEnterprise" resultType="map">
|
|
SELECT
|
|
SELECT
|
|
- id enterpriseId,
|
|
|
|
|
|
+ a.id enterpriseId,
|
|
enterprise_name enterpriseName,
|
|
enterprise_name enterpriseName,
|
|
enterprise_administrative_area enterpriseAdministrativeArea,
|
|
enterprise_administrative_area enterpriseAdministrativeArea,
|
|
legal_representative legalRepresentative,
|
|
legal_representative legalRepresentative,
|
|
@@ -159,9 +159,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
license_period_end licensePeriodEnd,
|
|
license_period_end licensePeriodEnd,
|
|
issuing_authority issuingAuthority,
|
|
issuing_authority issuingAuthority,
|
|
longitude,
|
|
longitude,
|
|
- latitude
|
|
|
|
|
|
+ latitude,
|
|
|
|
+ b.attach_path attachPaths
|
|
FROM
|
|
FROM
|
|
centerdata_t_housingconstruction_enterprise a
|
|
centerdata_t_housingconstruction_enterprise a
|
|
|
|
+ left join centerdata_t_housingconstruction_attach b on a.id = b.bus_id
|
|
LEFT JOIN ${database_system}.sys_dept d ON a.dept_id = d.dept_id
|
|
LEFT JOIN ${database_system}.sys_dept d ON a.dept_id = d.dept_id
|
|
<where>
|
|
<where>
|
|
<if test="id != null and id != ''"> and a.id = #{id}</if>
|
|
<if test="id != null and id != ''"> and a.id = #{id}</if>
|