Procházet zdrojové kódy

[合同][修改][多经选择商铺添加商户查询条件]

release_toaliyun_real
gongbiao před 6 roky
rodič
revize
26520aeadf
2 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. +3
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxShop.java
  2. +5
    -0
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

+ 3
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxShop.java Zobrazit soubor

@@ -31,6 +31,9 @@ public class WxShop extends BaseEntity {
@TableField(exist = false) @TableField(exist = false)
private String linkPhone; private String linkPhone;


@TableField(exist = false)
private String merchantName;

@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
private String tenantId; private String tenantId;




+ 5
- 0
mallinkService/src/main/resources/mapper/WxShopMapper.xml Zobrazit soubor

@@ -517,6 +517,11 @@
<if test=" null != building and '' != building "> <if test=" null != building and '' != building ">
and b.building_name like concat('%', #{building},'%') and b.building_name like concat('%', #{building},'%')
</if> </if>
<if test=" null != merchantName and ''!=merchantName ">
and m.`name` like concat('%', #{merchantName},'%')
</if>
<if test=" null != sortColumns">order by ${sortColumns}</if> <if test=" null != sortColumns">order by ${sortColumns}</if>
</select> </select>


Načítá se…
Zrušit
Uložit