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