Browse Source

济南锦水-给大屏提供的企业信息查询接口更改

feature/screenDataPush
zhangfh 4 years ago
parent
commit
99c55e8de5
  1. 5
      esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/form/EpdcScreenCompanyListFormDTO.java
  2. 5
      esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/result/EpdcScreenCompanyListResultDTO.java
  3. 5
      esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/epidemic/ScreenCompanyDao.xml

5
esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/form/EpdcScreenCompanyListFormDTO.java

@ -26,4 +26,9 @@ public class EpdcScreenCompanyListFormDTO implements Serializable {
* 企业名称 * 企业名称
*/ */
private String companyName; private String companyName;
/**
* 房屋类型
*/
private String houseType;
} }

5
esua-epdc/epdc-module/epdc-custom/epdc-custom-client/src/main/java/com/elink/esua/epdc/dto/result/EpdcScreenCompanyListResultDTO.java

@ -40,6 +40,11 @@ public class EpdcScreenCompanyListResultDTO implements Serializable {
*/ */
private String companyAddress; private String companyAddress;
/**
* 房屋类型
*/
private String houseType;
/** /**
* 经度 * 经度
*/ */

5
esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/epidemic/ScreenCompanyDao.xml

@ -51,6 +51,7 @@
<result property="companyIntroduction" column="COMPANY_INTRODUCTION"/> <result property="companyIntroduction" column="COMPANY_INTRODUCTION"/>
<result property="contactPerson" column="CONTACT_PERSON"/> <result property="contactPerson" column="CONTACT_PERSON"/>
<result property="mobile" column="MOBILE"/> <result property="mobile" column="MOBILE"/>
<result property="houseType" column="HOUSE_TYPE"/>
<result property="companyAddress" column="COMPANY_ADDRESS"/> <result property="companyAddress" column="COMPANY_ADDRESS"/>
<result property="longitude" column="LONGITUDE"/> <result property="longitude" column="LONGITUDE"/>
<result property="latitude" column="LATITUDE"/> <result property="latitude" column="LATITUDE"/>
@ -66,6 +67,7 @@
c.CONTACT_PERSON, c.CONTACT_PERSON,
c.MOBILE, c.MOBILE,
c.COMPANY_ADDRESS, c.COMPANY_ADDRESS,
c.HOUSE_TYPE,
c.LONGITUDE, c.LONGITUDE,
c.LATITUDE, c.LATITUDE,
i.IMG_URL i.IMG_URL
@ -77,6 +79,9 @@
<if test="companyName != null and companyName != ''"> <if test="companyName != null and companyName != ''">
and c.COMPANY_NAME like concat('%', #{companyName}, '%') and c.COMPANY_NAME like concat('%', #{companyName}, '%')
</if> </if>
<if test="houseType != null and houseType != ''">
and c.HOUSE_TYPE = #{houseType}
</if>
ORDER BY c.CREATED_TIME DESC ORDER BY c.CREATED_TIME DESC
LIMIT #{pageIndex},#{pageSize} LIMIT #{pageIndex},#{pageSize}
</select> </select>

Loading…
Cancel
Save