Просмотр исходного кода

[mall图标添加横版][新增]

release_toaliyun_real
Stormeye.Wu 7 лет назад
Родитель
Сommit
0f2937e7dd
2 измененных файлов: 15 добавлений и 2 удалений
  1. +10
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxMall.java
  2. +5
    -2
      mallinkService/src/main/resources/mapper/WxMallMapper.xml

+ 10
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxMall.java Просмотреть файл

@@ -84,6 +84,8 @@ public class WxMall implements Serializable {
private String servicePhone; private String servicePhone;
@io.swagger.annotations.ApiModelProperty(value="商场图标",name="imgUrl") @io.swagger.annotations.ApiModelProperty(value="商场图标",name="imgUrl")
private String imgUrl; private String imgUrl;
@io.swagger.annotations.ApiModelProperty(value="商场图标",name="imgUrlH")
private String imgUrlH;


@io.swagger.annotations.ApiModelProperty(value="迈外迪key",name="wiwideKey") @io.swagger.annotations.ApiModelProperty(value="迈外迪key",name="wiwideKey")
private String wiwideKey; private String wiwideKey;
@@ -187,6 +189,14 @@ public class WxMall implements Serializable {
this.imgUrl = _imgUrl; this.imgUrl = _imgUrl;
} }


public String getImgUrlH() {
return imgUrlH;
}

public void setImgUrlH(String imgUrlH) {
this.imgUrlH = imgUrlH;
}

public String getWiwideKey() { public String getWiwideKey() {
return wiwideKey; return wiwideKey;
} }


+ 5
- 2
mallinkService/src/main/resources/mapper/WxMallMapper.xml Просмотреть файл

@@ -18,13 +18,14 @@
<result column="pay_id" jdbcType="BIGINT" property="payId" /> <result column="pay_id" jdbcType="BIGINT" property="payId" />
<result column="service_phone" jdbcType="VARCHAR" property="servicePhone" /> <result column="service_phone" jdbcType="VARCHAR" property="servicePhone" />
<result column="img_url" jdbcType="VARCHAR" property="imgUrl" /> <result column="img_url" jdbcType="VARCHAR" property="imgUrl" />
<result column="img_url_h" jdbcType="VARCHAR" property="imgUrlH" />
<result column="wiwide_key" jdbcType="VARCHAR" property="wiwideKey" /> <result column="wiwide_key" jdbcType="VARCHAR" property="wiwideKey" />
<result column="wiwide_url" jdbcType="VARCHAR" property="wiwideUrl" /> <result column="wiwide_url" jdbcType="VARCHAR" property="wiwideUrl" />
</resultMap> </resultMap>
<sql id="allColumns"> <sql id="allColumns">
`id`,`tenant_id`,`name`,`group`,`country`,`province`,`city`,`addr`,`wiwide_id`,`total_area`,`operating_area`,`park_area`,`park_place_number`,`pay_id`,`service_phone`,`img_url`,`wiwide_key`,`wiwide_url`
`id`,`tenant_id`,`name`,`group`,`country`,`province`,`city`,`addr`,`wiwide_id`,`total_area`,`operating_area`,`park_area`,`park_place_number`,`pay_id`,`service_phone`,`img_url`,`img_url_h`,`wiwide_key`,`wiwide_url`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -105,7 +106,9 @@
</if> </if>
<if test=" null != imgUrl "> <if test=" null != imgUrl ">
and `img_url` = #{imgUrl} and `img_url` = #{imgUrl}

</if>
<if test=" null != imgUrlH ">
and `img_ur_h` = #{imgUrlH}
</if> </if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in


Загрузка…
Отмена
Сохранить