diff --git a/mallinkService/src/main/java/com/simple/domain/po/WxAppinfo.java b/mallinkService/src/main/java/com/simple/domain/po/WxAppinfo.java
index f34597801..892bcaaf2 100644
--- a/mallinkService/src/main/java/com/simple/domain/po/WxAppinfo.java
+++ b/mallinkService/src/main/java/com/simple/domain/po/WxAppinfo.java
@@ -1,12 +1,11 @@
package com.simple.domain.po;
-import javax.persistence.*;
-import java.util.*;
-import java.math.*;
-import javax.persistence.Transient;
-import java.util.List;
import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.Transient;
import java.io.Serializable;
+import java.util.Date;
+import java.util.List;
@Table(name = "wx_appinfo")
public class WxAppinfo implements Serializable {
@@ -78,6 +77,9 @@ public class WxAppinfo implements Serializable {
public String getTenantId() {
return tenantId;
}
+ @io.swagger.annotations.ApiModelProperty(value="1B端2C端",name="type")
+ private Integer type;
+
public void setTenantId(String _tenantId) {
tenantId = _tenantId;
}
@@ -142,7 +144,13 @@ public class WxAppinfo implements Serializable {
payId = _payId;
}
+ public Integer getType() {
+ return type;
+ }
+ public void setType(Integer type) {
+ this.type = type;
+ }
public static enum Field
{
@@ -158,6 +166,8 @@ public class WxAppinfo implements Serializable {
,LastTokenTime_ASC("`lastTokenTime` ASC"),LastTokenTime_DESC("`lastTokenTime` DESC")
,ExpiresIn_ASC("`expiresIn` ASC"),ExpiresIn_DESC("`expiresIn` DESC")
,PayId_ASC("`payId` ASC"),PayId_DESC("`payId` DESC")
+ ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC")
+
;
private String value;
Field(String value){
diff --git a/mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml b/mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml
index 8a82fba36..e93efdad4 100644
--- a/mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml
@@ -14,10 +14,12 @@
+
+
- `id`,`tenant_id`,`app_id`,`name`,`secret`,`token`,`aes_key`,`msg_data_format`,`access_token`,`last_token_time`,`expires_in`,`pay_id`
+ `id`,`tenant_id`,`app_id`,`name`,`secret`,`token`,`aes_key`,`msg_data_format`,`access_token`,`last_token_time`,`expires_in`,`pay_id`,`type`
@@ -81,7 +83,11 @@
and `pay_id` = #{payId}
-
+
+
+ and `type` = #{type}
+
+
and id in