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

[账单管理][修改][查询条件加商户名称]

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
aaf2544c2f
2 измененных файлов: 13 добавлений и 3 удалений
  1. +12
    -3
      mallinkService/src/main/java/com/iformall/domain/po/WxBillRent.java
  2. +1
    -0
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

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

@@ -36,9 +36,10 @@ public class WxBillRent implements Serializable {
public void setIds(List<Long> ids) {
this.ids = ids;
}

@Transient
private String merchantName;

/*租金合同ID**/
@io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId")
private Long rentContractId;
@@ -89,6 +90,14 @@ public class WxBillRent implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updatetime")
private Date updatetime;

public String getMerchantName() {
return merchantName;
}

public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}

public Long getRentContractId() {
return rentContractId;
}


+ 1
- 0
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Просмотреть файл

@@ -75,6 +75,7 @@
<where>
<if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != merchantName and ''!=merchantName ">and m.`merchant_name` = #{merchantName}</if>
<if test=" null != tenantId ">and br.`tenant_id` = #{tenantId}</if>
<if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if>


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