修复爱尚家的bug
This commit is contained in:
@@ -59,6 +59,12 @@ public class HouseInfo implements Serializable {
|
||||
@Schema(description = "楼层")
|
||||
private String floor;
|
||||
|
||||
@Schema(description = "卖价")
|
||||
private String salePrice;
|
||||
|
||||
@Schema(description = "总价")
|
||||
private String totalPrice;
|
||||
|
||||
@Schema(description = "房号")
|
||||
private String roomNumber;
|
||||
|
||||
|
||||
@@ -5,11 +5,9 @@
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*,
|
||||
b.nickname,b.avatar,b.grade_id,
|
||||
c.name as gradeName
|
||||
b.nickname,b.avatar,b.grade_id
|
||||
FROM house_info a
|
||||
LEFT JOIN gxwebsoft_core.sys_user b ON a.user_id = b.user_id
|
||||
LEFT JOIN shop_user_grade c ON b.grade_id = c.grade_id
|
||||
<where>
|
||||
<if test="param.houseId != null">
|
||||
AND a.house_id = #{param.houseId}
|
||||
@@ -44,6 +42,12 @@
|
||||
<if test="param.roomNumber != null">
|
||||
AND a.room_number LIKE CONCAT('%', #{param.roomNumber}, '%')
|
||||
</if>
|
||||
<if test="param.salePrice != null">
|
||||
AND a.sale_price = #{param.salePrice}
|
||||
</if>
|
||||
<if test="param.totalPrice != null">
|
||||
AND a.total_Price = #{param.totalPrice}
|
||||
</if>
|
||||
<if test="param.realName != null">
|
||||
AND a.real_name LIKE CONCAT('%', #{param.realName}, '%')
|
||||
</if>
|
||||
@@ -110,18 +114,12 @@
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
|
||||
<!-- <if test="param.extentScene != null">-->
|
||||
<!-- AND a.extent >= 100 AND a.extent <= 150-->
|
||||
<!-- </if>-->
|
||||
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
|
||||
<if test="param.keywords != null">
|
||||
AND (
|
||||
a.house_title LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
|
||||
@@ -8,7 +8,6 @@ import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@@ -67,6 +66,12 @@ public class HouseInfoParam extends BaseParam {
|
||||
@Schema(description = "楼层")
|
||||
private String floor;
|
||||
|
||||
@Schema(description = "卖价")
|
||||
private String salePrice;
|
||||
|
||||
@Schema(description = "总价")
|
||||
private String totalPrice;
|
||||
|
||||
@Schema(description = "房号")
|
||||
private String roomNumber;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ spring:
|
||||
# username: db_10556
|
||||
# password: 3FErjCpAFmbAR7Xw
|
||||
|
||||
url: jdbc:mysql://47.119.165.234:3308/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://8.134.169.209:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: modules
|
||||
password: 8YdLnk7KsPAyDXGA
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
@@ -53,7 +53,7 @@ mqtt:
|
||||
# 框架配置
|
||||
config:
|
||||
# 开发环境接口
|
||||
server-url: http://127.0.0.1:9091/api
|
||||
server-url: http://127.0.0.1:9200/api
|
||||
upload-path: /Users/gxwebsoft/Documents/uploads/ # window(D:\Temp)
|
||||
|
||||
# 开发环境证书配置
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://47.119.165.234:3308/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://1Panel-mysql-Bqdt:3306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: modules
|
||||
password: 8YdLnk7KsPAyDXGA
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
@@ -64,11 +64,6 @@ knife4j:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
redis:
|
||||
database: 0
|
||||
host: 1Panel-redis-Q1LE
|
||||
port: 6379
|
||||
password: redis_WSDb88
|
||||
|
||||
# 邮件服务器配置
|
||||
mail:
|
||||
|
||||
Reference in New Issue
Block a user