| @@ -10,17 +10,4 @@ | |||||
| <modelVersion>4.0.0</modelVersion> | <modelVersion>4.0.0</modelVersion> | ||||
| <artifactId>mallinkService</artifactId> | <artifactId>mallinkService</artifactId> | ||||
| <build> | |||||
| <plugins> | |||||
| <plugin> | |||||
| <groupId>org.apache.maven.plugins</groupId> | |||||
| <artifactId>maven-compiler-plugin</artifactId> | |||||
| <version>3.1</version> | |||||
| <configuration> | |||||
| <source>1.8</source> | |||||
| <target>1.8</target> | |||||
| </configuration> | |||||
| </plugin> | |||||
| </plugins> | |||||
| </build> | |||||
| </project> | </project> | ||||
| @@ -0,0 +1,72 @@ | |||||
| package com.simple.common; | |||||
| public class IdWorker { | |||||
| private final long twepoch = 1288834974657L; | |||||
| private final long workerIdBits = 5L; | |||||
| private final long datacenterIdBits = 5L; | |||||
| private final long maxWorkerId = -1L ^ (-1L << workerIdBits); | |||||
| private final long maxDatacenterId = -1L ^ (-1L << datacenterIdBits); | |||||
| private final long sequenceBits = 12L; | |||||
| private final long workerIdShift = sequenceBits; | |||||
| private final long datacenterIdShift = sequenceBits + workerIdBits; | |||||
| private final long timestampLeftShift = sequenceBits + workerIdBits + datacenterIdBits; | |||||
| private final long sequenceMask = -1L ^ (-1L << sequenceBits); | |||||
| private long workerId; | |||||
| private long datacenterId; | |||||
| private long sequence = 0L; | |||||
| private long lastTimestamp = -1L; | |||||
| public IdWorker(long workerId, long datacenterId) { | |||||
| if (workerId > maxWorkerId || workerId < 0) { | |||||
| throw new IllegalArgumentException(String.format("worker Id can't be greater than %d or less than 0", maxWorkerId)); | |||||
| } | |||||
| if (datacenterId > maxDatacenterId || datacenterId < 0) { | |||||
| throw new IllegalArgumentException(String.format("datacenter Id can't be greater than %d or less than 0", maxDatacenterId)); | |||||
| } | |||||
| this.workerId = workerId; | |||||
| this.datacenterId = datacenterId; | |||||
| } | |||||
| public synchronized long nextId() { | |||||
| long timestamp = timeGen(); | |||||
| if (timestamp < lastTimestamp) { | |||||
| throw new RuntimeException(String.format("Clock moved backwards. Refusing to generate id for %d milliseconds", lastTimestamp - timestamp)); | |||||
| } | |||||
| if (lastTimestamp == timestamp) { | |||||
| sequence = (sequence + 1) & sequenceMask; | |||||
| if (sequence == 0) { | |||||
| timestamp = tilNextMillis(lastTimestamp); | |||||
| } | |||||
| } else { | |||||
| sequence = 0L; | |||||
| } | |||||
| lastTimestamp = timestamp; | |||||
| return ((timestamp - twepoch) << timestampLeftShift) | (datacenterId << datacenterIdShift) | (workerId << workerIdShift) | sequence; | |||||
| } | |||||
| protected long tilNextMillis(long lastTimestamp) { | |||||
| long timestamp = timeGen(); | |||||
| while (timestamp <= lastTimestamp) { | |||||
| timestamp = timeGen(); | |||||
| } | |||||
| return timestamp; | |||||
| } | |||||
| protected long timeGen() { | |||||
| return System.currentTimeMillis(); | |||||
| } | |||||
| public static void main(String[] args) { | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| for (int i = 0; i < 1000; i++) { | |||||
| long id = idWorker.nextId(); | |||||
| System.out.println(id); | |||||
| } | |||||
| System.out.println((1025937392038576128l+"").length()); | |||||
| } | |||||
| } | |||||
| @@ -13,19 +13,21 @@ public class WxAppinfo implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxAppinfo implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*小程序ID**/ | /*小程序ID**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="小程序ID",name="appid") | @io.swagger.annotations.ApiModelProperty(value="小程序ID",name="appid") | ||||
| private String appid; | private String appid; | ||||
| @@ -63,6 +68,12 @@ public class WxAppinfo implements Serializable { | |||||
| /*微信token有效时间单位(秒)**/ | /*微信token有效时间单位(秒)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="微信token有效时间单位(秒)",name="expiresIn") | @io.swagger.annotations.ApiModelProperty(value="微信token有效时间单位(秒)",name="expiresIn") | ||||
| private Integer expiresIn; | private Integer expiresIn; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | return appid; | ||||
| } | } | ||||
| @@ -117,6 +128,7 @@ public class WxAppinfo implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Appid_ASC("`appid` ASC"),Appid_DESC("`appid` DESC") | ,Appid_ASC("`appid` ASC"),Appid_DESC("`appid` DESC") | ||||
| ,Secret_ASC("`secret` ASC"),Secret_DESC("`secret` DESC") | ,Secret_ASC("`secret` ASC"),Secret_DESC("`secret` DESC") | ||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxBLog implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxBLog implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="data") | @io.swagger.annotations.ApiModelProperty(value="",name="data") | ||||
| private String data; | private String data; | ||||
| /*创建时间**/ | /*创建时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | ||||
| private Date createDate; | private Date createDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getData() { | public String getData() { | ||||
| return data; | return data; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxBLog implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ||||
| ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ||||
| ; | ; | ||||
| @@ -1,6 +1,8 @@ | |||||
| package com.simple.domain.po; | package com.simple.domain.po; | ||||
| import javax.persistence.*; | import javax.persistence.*; | ||||
| import java.util.*; | |||||
| import java.math.*; | |||||
| import javax.persistence.Transient; | import javax.persistence.Transient; | ||||
| import java.util.List; | import java.util.List; | ||||
| import javax.persistence.Id; | import javax.persistence.Id; | ||||
| @@ -11,19 +13,21 @@ public class WxBUserMerchant implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -37,12 +41,21 @@ public class WxBUserMerchant implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*B端用户id**/ | /*B端用户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="B端用户id",name="bUserId") | @io.swagger.annotations.ApiModelProperty(value="B端用户id",name="bUserId") | ||||
| private Integer bUserId; | private Integer bUserId; | ||||
| /*商户id**/ | /*商户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | ||||
| private Integer merchantId; | private Integer merchantId; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getBUserId() { | public Integer getBUserId() { | ||||
| return bUserId; | return bUserId; | ||||
| } | } | ||||
| @@ -61,6 +74,7 @@ public class WxBUserMerchant implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,BUserId_ASC("`bUserId` ASC"),BUserId_DESC("`bUserId` DESC") | ,BUserId_ASC("`bUserId` ASC"),BUserId_DESC("`bUserId` DESC") | ||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxBanners implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxBanners implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*封面图**/ | /*封面图**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="封面图",name="facePicUrl") | @io.swagger.annotations.ApiModelProperty(value="封面图",name="facePicUrl") | ||||
| private String facePicUrl; | private String facePicUrl; | ||||
| @@ -63,6 +68,12 @@ public class WxBanners implements Serializable { | |||||
| /*状态 1启用 2停用**/ | /*状态 1启用 2停用**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="状态 1启用 2停用",name="isEnable") | @io.swagger.annotations.ApiModelProperty(value="状态 1启用 2停用",name="isEnable") | ||||
| private Integer isEnable; | private Integer isEnable; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getFacePicUrl() { | public String getFacePicUrl() { | ||||
| return facePicUrl; | return facePicUrl; | ||||
| } | } | ||||
| @@ -117,6 +128,7 @@ public class WxBanners implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,FacePicUrl_ASC("`facePicUrl` ASC"),FacePicUrl_DESC("`facePicUrl` DESC") | ,FacePicUrl_ASC("`facePicUrl` ASC"),FacePicUrl_DESC("`facePicUrl` DESC") | ||||
| ,ActivityType_ASC("`activityType` ASC"),ActivityType_DESC("`activityType` DESC") | ,ActivityType_ASC("`activityType` ASC"),ActivityType_DESC("`activityType` DESC") | ||||
| ,Url_ASC("`url` ASC"),Url_DESC("`url` DESC") | ,Url_ASC("`url` ASC"),Url_DESC("`url` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxBusiness implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,9 +41,18 @@ public class WxBusiness implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*业态名**/ | /*业态名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="业态名",name="title") | @io.swagger.annotations.ApiModelProperty(value="业态名",name="title") | ||||
| private String title; | private String title; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | return title; | ||||
| } | } | ||||
| @@ -54,6 +65,7 @@ public class WxBusiness implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| @@ -13,19 +13,21 @@ public class WxCLog implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxCLog implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="data") | @io.swagger.annotations.ApiModelProperty(value="",name="data") | ||||
| private String data; | private String data; | ||||
| /*创建时间**/ | /*创建时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | ||||
| private Date createDate; | private Date createDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getData() { | public String getData() { | ||||
| return data; | return data; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxCLog implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ||||
| ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxCUser implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxCUser implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*微信openId**/ | /*微信openId**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="微信openId",name="openId") | @io.swagger.annotations.ApiModelProperty(value="微信openId",name="openId") | ||||
| private String openId; | private String openId; | ||||
| @@ -96,6 +101,12 @@ public class WxCUser implements Serializable { | |||||
| /*积分**/ | /*积分**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="积分",name="score") | @io.swagger.annotations.ApiModelProperty(value="积分",name="score") | ||||
| private Integer score; | private Integer score; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getOpenId() { | public String getOpenId() { | ||||
| return openId; | return openId; | ||||
| } | } | ||||
| @@ -216,6 +227,7 @@ public class WxCUser implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,OpenId_ASC("`openId` ASC"),OpenId_DESC("`openId` DESC") | ,OpenId_ASC("`openId` ASC"),OpenId_DESC("`openId` DESC") | ||||
| ,UnionId_ASC("`unionId` ASC"),UnionId_DESC("`unionId` DESC") | ,UnionId_ASC("`unionId` ASC"),UnionId_DESC("`unionId` DESC") | ||||
| ,NickName_ASC("`nickName` ASC"),NickName_DESC("`nickName` DESC") | ,NickName_ASC("`nickName` ASC"),NickName_DESC("`nickName` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxCUserCars implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxCUserCars implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*c端用户id**/ | /*c端用户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="cUserId") | @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="cUserId") | ||||
| private Integer cUserId; | private Integer cUserId; | ||||
| /*车牌号**/ | /*车牌号**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="车牌号",name="carNumber") | @io.swagger.annotations.ApiModelProperty(value="车牌号",name="carNumber") | ||||
| private String carNumber; | private String carNumber; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCUserId() { | public Integer getCUserId() { | ||||
| return cUserId; | return cUserId; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxCUserCars implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| ,CarNumber_ASC("`carNumber` ASC"),CarNumber_DESC("`carNumber` DESC") | ,CarNumber_ASC("`carNumber` ASC"),CarNumber_DESC("`carNumber` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxCUserCloud implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,17 +41,20 @@ public class WxCUserCloud implements Serializable { | |||||
| /*大数据相关信息**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="大数据相关信息",name="cloudData") | |||||
| private String cloudData; | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*c端用户id**/ | /*c端用户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="cUserId") | @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="cUserId") | ||||
| private Integer cUserId; | private Integer cUserId; | ||||
| public String getCloudData() { | |||||
| return cloudData; | |||||
| /*大数据相关信息**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="大数据相关信息",name="cloudData") | |||||
| private String cloudData; | |||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | } | ||||
| public void setCloudData(String _cloudData) { | |||||
| cloudData = _cloudData; | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | } | ||||
| public Integer getCUserId() { | public Integer getCUserId() { | ||||
| return cUserId; | return cUserId; | ||||
| @@ -57,14 +62,21 @@ public class WxCUserCloud implements Serializable { | |||||
| public void setCUserId(Integer _cUserId) { | public void setCUserId(Integer _cUserId) { | ||||
| cUserId = _cUserId; | cUserId = _cUserId; | ||||
| } | } | ||||
| public String getCloudData() { | |||||
| return cloudData; | |||||
| } | |||||
| public void setCloudData(String _cloudData) { | |||||
| cloudData = _cloudData; | |||||
| } | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,CloudData_ASC("`cloudData` ASC"),CloudData_DESC("`cloudData` DESC") | |||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| ,CloudData_ASC("`cloudData` ASC"),CloudData_DESC("`cloudData` DESC") | |||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| Field(String value){ | Field(String value){ | ||||
| @@ -13,19 +13,21 @@ public class WxCUserEtcpToken implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,8 +41,11 @@ public class WxCUserEtcpToken implements Serializable { | |||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="cUserId") | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*c端用户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="c端用户ID",name="cUserId") | |||||
| private Integer cUserId; | private Integer cUserId; | ||||
| /*etcp token**/ | /*etcp token**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="etcp token",name="etcpToken") | @io.swagger.annotations.ApiModelProperty(value="etcp token",name="etcpToken") | ||||
| @@ -51,6 +56,12 @@ public class WxCUserEtcpToken implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="etcpUpdateTime") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="etcpUpdateTime") | ||||
| private Date etcpUpdateTime; | private Date etcpUpdateTime; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCUserId() { | public Integer getCUserId() { | ||||
| return cUserId; | return cUserId; | ||||
| } | } | ||||
| @@ -81,6 +92,7 @@ public class WxCUserEtcpToken implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| ,EtcpToken_ASC("`etcpToken` ASC"),EtcpToken_DESC("`etcpToken` DESC") | ,EtcpToken_ASC("`etcpToken` ASC"),EtcpToken_DESC("`etcpToken` DESC") | ||||
| ,EtcpCreateTime_ASC("`etcpCreateTime` ASC"),EtcpCreateTime_DESC("`etcpCreateTime` DESC") | ,EtcpCreateTime_ASC("`etcpCreateTime` ASC"),EtcpCreateTime_DESC("`etcpCreateTime` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxCUserTags implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxCUserTags implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*c端用户id**/ | /*c端用户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="userId") | @io.swagger.annotations.ApiModelProperty(value="c端用户id",name="userId") | ||||
| private Integer userId; | private Integer userId; | ||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="tags") | @io.swagger.annotations.ApiModelProperty(value="",name="tags") | ||||
| private String tags; | private String tags; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getUserId() { | public Integer getUserId() { | ||||
| return userId; | return userId; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxCUserTags implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,UserId_ASC("`userId` ASC"),UserId_DESC("`userId` DESC") | ,UserId_ASC("`userId` ASC"),UserId_DESC("`userId` DESC") | ||||
| ,Tags_ASC("`tags` ASC"),Tags_DESC("`tags` DESC") | ,Tags_ASC("`tags` ASC"),Tags_DESC("`tags` DESC") | ||||
| ; | ; | ||||
| @@ -1,31 +1,33 @@ | |||||
| package com.simple.domain.po; | package com.simple.domain.po; | ||||
| import javax.persistence.*; | import javax.persistence.*; | ||||
| import java.util.*; | |||||
| import java.math.*; | |||||
| import javax.persistence.Transient; | import javax.persistence.Transient; | ||||
| import java.util.List; | import java.util.List; | ||||
| import javax.persistence.Id; | import javax.persistence.Id; | ||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.*; | |||||
| import java.math.*; | |||||
| @Table(name = "wx_coupon") | @Table(name = "wx_coupon") | ||||
| public class WxCoupon implements Serializable { | public class WxCoupon implements Serializable { | ||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,15 +41,18 @@ public class WxCoupon implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*卡券活动id**/ | /*卡券活动id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="卡券活动id",name="activityId") | @io.swagger.annotations.ApiModelProperty(value="卡券活动id",name="activityId") | ||||
| private Integer activityId; | private Integer activityId; | ||||
| /*券类型**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券类型",name="type") | |||||
| private Integer type; | |||||
| /*商户id**/ | /*商户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | ||||
| private Integer merchantId; | private Integer merchantId; | ||||
| /*券类型**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券类型",name="type") | |||||
| private Integer type; | |||||
| /*封面图**/ | /*封面图**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | ||||
| private String coverImg; | private String coverImg; | ||||
| @@ -81,24 +86,30 @@ public class WxCoupon implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getActivityId() { | public Integer getActivityId() { | ||||
| return activityId; | return activityId; | ||||
| } | } | ||||
| public void setActivityId(Integer _activityId) { | public void setActivityId(Integer _activityId) { | ||||
| activityId = _activityId; | activityId = _activityId; | ||||
| } | } | ||||
| public Integer getType() { | |||||
| return type; | |||||
| } | |||||
| public void setType(Integer _type) { | |||||
| type = _type; | |||||
| } | |||||
| public Integer getMerchantId() { | public Integer getMerchantId() { | ||||
| return merchantId; | return merchantId; | ||||
| } | } | ||||
| public void setMerchantId(Integer _merchantId) { | public void setMerchantId(Integer _merchantId) { | ||||
| merchantId = _merchantId; | merchantId = _merchantId; | ||||
| } | } | ||||
| public Integer getType() { | |||||
| return type; | |||||
| } | |||||
| public void setType(Integer _type) { | |||||
| type = _type; | |||||
| } | |||||
| public String getCoverImg() { | public String getCoverImg() { | ||||
| return coverImg; | return coverImg; | ||||
| } | } | ||||
| @@ -171,9 +182,10 @@ public class WxCoupon implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,ActivityId_ASC("`activityId` ASC"),ActivityId_DESC("`activityId` DESC") | ,ActivityId_ASC("`activityId` ASC"),ActivityId_DESC("`activityId` DESC") | ||||
| ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") | |||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") | |||||
| ,CoverImg_ASC("`coverImg` ASC"),CoverImg_DESC("`coverImg` DESC") | ,CoverImg_ASC("`coverImg` ASC"),CoverImg_DESC("`coverImg` DESC") | ||||
| ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ||||
| ,SubTitle_ASC("`subTitle` ASC"),SubTitle_DESC("`subTitle` DESC") | ,SubTitle_ASC("`subTitle` ASC"),SubTitle_DESC("`subTitle` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxCouponActionLog implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,38 +41,38 @@ public class WxCouponActionLog implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*coupon id**/ | /*coupon id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | ||||
| private Integer couponId; | private Integer couponId; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="cUserId") | |||||
| private Integer cUserId; | |||||
| /*b端用户id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="b端用户id",name="bUserId") | |||||
| private Integer bUserId; | |||||
| /*用户id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="用户id",name="userId") | |||||
| private Integer userId; | |||||
| /*优惠券操作(领取、支付,使用,核销等)**/ | /*优惠券操作(领取、支付,使用,核销等)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="优惠券操作(领取、支付,使用,核销等)",name="action") | @io.swagger.annotations.ApiModelProperty(value="优惠券操作(领取、支付,使用,核销等)",name="action") | ||||
| private String action; | private String action; | ||||
| /*操作时间**/ | /*操作时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="操作时间",name="operationTime") | @io.swagger.annotations.ApiModelProperty(value="操作时间",name="operationTime") | ||||
| private Date operationTime; | private Date operationTime; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCouponId() { | public Integer getCouponId() { | ||||
| return couponId; | return couponId; | ||||
| } | } | ||||
| public void setCouponId(Integer _couponId) { | public void setCouponId(Integer _couponId) { | ||||
| couponId = _couponId; | couponId = _couponId; | ||||
| } | } | ||||
| public Integer getCUserId() { | |||||
| return cUserId; | |||||
| } | |||||
| public void setCUserId(Integer _cUserId) { | |||||
| cUserId = _cUserId; | |||||
| } | |||||
| public Integer getBUserId() { | |||||
| return bUserId; | |||||
| public Integer getUserId() { | |||||
| return userId; | |||||
| } | } | ||||
| public void setBUserId(Integer _bUserId) { | |||||
| bUserId = _bUserId; | |||||
| public void setUserId(Integer _userId) { | |||||
| userId = _userId; | |||||
| } | } | ||||
| public String getAction() { | public String getAction() { | ||||
| return action; | return action; | ||||
| @@ -90,9 +92,9 @@ public class WxCouponActionLog implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | |||||
| ,BUserId_ASC("`bUserId` ASC"),BUserId_DESC("`bUserId` DESC") | |||||
| ,UserId_ASC("`userId` ASC"),UserId_DESC("`userId` DESC") | |||||
| ,Action_ASC("`action` ASC"),Action_DESC("`action` DESC") | ,Action_ASC("`action` ASC"),Action_DESC("`action` DESC") | ||||
| ,OperationTime_ASC("`operationTime` ASC"),OperationTime_DESC("`operationTime` DESC") | ,OperationTime_ASC("`operationTime` ASC"),OperationTime_DESC("`operationTime` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxCouponActivity implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,15 @@ public class WxCouponActivity implements Serializable { | |||||
| /*券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)",name="type") | |||||
| private Integer type; | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商户id**/ | /*商户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | ||||
| private Integer merchantId; | private Integer merchantId; | ||||
| /*券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)",name="type") | |||||
| private Integer type; | |||||
| /*封面图**/ | /*封面图**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | ||||
| private String coverImg; | private String coverImg; | ||||
| @@ -102,11 +107,11 @@ public class WxCouponActivity implements Serializable { | |||||
| /*状态(0:草稿,1:待生效,2:已生效,3:已失效,4:已作废)**/ | /*状态(0:草稿,1:待生效,2:已生效,3:已失效,4:已作废)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="状态(0:草稿,1:待生效,2:已生效,3:已失效,4:已作废)",name="status") | @io.swagger.annotations.ApiModelProperty(value="状态(0:草稿,1:待生效,2:已生效,3:已失效,4:已作废)",name="status") | ||||
| private Integer status; | private Integer status; | ||||
| public Integer getType() { | |||||
| return type; | |||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | } | ||||
| public void setType(Integer _type) { | |||||
| type = _type; | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | } | ||||
| public Integer getMerchantId() { | public Integer getMerchantId() { | ||||
| return merchantId; | return merchantId; | ||||
| @@ -114,6 +119,12 @@ public class WxCouponActivity implements Serializable { | |||||
| public void setMerchantId(Integer _merchantId) { | public void setMerchantId(Integer _merchantId) { | ||||
| merchantId = _merchantId; | merchantId = _merchantId; | ||||
| } | } | ||||
| public Integer getType() { | |||||
| return type; | |||||
| } | |||||
| public void setType(Integer _type) { | |||||
| type = _type; | |||||
| } | |||||
| public String getCoverImg() { | public String getCoverImg() { | ||||
| return coverImg; | return coverImg; | ||||
| } | } | ||||
| @@ -234,8 +245,9 @@ public class WxCouponActivity implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") | |||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") | |||||
| ,CoverImg_ASC("`coverImg` ASC"),CoverImg_DESC("`coverImg` DESC") | ,CoverImg_ASC("`coverImg` ASC"),CoverImg_DESC("`coverImg` DESC") | ||||
| ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ||||
| ,SubTitle_ASC("`subTitle` ASC"),SubTitle_DESC("`subTitle` DESC") | ,SubTitle_ASC("`subTitle` ASC"),SubTitle_DESC("`subTitle` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxCouponRecord implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxCouponRecord implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*coupon id**/ | /*coupon id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | ||||
| private Integer couponId; | private Integer couponId; | ||||
| @@ -66,6 +71,12 @@ public class WxCouponRecord implements Serializable { | |||||
| /*核销状态(0:未核销,1:已核销)**/ | /*核销状态(0:未核销,1:已核销)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="核销状态(0:未核销,1:已核销)",name="verificationStatus") | @io.swagger.annotations.ApiModelProperty(value="核销状态(0:未核销,1:已核销)",name="verificationStatus") | ||||
| private Integer verificationStatus; | private Integer verificationStatus; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCouponId() { | public Integer getCouponId() { | ||||
| return couponId; | return couponId; | ||||
| } | } | ||||
| @@ -126,6 +137,7 @@ public class WxCouponRecord implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ||||
| ,OrderId_ASC("`orderId` ASC"),OrderId_DESC("`orderId` DESC") | ,OrderId_ASC("`orderId` ASC"),OrderId_DESC("`orderId` DESC") | ||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxCouponType implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpCouponRecord implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxEtcpCouponRecord implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*coupon id**/ | /*coupon id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | @io.swagger.annotations.ApiModelProperty(value="coupon id",name="couponId") | ||||
| private Integer couponId; | private Integer couponId; | ||||
| @@ -66,6 +71,12 @@ public class WxEtcpCouponRecord implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCouponId() { | public Integer getCouponId() { | ||||
| return couponId; | return couponId; | ||||
| } | } | ||||
| @@ -126,6 +137,7 @@ public class WxEtcpCouponRecord implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ||||
| ,CarNumber_ASC("`carNumber` ASC"),CarNumber_DESC("`carNumber` DESC") | ,CarNumber_ASC("`carNumber` ASC"),CarNumber_DESC("`carNumber` DESC") | ||||
| ,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC") | ,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkDissolution implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,9 +41,18 @@ public class WxEtcpParkDissolution implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /* 签约号**/ | /* 签约号**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value=" 签约号",name="signNo") | @io.swagger.annotations.ApiModelProperty(value=" 签约号",name="signNo") | ||||
| private String signNo; | private String signNo; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getSignNo() { | public String getSignNo() { | ||||
| return signNo; | return signNo; | ||||
| } | } | ||||
| @@ -54,6 +65,7 @@ public class WxEtcpParkDissolution implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,SignNo_ASC("`signNo` ASC"),SignNo_DESC("`signNo` DESC") | ,SignNo_ASC("`signNo` ASC"),SignNo_DESC("`signNo` DESC") | ||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkIn implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxEtcpParkIn implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="synId") | @io.swagger.annotations.ApiModelProperty(value="",name="synId") | ||||
| private String synId; | private String synId; | ||||
| @@ -48,6 +53,12 @@ public class WxEtcpParkIn implements Serializable { | |||||
| /*车场名称**/ | /*车场名称**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="车场名称",name="parkName") | @io.swagger.annotations.ApiModelProperty(value="车场名称",name="parkName") | ||||
| private String parkName; | private String parkName; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getSynId() { | public String getSynId() { | ||||
| return synId; | return synId; | ||||
| } | } | ||||
| @@ -72,6 +83,7 @@ public class WxEtcpParkIn implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ||||
| ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ||||
| ,ParkName_ASC("`parkName` ASC"),ParkName_DESC("`parkName` DESC") | ,ParkName_ASC("`parkName` ASC"),ParkName_DESC("`parkName` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkMsgSuc implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,9 +41,18 @@ public class WxEtcpParkMsgSuc implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*签约号**/ | /*签约号**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="签约号",name="signNo") | @io.swagger.annotations.ApiModelProperty(value="签约号",name="signNo") | ||||
| private String signNo; | private String signNo; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getSignNo() { | public String getSignNo() { | ||||
| return signNo; | return signNo; | ||||
| } | } | ||||
| @@ -54,6 +65,7 @@ public class WxEtcpParkMsgSuc implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,SignNo_ASC("`signNo` ASC"),SignNo_DESC("`signNo` DESC") | ,SignNo_ASC("`signNo` ASC"),SignNo_DESC("`signNo` DESC") | ||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkOrderunpay implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxEtcpParkOrderunpay implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*车牌号**/ | /*车牌号**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="车牌号",name="plateNumber") | @io.swagger.annotations.ApiModelProperty(value="车牌号",name="plateNumber") | ||||
| private String plateNumber; | private String plateNumber; | ||||
| @@ -93,6 +98,12 @@ public class WxEtcpParkOrderunpay implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getPlateNumber() { | public String getPlateNumber() { | ||||
| return plateNumber; | return plateNumber; | ||||
| } | } | ||||
| @@ -207,6 +218,7 @@ public class WxEtcpParkOrderunpay implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ||||
| ,Code_ASC("`code` ASC"),Code_DESC("`code` DESC") | ,Code_ASC("`code` ASC"),Code_DESC("`code` DESC") | ||||
| ,Message_ASC("`message` ASC"),Message_DESC("`message` DESC") | ,Message_ASC("`message` ASC"),Message_DESC("`message` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkOut implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,15 +41,24 @@ public class WxEtcpParkOut implements Serializable { | |||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="synId") | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*ETCP订单ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="ETCP订单ID",name="synId") | |||||
| private String synId; | private String synId; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="plateNumber") | |||||
| /*车牌号**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="车牌号",name="plateNumber") | |||||
| private String plateNumber; | private String plateNumber; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="parkName") | |||||
| /*车场名**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="车场名",name="parkName") | |||||
| private String parkName; | private String parkName; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getSynId() { | public String getSynId() { | ||||
| return synId; | return synId; | ||||
| } | } | ||||
| @@ -72,6 +83,7 @@ public class WxEtcpParkOut implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ||||
| ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ||||
| ,ParkName_ASC("`parkName` ASC"),ParkName_DESC("`parkName` DESC") | ,ParkName_ASC("`parkName` ASC"),ParkName_DESC("`parkName` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkTransaction implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxEtcpParkTransaction implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)**/ | /*支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)",name="payType") | @io.swagger.annotations.ApiModelProperty(value="支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)",name="payType") | ||||
| private Integer payType; | private Integer payType; | ||||
| @@ -48,14 +53,14 @@ public class WxEtcpParkTransaction implements Serializable { | |||||
| /*支付完成后跳转地址 ,支付方 式为 1,2,5 时候需要**/ | /*支付完成后跳转地址 ,支付方 式为 1,2,5 时候需要**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="支付完成后跳转地址 ,支付方 式为 1,2,5 时候需要",name="returnUrl") | @io.swagger.annotations.ApiModelProperty(value="支付完成后跳转地址 ,支付方 式为 1,2,5 时候需要",name="returnUrl") | ||||
| private String returnUrl; | private String returnUrl; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="couponCode") | |||||
| /*优惠券code**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="优惠券code",name="couponCode") | |||||
| private String couponCode; | private String couponCode; | ||||
| /*停车费查询code**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="停车费查询code",name="code") | |||||
| /*停车费查询结果code**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="停车费查询结果code",name="code") | |||||
| private Integer code; | private Integer code; | ||||
| /*停车费查询message**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="停车费查询message",name="message") | |||||
| /*停车费查询结果message**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="停车费查询结果message",name="message") | |||||
| private String message; | private String message; | ||||
| /*停车费查询data**/ | /*停车费查询data**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="停车费查询data",name="data") | @io.swagger.annotations.ApiModelProperty(value="停车费查询data",name="data") | ||||
| @@ -69,6 +74,12 @@ public class WxEtcpParkTransaction implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getPayType() { | public Integer getPayType() { | ||||
| return payType; | return payType; | ||||
| } | } | ||||
| @@ -135,6 +146,7 @@ public class WxEtcpParkTransaction implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,PayType_ASC("`payType` ASC"),PayType_DESC("`payType` DESC") | ,PayType_ASC("`payType` ASC"),PayType_DESC("`payType` DESC") | ||||
| ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ,SynId_ASC("`synId` ASC"),SynId_DESC("`synId` DESC") | ||||
| ,ReturnUrl_ASC("`returnUrl` ASC"),ReturnUrl_DESC("`returnUrl` DESC") | ,ReturnUrl_ASC("`returnUrl` ASC"),ReturnUrl_DESC("`returnUrl` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxEtcpParkUnbind implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,9 +41,18 @@ public class WxEtcpParkUnbind implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*车牌号**/ | /*车牌号**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="车牌号",name="plateNumber") | @io.swagger.annotations.ApiModelProperty(value="车牌号",name="plateNumber") | ||||
| private String plateNumber; | private String plateNumber; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getPlateNumber() { | public String getPlateNumber() { | ||||
| return plateNumber; | return plateNumber; | ||||
| } | } | ||||
| @@ -54,6 +65,7 @@ public class WxEtcpParkUnbind implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ,PlateNumber_ASC("`plateNumber` ASC"),PlateNumber_DESC("`plateNumber` DESC") | ||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| @@ -13,19 +13,21 @@ public class WxFlashSale implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,8 +41,11 @@ public class WxFlashSale implements Serializable { | |||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="activityId") | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*优惠券活动ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="优惠券活动ID",name="activityId") | |||||
| private Integer activityId; | private Integer activityId; | ||||
| /*创建时间**/ | /*创建时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime") | @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime") | ||||
| @@ -51,6 +56,12 @@ public class WxFlashSale implements Serializable { | |||||
| /*状态 1启用 2停用**/ | /*状态 1启用 2停用**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="状态 1启用 2停用",name="isEnable") | @io.swagger.annotations.ApiModelProperty(value="状态 1启用 2停用",name="isEnable") | ||||
| private Integer isEnable; | private Integer isEnable; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getActivityId() { | public Integer getActivityId() { | ||||
| return activityId; | return activityId; | ||||
| } | } | ||||
| @@ -81,6 +92,7 @@ public class WxFlashSale implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,ActivityId_ASC("`activityId` ASC"),ActivityId_DESC("`activityId` DESC") | ,ActivityId_ASC("`activityId` ASC"),ActivityId_DESC("`activityId` DESC") | ||||
| ,Createtime_ASC("`createtime` ASC"),Createtime_DESC("`createtime` DESC") | ,Createtime_ASC("`createtime` ASC"),Createtime_DESC("`createtime` DESC") | ||||
| ,Uptime_ASC("`uptime` ASC"),Uptime_DESC("`uptime` DESC") | ,Uptime_ASC("`uptime` ASC"),Uptime_DESC("`uptime` DESC") | ||||
| @@ -0,0 +1,121 @@ | |||||
| 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 java.io.Serializable; | |||||
| @Table(name = "wx_img_url") | |||||
| public class WxImgUrl implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | |||||
| @Id | |||||
| protected Long id; | |||||
| @Transient | |||||
| protected List<String> ids; | |||||
| @Transient | |||||
| protected String sortColumns; | |||||
| public Long getId() { | |||||
| return id; | |||||
| } | |||||
| public void setId(Long id) { | |||||
| this.id = id; | |||||
| } | |||||
| public String getSortColumns() { | |||||
| return sortColumns; | |||||
| } | |||||
| public List<String> getIds() { | |||||
| return ids; | |||||
| } | |||||
| public void setIds(List<String> ids) { | |||||
| this.ids = ids; | |||||
| } | |||||
| /*华冠轮播图图片地址**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="华冠轮播图图片地址",name="address") | |||||
| private String address; | |||||
| /*跳转路径标志**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="跳转路径标志",name="sign") | |||||
| private String sign; | |||||
| public String getAddress() { | |||||
| return address; | |||||
| } | |||||
| public void setAddress(String _address) { | |||||
| address = _address; | |||||
| } | |||||
| public String getSign() { | |||||
| return sign; | |||||
| } | |||||
| public void setSign(String _sign) { | |||||
| sign = _sign; | |||||
| } | |||||
| public static enum Field | |||||
| { | |||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | |||||
| ,Address_ASC("`address` ASC"),Address_DESC("`address` DESC") | |||||
| ,Sign_ASC("`sign` ASC"),Sign_DESC("`sign` DESC") | |||||
| ; | |||||
| private String value; | |||||
| Field(String value){ | |||||
| this.value = value; | |||||
| } | |||||
| public String getValue() { | |||||
| return value; | |||||
| } | |||||
| public void setCol(String value) { | |||||
| this.value = value; | |||||
| } | |||||
| @Override | |||||
| public String toString() { | |||||
| return this.getValue(); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(WxImgUrl.Field... fields) | |||||
| { | |||||
| if (fields == null || fields.length == 0) { | |||||
| return; | |||||
| } | |||||
| for (int k = 0; k < fields.length; k++) { | |||||
| if (fields[k] == null) { | |||||
| return; | |||||
| } | |||||
| } | |||||
| StringBuilder sb = new StringBuilder(fields[0].toString()); | |||||
| for (int k = 1; k < fields.length; k++) { | |||||
| sb.append(","); | |||||
| sb.append(fields[k].toString()); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(String sortColumns) | |||||
| { | |||||
| if (sortColumns == null || "".equals(sortColumns.trim())) { | |||||
| return; | |||||
| } | |||||
| if (sortColumns.contains(",")) { | |||||
| String[] cols = sortColumns.split(","); | |||||
| java.util.List<Field> fList = new java.util.ArrayList(); | |||||
| for (int k = 0; k < cols.length; k++) { | |||||
| fList.add(Field.valueOf(cols[k])); | |||||
| } | |||||
| this.setSortColumns(fList.toArray(new Field[fList.size()])); | |||||
| } else { | |||||
| this.setSortColumns(Field.valueOf(sortColumns)); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -13,19 +13,21 @@ public class WxMall implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,11 +41,14 @@ public class WxMall implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商场名**/ | /*商场名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商场名",name="name") | @io.swagger.annotations.ApiModelProperty(value="商场名",name="name") | ||||
| private String name; | private String name; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="group") | |||||
| /*集团**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="集团",name="group") | |||||
| private String group; | private String group; | ||||
| /*国家**/ | /*国家**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="国家",name="country") | @io.swagger.annotations.ApiModelProperty(value="国家",name="country") | ||||
| @@ -60,9 +65,6 @@ public class WxMall implements Serializable { | |||||
| /*迈外迪id**/ | /*迈外迪id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="迈外迪id",name="wiwideId") | @io.swagger.annotations.ApiModelProperty(value="迈外迪id",name="wiwideId") | ||||
| private String wiwideId; | private String wiwideId; | ||||
| /*etcp 车场id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="etcp 车场id",name="etcpId") | |||||
| private String etcpId; | |||||
| /*总面积**/ | /*总面积**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="总面积",name="totalArea") | @io.swagger.annotations.ApiModelProperty(value="总面积",name="totalArea") | ||||
| private BigDecimal totalArea; | private BigDecimal totalArea; | ||||
| @@ -75,6 +77,12 @@ public class WxMall implements Serializable { | |||||
| /*车位数**/ | /*车位数**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="车位数",name="parkPlaceNumber") | @io.swagger.annotations.ApiModelProperty(value="车位数",name="parkPlaceNumber") | ||||
| private Integer parkPlaceNumber; | private Integer parkPlaceNumber; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getName() { | public String getName() { | ||||
| return name; | return name; | ||||
| } | } | ||||
| @@ -117,12 +125,6 @@ public class WxMall implements Serializable { | |||||
| public void setWiwideId(String _wiwideId) { | public void setWiwideId(String _wiwideId) { | ||||
| wiwideId = _wiwideId; | wiwideId = _wiwideId; | ||||
| } | } | ||||
| public String getEtcpId() { | |||||
| return etcpId; | |||||
| } | |||||
| public void setEtcpId(String _etcpId) { | |||||
| etcpId = _etcpId; | |||||
| } | |||||
| public BigDecimal getTotalArea() { | public BigDecimal getTotalArea() { | ||||
| return totalArea; | return totalArea; | ||||
| } | } | ||||
| @@ -153,6 +155,7 @@ public class WxMall implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,Group_ASC("`group` ASC"),Group_DESC("`group` DESC") | ,Group_ASC("`group` ASC"),Group_DESC("`group` DESC") | ||||
| ,Country_ASC("`country` ASC"),Country_DESC("`country` DESC") | ,Country_ASC("`country` ASC"),Country_DESC("`country` DESC") | ||||
| @@ -160,7 +163,6 @@ public class WxMall implements Serializable { | |||||
| ,City_ASC("`city` ASC"),City_DESC("`city` DESC") | ,City_ASC("`city` ASC"),City_DESC("`city` DESC") | ||||
| ,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC") | ,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC") | ||||
| ,WiwideId_ASC("`wiwideId` ASC"),WiwideId_DESC("`wiwideId` DESC") | ,WiwideId_ASC("`wiwideId` ASC"),WiwideId_DESC("`wiwideId` DESC") | ||||
| ,EtcpId_ASC("`etcpId` ASC"),EtcpId_DESC("`etcpId` DESC") | |||||
| ,TotalArea_ASC("`totalArea` ASC"),TotalArea_DESC("`totalArea` DESC") | ,TotalArea_ASC("`totalArea` ASC"),TotalArea_DESC("`totalArea` DESC") | ||||
| ,OperatingArea_ASC("`operatingArea` ASC"),OperatingArea_DESC("`operatingArea` DESC") | ,OperatingArea_ASC("`operatingArea` ASC"),OperatingArea_DESC("`operatingArea` DESC") | ||||
| ,ParkArea_ASC("`parkArea` ASC"),ParkArea_DESC("`parkArea` DESC") | ,ParkArea_ASC("`parkArea` ASC"),ParkArea_DESC("`parkArea` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMallBuilding implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,8 +41,11 @@ public class WxMallBuilding implements Serializable { | |||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="mallId") | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商场id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="商场id",name="mallId") | |||||
| private Integer mallId; | private Integer mallId; | ||||
| /*楼座名**/ | /*楼座名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="楼座名",name="name") | @io.swagger.annotations.ApiModelProperty(value="楼座名",name="name") | ||||
| @@ -48,6 +53,12 @@ public class WxMallBuilding implements Serializable { | |||||
| /*楼层数**/ | /*楼层数**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="楼层数",name="floorNumber") | @io.swagger.annotations.ApiModelProperty(value="楼层数",name="floorNumber") | ||||
| private Integer floorNumber; | private Integer floorNumber; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getMallId() { | public Integer getMallId() { | ||||
| return mallId; | return mallId; | ||||
| } | } | ||||
| @@ -72,6 +83,7 @@ public class WxMallBuilding implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,MallId_ASC("`mallId` ASC"),MallId_DESC("`mallId` DESC") | ,MallId_ASC("`mallId` ASC"),MallId_DESC("`mallId` DESC") | ||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,FloorNumber_ASC("`floorNumber` ASC"),FloorNumber_DESC("`floorNumber` DESC") | ,FloorNumber_ASC("`floorNumber` ASC"),FloorNumber_DESC("`floorNumber` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMallFloor implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,15 +41,24 @@ public class WxMallFloor implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商场id**/ | /*商场id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商场id",name="mallId") | @io.swagger.annotations.ApiModelProperty(value="商场id",name="mallId") | ||||
| private Integer mallId; | private Integer mallId; | ||||
| /*楼座id**/ | /*楼座id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="楼座id",name="buildingId") | @io.swagger.annotations.ApiModelProperty(value="楼座id",name="buildingId") | ||||
| private Integer buildingId; | private Integer buildingId; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="floorName") | |||||
| /*楼层名**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="楼层名",name="floorName") | |||||
| private String floorName; | private String floorName; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getMallId() { | public Integer getMallId() { | ||||
| return mallId; | return mallId; | ||||
| } | } | ||||
| @@ -72,6 +83,7 @@ public class WxMallFloor implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,MallId_ASC("`mallId` ASC"),MallId_DESC("`mallId` DESC") | ,MallId_ASC("`mallId` ASC"),MallId_DESC("`mallId` DESC") | ||||
| ,BuildingId_ASC("`buildingId` ASC"),BuildingId_DESC("`buildingId` DESC") | ,BuildingId_ASC("`buildingId` ASC"),BuildingId_DESC("`buildingId` DESC") | ||||
| ,FloorName_ASC("`floorName` ASC"),FloorName_DESC("`floorName` DESC") | ,FloorName_ASC("`floorName` ASC"),FloorName_DESC("`floorName` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMerchant implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxMerchant implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商户图片**/ | /*商户图片**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户图片",name="imgUrl") | @io.swagger.annotations.ApiModelProperty(value="商户图片",name="imgUrl") | ||||
| private String imgUrl; | private String imgUrl; | ||||
| @@ -57,9 +62,12 @@ public class WxMerchant implements Serializable { | |||||
| /*商户id**/ | /*商户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | ||||
| private String merchantId; | private String merchantId; | ||||
| /*etcp 商户号**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="etcp 商户号",name="etcpMerchantId") | |||||
| private String etcpMerchantId; | |||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getImgUrl() { | public String getImgUrl() { | ||||
| return imgUrl; | return imgUrl; | ||||
| } | } | ||||
| @@ -96,25 +104,19 @@ public class WxMerchant implements Serializable { | |||||
| public void setMerchantId(String _merchantId) { | public void setMerchantId(String _merchantId) { | ||||
| merchantId = _merchantId; | merchantId = _merchantId; | ||||
| } | } | ||||
| public String getEtcpMerchantId() { | |||||
| return etcpMerchantId; | |||||
| } | |||||
| public void setEtcpMerchantId(String _etcpMerchantId) { | |||||
| etcpMerchantId = _etcpMerchantId; | |||||
| } | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,ImgUrl_ASC("`imgUrl` ASC"),ImgUrl_DESC("`imgUrl` DESC") | ,ImgUrl_ASC("`imgUrl` ASC"),ImgUrl_DESC("`imgUrl` DESC") | ||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,LinkPhone_ASC("`linkPhone` ASC"),LinkPhone_DESC("`linkPhone` DESC") | ,LinkPhone_ASC("`linkPhone` ASC"),LinkPhone_DESC("`linkPhone` DESC") | ||||
| ,BankCard_ASC("`bankCard` ASC"),BankCard_DESC("`bankCard` DESC") | ,BankCard_ASC("`bankCard` ASC"),BankCard_DESC("`bankCard` DESC") | ||||
| ,BankName_ASC("`bankName` ASC"),BankName_DESC("`bankName` DESC") | ,BankName_ASC("`bankName` ASC"),BankName_DESC("`bankName` DESC") | ||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ,EtcpMerchantId_ASC("`etcpMerchantId` ASC"),EtcpMerchantId_DESC("`etcpMerchantId` DESC") | |||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| Field(String value){ | Field(String value){ | ||||
| @@ -0,0 +1,121 @@ | |||||
| 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 java.io.Serializable; | |||||
| @Table(name = "wx_merchant_etcp") | |||||
| public class WxMerchantEtcp implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | |||||
| @Id | |||||
| protected Long id; | |||||
| @Transient | |||||
| protected List<String> ids; | |||||
| @Transient | |||||
| protected String sortColumns; | |||||
| public Long getId() { | |||||
| return id; | |||||
| } | |||||
| public void setId(Long id) { | |||||
| this.id = id; | |||||
| } | |||||
| public String getSortColumns() { | |||||
| return sortColumns; | |||||
| } | |||||
| public List<String> getIds() { | |||||
| return ids; | |||||
| } | |||||
| public void setIds(List<String> ids) { | |||||
| this.ids = ids; | |||||
| } | |||||
| /*商户号**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="商户号",name="merchantId") | |||||
| private Integer merchantId; | |||||
| /*etcp 商户号**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="etcp 商户号",name="etcpMerchantId") | |||||
| private String etcpMerchantId; | |||||
| public Integer getMerchantId() { | |||||
| return merchantId; | |||||
| } | |||||
| public void setMerchantId(Integer _merchantId) { | |||||
| merchantId = _merchantId; | |||||
| } | |||||
| public String getEtcpMerchantId() { | |||||
| return etcpMerchantId; | |||||
| } | |||||
| public void setEtcpMerchantId(String _etcpMerchantId) { | |||||
| etcpMerchantId = _etcpMerchantId; | |||||
| } | |||||
| public static enum Field | |||||
| { | |||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | |||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | |||||
| ,EtcpMerchantId_ASC("`etcpMerchantId` ASC"),EtcpMerchantId_DESC("`etcpMerchantId` DESC") | |||||
| ; | |||||
| private String value; | |||||
| Field(String value){ | |||||
| this.value = value; | |||||
| } | |||||
| public String getValue() { | |||||
| return value; | |||||
| } | |||||
| public void setCol(String value) { | |||||
| this.value = value; | |||||
| } | |||||
| @Override | |||||
| public String toString() { | |||||
| return this.getValue(); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(WxMerchantEtcp.Field... fields) | |||||
| { | |||||
| if (fields == null || fields.length == 0) { | |||||
| return; | |||||
| } | |||||
| for (int k = 0; k < fields.length; k++) { | |||||
| if (fields[k] == null) { | |||||
| return; | |||||
| } | |||||
| } | |||||
| StringBuilder sb = new StringBuilder(fields[0].toString()); | |||||
| for (int k = 1; k < fields.length; k++) { | |||||
| sb.append(","); | |||||
| sb.append(fields[k].toString()); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(String sortColumns) | |||||
| { | |||||
| if (sortColumns == null || "".equals(sortColumns.trim())) { | |||||
| return; | |||||
| } | |||||
| if (sortColumns.contains(",")) { | |||||
| String[] cols = sortColumns.split(","); | |||||
| java.util.List<Field> fList = new java.util.ArrayList(); | |||||
| for (int k = 0; k < cols.length; k++) { | |||||
| fList.add(Field.valueOf(cols[k])); | |||||
| } | |||||
| this.setSortColumns(fList.toArray(new Field[fList.size()])); | |||||
| } else { | |||||
| this.setSortColumns(Field.valueOf(sortColumns)); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -13,19 +13,21 @@ public class WxMerchantShop implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxMerchantShop implements Serializable { | |||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="merchantId") | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="商户ID",name="merchantId") | |||||
| private Integer merchantId; | private Integer merchantId; | ||||
| /***/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="shopId") | |||||
| /*商铺ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="商铺ID",name="shopId") | |||||
| private Integer shopId; | private Integer shopId; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getMerchantId() { | public Integer getMerchantId() { | ||||
| return merchantId; | return merchantId; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxMerchantShop implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ,ShopId_ASC("`shopId` ASC"),ShopId_DESC("`shopId` DESC") | ,ShopId_ASC("`shopId` ASC"),ShopId_DESC("`shopId` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxMerchantTradeDays implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxMerchantTradeDays implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商户id**/ | /*商户id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | @io.swagger.annotations.ApiModelProperty(value="商户id",name="merchantId") | ||||
| private Integer merchantId; | private Integer merchantId; | ||||
| @@ -48,6 +53,12 @@ public class WxMerchantTradeDays implements Serializable { | |||||
| /*解单日期**/ | /*解单日期**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="解单日期",name="createDate") | @io.swagger.annotations.ApiModelProperty(value="解单日期",name="createDate") | ||||
| private Date createDate; | private Date createDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getMerchantId() { | public Integer getMerchantId() { | ||||
| return merchantId; | return merchantId; | ||||
| } | } | ||||
| @@ -72,6 +83,7 @@ public class WxMerchantTradeDays implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") | ||||
| ,TradeAmt_ASC("`tradeAmt` ASC"),TradeAmt_DESC("`tradeAmt` DESC") | ,TradeAmt_ASC("`tradeAmt` ASC"),TradeAmt_DESC("`tradeAmt` DESC") | ||||
| ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMsg implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxMsg implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*模板id**/ | /*模板id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="模板id",name="modelId") | @io.swagger.annotations.ApiModelProperty(value="模板id",name="modelId") | ||||
| private Integer modelId; | private Integer modelId; | ||||
| @@ -66,6 +71,12 @@ public class WxMsg implements Serializable { | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="phones") | @io.swagger.annotations.ApiModelProperty(value="",name="phones") | ||||
| private String phones; | private String phones; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getModelId() { | public Integer getModelId() { | ||||
| return modelId; | return modelId; | ||||
| } | } | ||||
| @@ -126,6 +137,7 @@ public class WxMsg implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,ModelId_ASC("`modelId` ASC"),ModelId_DESC("`modelId` DESC") | ,ModelId_ASC("`modelId` ASC"),ModelId_DESC("`modelId` DESC") | ||||
| ,Msg_ASC("`msg` ASC"),Msg_DESC("`msg` DESC") | ,Msg_ASC("`msg` ASC"),Msg_DESC("`msg` DESC") | ||||
| ,Sendtime_ASC("`sendtime` ASC"),Sendtime_DESC("`sendtime` DESC") | ,Sendtime_ASC("`sendtime` ASC"),Sendtime_DESC("`sendtime` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMsgConfig implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxMsgConfig implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="secret") | @io.swagger.annotations.ApiModelProperty(value="",name="secret") | ||||
| private String secret; | private String secret; | ||||
| @@ -69,6 +74,12 @@ public class WxMsgConfig implements Serializable { | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="phone") | @io.swagger.annotations.ApiModelProperty(value="",name="phone") | ||||
| private String phone; | private String phone; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getSecret() { | public String getSecret() { | ||||
| return secret; | return secret; | ||||
| } | } | ||||
| @@ -135,6 +146,7 @@ public class WxMsgConfig implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Secret_ASC("`secret` ASC"),Secret_DESC("`secret` DESC") | ,Secret_ASC("`secret` ASC"),Secret_DESC("`secret` DESC") | ||||
| ,Publickey_ASC("`publickey` ASC"),Publickey_DESC("`publickey` DESC") | ,Publickey_ASC("`publickey` ASC"),Publickey_DESC("`publickey` DESC") | ||||
| ,Bid_ASC("`bid` ASC"),Bid_DESC("`bid` DESC") | ,Bid_ASC("`bid` ASC"),Bid_DESC("`bid` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMsgModel implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxMsgModel implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*名称**/ | /*名称**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="名称",name="name") | @io.swagger.annotations.ApiModelProperty(value="名称",name="name") | ||||
| private String name; | private String name; | ||||
| @@ -54,6 +59,12 @@ public class WxMsgModel implements Serializable { | |||||
| /*审核状态 0未通过 1 通过 2审核中**/ | /*审核状态 0未通过 1 通过 2审核中**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="审核状态 0未通过 1 通过 2审核中",name="status") | @io.swagger.annotations.ApiModelProperty(value="审核状态 0未通过 1 通过 2审核中",name="status") | ||||
| private Integer status; | private Integer status; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getName() { | public String getName() { | ||||
| return name; | return name; | ||||
| } | } | ||||
| @@ -90,6 +101,7 @@ public class WxMsgModel implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,Signature_ASC("`signature` ASC"),Signature_DESC("`signature` DESC") | ,Signature_ASC("`signature` ASC"),Signature_DESC("`signature` DESC") | ||||
| ,Content_ASC("`content` ASC"),Content_DESC("`content` DESC") | ,Content_ASC("`content` ASC"),Content_DESC("`content` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxMsgSignature implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxMsgSignature implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*签名**/ | /*签名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="签名",name="name") | @io.swagger.annotations.ApiModelProperty(value="签名",name="name") | ||||
| private String name; | private String name; | ||||
| /*创建时间**/ | /*创建时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime") | @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime") | ||||
| private Date createtime; | private Date createtime; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getName() { | public String getName() { | ||||
| return name; | return name; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxMsgSignature implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,Createtime_ASC("`createtime` ASC"),Createtime_DESC("`createtime` DESC") | ,Createtime_ASC("`createtime` ASC"),Createtime_DESC("`createtime` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxOrders implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxOrders implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*卡券活动id**/ | /*卡券活动id**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="卡券活动id",name="couponId") | @io.swagger.annotations.ApiModelProperty(value="卡券活动id",name="couponId") | ||||
| private Integer couponId; | private Integer couponId; | ||||
| @@ -57,6 +62,12 @@ public class WxOrders implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCouponId() { | public Integer getCouponId() { | ||||
| return couponId; | return couponId; | ||||
| } | } | ||||
| @@ -99,6 +110,7 @@ public class WxOrders implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ,CouponId_ASC("`couponId` ASC"),CouponId_DESC("`couponId` DESC") | ||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| ,Payment_ASC("`payment` ASC"),Payment_DESC("`payment` DESC") | ,Payment_ASC("`payment` ASC"),Payment_DESC("`payment` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxPark implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxPark implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*停车场地址**/ | /*停车场地址**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="停车场地址",name="addr") | @io.swagger.annotations.ApiModelProperty(value="停车场地址",name="addr") | ||||
| private String addr; | private String addr; | ||||
| @@ -51,6 +56,12 @@ public class WxPark implements Serializable { | |||||
| /*出入口数量**/ | /*出入口数量**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="出入口数量",name="entryExit") | @io.swagger.annotations.ApiModelProperty(value="出入口数量",name="entryExit") | ||||
| private Integer entryExit; | private Integer entryExit; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getAddr() { | public String getAddr() { | ||||
| return addr; | return addr; | ||||
| } | } | ||||
| @@ -81,6 +92,7 @@ public class WxPark implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC") | ,Addr_ASC("`addr` ASC"),Addr_DESC("`addr` DESC") | ||||
| ,Number_ASC("`number` ASC"),Number_DESC("`number` DESC") | ,Number_ASC("`number` ASC"),Number_DESC("`number` DESC") | ||||
| ,EtcpParkId_ASC("`etcpParkId` ASC"),EtcpParkId_DESC("`etcpParkId` DESC") | ,EtcpParkId_ASC("`etcpParkId` ASC"),EtcpParkId_DESC("`etcpParkId` DESC") | ||||
| @@ -0,0 +1,121 @@ | |||||
| 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 java.io.Serializable; | |||||
| @Table(name = "wx_park_etcp") | |||||
| public class WxParkEtcp implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | |||||
| @Id | |||||
| protected Long id; | |||||
| @Transient | |||||
| protected List<String> ids; | |||||
| @Transient | |||||
| protected String sortColumns; | |||||
| public Long getId() { | |||||
| return id; | |||||
| } | |||||
| public void setId(Long id) { | |||||
| this.id = id; | |||||
| } | |||||
| public String getSortColumns() { | |||||
| return sortColumns; | |||||
| } | |||||
| public List<String> getIds() { | |||||
| return ids; | |||||
| } | |||||
| public void setIds(List<String> ids) { | |||||
| this.ids = ids; | |||||
| } | |||||
| /*停车场id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="停车场id",name="parkId") | |||||
| private Integer parkId; | |||||
| /*etcp停车场id**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="etcp停车场id",name="etcpParkId") | |||||
| private String etcpParkId; | |||||
| public Integer getParkId() { | |||||
| return parkId; | |||||
| } | |||||
| public void setParkId(Integer _parkId) { | |||||
| parkId = _parkId; | |||||
| } | |||||
| public String getEtcpParkId() { | |||||
| return etcpParkId; | |||||
| } | |||||
| public void setEtcpParkId(String _etcpParkId) { | |||||
| etcpParkId = _etcpParkId; | |||||
| } | |||||
| public static enum Field | |||||
| { | |||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | |||||
| ,ParkId_ASC("`parkId` ASC"),ParkId_DESC("`parkId` DESC") | |||||
| ,EtcpParkId_ASC("`etcpParkId` ASC"),EtcpParkId_DESC("`etcpParkId` DESC") | |||||
| ; | |||||
| private String value; | |||||
| Field(String value){ | |||||
| this.value = value; | |||||
| } | |||||
| public String getValue() { | |||||
| return value; | |||||
| } | |||||
| public void setCol(String value) { | |||||
| this.value = value; | |||||
| } | |||||
| @Override | |||||
| public String toString() { | |||||
| return this.getValue(); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(WxParkEtcp.Field... fields) | |||||
| { | |||||
| if (fields == null || fields.length == 0) { | |||||
| return; | |||||
| } | |||||
| for (int k = 0; k < fields.length; k++) { | |||||
| if (fields[k] == null) { | |||||
| return; | |||||
| } | |||||
| } | |||||
| StringBuilder sb = new StringBuilder(fields[0].toString()); | |||||
| for (int k = 1; k < fields.length; k++) { | |||||
| sb.append(","); | |||||
| sb.append(fields[k].toString()); | |||||
| } | |||||
| } | |||||
| public void setSortColumns(String sortColumns) | |||||
| { | |||||
| if (sortColumns == null || "".equals(sortColumns.trim())) { | |||||
| return; | |||||
| } | |||||
| if (sortColumns.contains(",")) { | |||||
| String[] cols = sortColumns.split(","); | |||||
| java.util.List<Field> fList = new java.util.ArrayList(); | |||||
| for (int k = 0; k < cols.length; k++) { | |||||
| fList.add(Field.valueOf(cols[k])); | |||||
| } | |||||
| this.setSortColumns(fList.toArray(new Field[fList.size()])); | |||||
| } else { | |||||
| this.setSortColumns(Field.valueOf(sortColumns)); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -13,19 +13,21 @@ public class WxScoreHistory implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxScoreHistory implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*会员ID**/ | /*会员ID**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="会员ID",name="cUserId") | @io.swagger.annotations.ApiModelProperty(value="会员ID",name="cUserId") | ||||
| private Integer cUserId; | private Integer cUserId; | ||||
| @@ -60,6 +65,12 @@ public class WxScoreHistory implements Serializable { | |||||
| /*积分**/ | /*积分**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="积分",name="scoreAmount") | @io.swagger.annotations.ApiModelProperty(value="积分",name="scoreAmount") | ||||
| private Integer scoreAmount; | private Integer scoreAmount; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public Integer getCUserId() { | public Integer getCUserId() { | ||||
| return cUserId; | return cUserId; | ||||
| } | } | ||||
| @@ -108,6 +119,7 @@ public class WxScoreHistory implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ,CUserId_ASC("`cUserId` ASC"),CUserId_DESC("`cUserId` DESC") | ||||
| ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ||||
| ,ValidDate_ASC("`validDate` ASC"),ValidDate_DESC("`validDate` DESC") | ,ValidDate_ASC("`validDate` ASC"),ValidDate_DESC("`validDate` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxScoreRules implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxScoreRules implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*消费金额**/ | /*消费金额**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="消费金额",name="consumptionAmount") | @io.swagger.annotations.ApiModelProperty(value="消费金额",name="consumptionAmount") | ||||
| private BigDecimal consumptionAmount; | private BigDecimal consumptionAmount; | ||||
| /*获取积分**/ | /*获取积分**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="获取积分",name="scoreNumber") | @io.swagger.annotations.ApiModelProperty(value="获取积分",name="scoreNumber") | ||||
| private Integer scoreNumber; | private Integer scoreNumber; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public BigDecimal getConsumptionAmount() { | public BigDecimal getConsumptionAmount() { | ||||
| return consumptionAmount; | return consumptionAmount; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxScoreRules implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,ConsumptionAmount_ASC("`consumptionAmount` ASC"),ConsumptionAmount_DESC("`consumptionAmount` DESC") | ,ConsumptionAmount_ASC("`consumptionAmount` ASC"),ConsumptionAmount_DESC("`consumptionAmount` DESC") | ||||
| ,ScoreNumber_ASC("`scoreNumber` ASC"),ScoreNumber_DESC("`scoreNumber` DESC") | ,ScoreNumber_ASC("`scoreNumber` ASC"),ScoreNumber_DESC("`scoreNumber` DESC") | ||||
| ; | ; | ||||
| @@ -13,19 +13,21 @@ public class WxScoreValidityPeriod implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,9 +41,18 @@ public class WxScoreValidityPeriod implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*年**/ | /*年**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="年",name="year") | @io.swagger.annotations.ApiModelProperty(value="年",name="year") | ||||
| private String year; | private String year; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getYear() { | public String getYear() { | ||||
| return year; | return year; | ||||
| } | } | ||||
| @@ -54,6 +65,7 @@ public class WxScoreValidityPeriod implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Year_ASC("`year` ASC"),Year_DESC("`year` DESC") | ,Year_ASC("`year` ASC"),Year_DESC("`year` DESC") | ||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| @@ -13,19 +13,21 @@ public class WxShop implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,6 +41,9 @@ public class WxShop implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*商铺名**/ | /*商铺名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="商铺名",name="title") | @io.swagger.annotations.ApiModelProperty(value="商铺名",name="title") | ||||
| private String title; | private String title; | ||||
| @@ -69,6 +74,12 @@ public class WxShop implements Serializable { | |||||
| /*更新时间**/ | /*更新时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") | ||||
| private Date updateDate; | private Date updateDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getTitle() { | public String getTitle() { | ||||
| return title; | return title; | ||||
| } | } | ||||
| @@ -135,6 +146,7 @@ public class WxShop implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") | ||||
| ,BuildArea_ASC("`buildArea` ASC"),BuildArea_DESC("`buildArea` DESC") | ,BuildArea_ASC("`buildArea` ASC"),BuildArea_DESC("`buildArea` DESC") | ||||
| ,OperationArea_ASC("`operationArea` ASC"),OperationArea_DESC("`operationArea` DESC") | ,OperationArea_ASC("`operationArea` ASC"),OperationArea_DESC("`operationArea` DESC") | ||||
| @@ -13,19 +13,21 @@ public class WxTags implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,42 +41,52 @@ public class WxTags implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /*名称**/ | /*名称**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="名称",name="name") | @io.swagger.annotations.ApiModelProperty(value="名称",name="name") | ||||
| private String name; | private String name; | ||||
| /*1基础2生活属性3消费偏好4行为偏好**/ | /*1基础2生活属性3消费偏好4行为偏好**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="1基础2生活属性3消费偏好4行为偏好",name="type") | |||||
| private String type; | |||||
| /*二级属性 性别等**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="二级属性 性别等",name="type1") | |||||
| @io.swagger.annotations.ApiModelProperty(value="1基础2生活属性3消费偏好4行为偏好",name="type1") | |||||
| private String type1; | private String type1; | ||||
| /*二级属性 性别等**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="二级属性 性别等",name="type2") | |||||
| private String type2; | |||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getName() { | public String getName() { | ||||
| return name; | return name; | ||||
| } | } | ||||
| public void setName(String _name) { | public void setName(String _name) { | ||||
| name = _name; | name = _name; | ||||
| } | } | ||||
| public String getType() { | |||||
| return type; | |||||
| } | |||||
| public void setType(String _type) { | |||||
| type = _type; | |||||
| } | |||||
| public String getType1() { | public String getType1() { | ||||
| return type1; | return type1; | ||||
| } | } | ||||
| public void setType1(String _type1) { | public void setType1(String _type1) { | ||||
| type1 = _type1; | type1 = _type1; | ||||
| } | } | ||||
| public String getType2() { | |||||
| return type2; | |||||
| } | |||||
| public void setType2(String _type2) { | |||||
| type2 = _type2; | |||||
| } | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ,Name_ASC("`name` ASC"),Name_DESC("`name` DESC") | ||||
| ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") | |||||
| ,Type1_ASC("`type1` ASC"),Type1_DESC("`type1` DESC") | ,Type1_ASC("`type1` ASC"),Type1_DESC("`type1` DESC") | ||||
| ,Type2_ASC("`type2` ASC"),Type2_DESC("`type2` DESC") | |||||
| ; | ; | ||||
| private String value; | private String value; | ||||
| Field(String value){ | Field(String value){ | ||||
| @@ -13,19 +13,21 @@ public class WxWebLog implements Serializable { | |||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| @Id | @Id | ||||
| protected String id; | |||||
| protected Long id; | |||||
| @Transient | @Transient | ||||
| protected List<String> ids; | protected List<String> ids; | ||||
| @Transient | @Transient | ||||
| protected String sortColumns; | protected String sortColumns; | ||||
| public String getId() { | |||||
| public Long getId() { | |||||
| return id; | return id; | ||||
| } | } | ||||
| public void setId(String id) { | |||||
| public void setId(Long id) { | |||||
| this.id = id; | this.id = id; | ||||
| } | } | ||||
| public String getSortColumns() { | public String getSortColumns() { | ||||
| return sortColumns; | return sortColumns; | ||||
| } | } | ||||
| @@ -39,12 +41,21 @@ public class WxWebLog implements Serializable { | |||||
| /*租户ID**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") | |||||
| private String tenantId; | |||||
| /***/ | /***/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="",name="data") | @io.swagger.annotations.ApiModelProperty(value="",name="data") | ||||
| private String data; | private String data; | ||||
| /*创建时间**/ | /*创建时间**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate") | ||||
| private Date createDate; | private Date createDate; | ||||
| public String getTenantId() { | |||||
| return tenantId; | |||||
| } | |||||
| public void setTenantId(String _tenantId) { | |||||
| tenantId = _tenantId; | |||||
| } | |||||
| public String getData() { | public String getData() { | ||||
| return data; | return data; | ||||
| } | } | ||||
| @@ -63,6 +74,7 @@ public class WxWebLog implements Serializable { | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | Id_ASC("`id` ASC"),Id_DESC("`id` DESC") | ||||
| ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") | |||||
| ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ,Data_ASC("`data` ASC"),Data_DESC("`data` DESC") | ||||
| ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") | ||||
| ; | ; | ||||
| @@ -0,0 +1,17 @@ | |||||
| package com.simple.mapper; | |||||
| import java.util.*; | |||||
| import com.simple.common.CommonMapper; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import com.simple.domain.po.WxImgUrl; | |||||
| public interface WxImgUrlMapper extends CommonMapper<WxImgUrl, String> { | |||||
| List<WxImgUrl> findList(WxImgUrl wxImgUrl); | |||||
| } | |||||
| @@ -0,0 +1,17 @@ | |||||
| package com.simple.mapper; | |||||
| import java.util.*; | |||||
| import com.simple.common.CommonMapper; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import com.simple.domain.po.WxMerchantEtcp; | |||||
| public interface WxMerchantEtcpMapper extends CommonMapper<WxMerchantEtcp, String> { | |||||
| List<WxMerchantEtcp> findList(WxMerchantEtcp wxMerchantEtcp); | |||||
| } | |||||
| @@ -0,0 +1,17 @@ | |||||
| package com.simple.mapper; | |||||
| import java.util.*; | |||||
| import com.simple.common.CommonMapper; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import com.simple.domain.po.WxParkEtcp; | |||||
| public interface WxParkEtcpMapper extends CommonMapper<WxParkEtcp, String> { | |||||
| List<WxParkEtcp> findList(WxParkEtcp wxParkEtcp); | |||||
| } | |||||
| @@ -0,0 +1,48 @@ | |||||
| package com.simple.service; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxImgUrl; | |||||
| public interface WxImgUrlService { | |||||
| /** | |||||
| * 根据实体查询分页列表 | |||||
| * | |||||
| * @param record | |||||
| * @param offset | |||||
| * @param limit | |||||
| * @return | |||||
| */ | |||||
| PageInfo<WxImgUrl> listAsPage(WxImgUrl record, Integer pageIndex, Integer pageSize); | |||||
| /** | |||||
| * 根据Id获得实体 | |||||
| * | |||||
| * @param id | |||||
| * @return | |||||
| */ | |||||
| WxImgUrl getById(String id); | |||||
| /** | |||||
| * 保存或更新实体 | |||||
| * | |||||
| * @param record | |||||
| */ | |||||
| void saveOrUpdate(WxImgUrl record); | |||||
| /** | |||||
| * 根据Id删除实体 | |||||
| * | |||||
| * @param id | |||||
| */ | |||||
| void deleteById(String id); | |||||
| } | |||||
| @@ -0,0 +1,48 @@ | |||||
| package com.simple.service; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxMerchantEtcp; | |||||
| public interface WxMerchantEtcpService { | |||||
| /** | |||||
| * 根据实体查询分页列表 | |||||
| * | |||||
| * @param record | |||||
| * @param offset | |||||
| * @param limit | |||||
| * @return | |||||
| */ | |||||
| PageInfo<WxMerchantEtcp> listAsPage(WxMerchantEtcp record, Integer pageIndex, Integer pageSize); | |||||
| /** | |||||
| * 根据Id获得实体 | |||||
| * | |||||
| * @param id | |||||
| * @return | |||||
| */ | |||||
| WxMerchantEtcp getById(String id); | |||||
| /** | |||||
| * 保存或更新实体 | |||||
| * | |||||
| * @param record | |||||
| */ | |||||
| void saveOrUpdate(WxMerchantEtcp record); | |||||
| /** | |||||
| * 根据Id删除实体 | |||||
| * | |||||
| * @param id | |||||
| */ | |||||
| void deleteById(String id); | |||||
| } | |||||
| @@ -0,0 +1,48 @@ | |||||
| package com.simple.service; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxParkEtcp; | |||||
| public interface WxParkEtcpService { | |||||
| /** | |||||
| * 根据实体查询分页列表 | |||||
| * | |||||
| * @param record | |||||
| * @param offset | |||||
| * @param limit | |||||
| * @return | |||||
| */ | |||||
| PageInfo<WxParkEtcp> listAsPage(WxParkEtcp record, Integer pageIndex, Integer pageSize); | |||||
| /** | |||||
| * 根据Id获得实体 | |||||
| * | |||||
| * @param id | |||||
| * @return | |||||
| */ | |||||
| WxParkEtcp getById(String id); | |||||
| /** | |||||
| * 保存或更新实体 | |||||
| * | |||||
| * @param record | |||||
| */ | |||||
| void saveOrUpdate(WxParkEtcp record); | |||||
| /** | |||||
| * 根据Id删除实体 | |||||
| * | |||||
| * @param id | |||||
| */ | |||||
| void deleteById(String id); | |||||
| } | |||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxAppinfoMapper; | |||||
| import com.simple.service.WxAppinfoService; | import com.simple.service.WxAppinfoService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxAppinfoServiceImpl implements WxAppinfoService { | public class WxAppinfoServiceImpl implements WxAppinfoService { | ||||
| @@ -29,7 +30,9 @@ public class WxAppinfoServiceImpl implements WxAppinfoService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxAppinfo record) { | public void saveOrUpdate(WxAppinfo record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxAppinfoMapper.insertSelective(record); | wxAppinfoMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxAppinfoMapper.updateByPrimaryKeySelective(record); | wxAppinfoMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxBLogMapper; | |||||
| import com.simple.service.WxBLogService; | import com.simple.service.WxBLogService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxBLogServiceImpl implements WxBLogService { | public class WxBLogServiceImpl implements WxBLogService { | ||||
| @@ -29,7 +30,9 @@ public class WxBLogServiceImpl implements WxBLogService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxBLog record) { | public void saveOrUpdate(WxBLog record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxBLogMapper.insertSelective(record); | wxBLogMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxBLogMapper.updateByPrimaryKeySelective(record); | wxBLogMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxBUserMerchantMapper; | |||||
| import com.simple.service.WxBUserMerchantService; | import com.simple.service.WxBUserMerchantService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxBUserMerchantServiceImpl implements WxBUserMerchantService { | public class WxBUserMerchantServiceImpl implements WxBUserMerchantService { | ||||
| @@ -29,7 +30,9 @@ public class WxBUserMerchantServiceImpl implements WxBUserMerchantService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxBUserMerchant record) { | public void saveOrUpdate(WxBUserMerchant record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxBUserMerchantMapper.insertSelective(record); | wxBUserMerchantMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxBUserMerchantMapper.updateByPrimaryKeySelective(record); | wxBUserMerchantMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxBannersMapper; | |||||
| import com.simple.service.WxBannersService; | import com.simple.service.WxBannersService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxBannersServiceImpl implements WxBannersService { | public class WxBannersServiceImpl implements WxBannersService { | ||||
| @@ -29,7 +30,9 @@ public class WxBannersServiceImpl implements WxBannersService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxBanners record) { | public void saveOrUpdate(WxBanners record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxBannersMapper.insertSelective(record); | wxBannersMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxBannersMapper.updateByPrimaryKeySelective(record); | wxBannersMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxBusinessMapper; | |||||
| import com.simple.service.WxBusinessService; | import com.simple.service.WxBusinessService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxBusinessServiceImpl implements WxBusinessService { | public class WxBusinessServiceImpl implements WxBusinessService { | ||||
| @@ -29,7 +30,9 @@ public class WxBusinessServiceImpl implements WxBusinessService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxBusiness record) { | public void saveOrUpdate(WxBusiness record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxBusinessMapper.insertSelective(record); | wxBusinessMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxBusinessMapper.updateByPrimaryKeySelective(record); | wxBusinessMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCLogMapper; | |||||
| import com.simple.service.WxCLogService; | import com.simple.service.WxCLogService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCLogServiceImpl implements WxCLogService { | public class WxCLogServiceImpl implements WxCLogService { | ||||
| @@ -29,7 +30,9 @@ public class WxCLogServiceImpl implements WxCLogService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCLog record) { | public void saveOrUpdate(WxCLog record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCLogMapper.insertSelective(record); | wxCLogMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCLogMapper.updateByPrimaryKeySelective(record); | wxCLogMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCUserCarsMapper; | |||||
| import com.simple.service.WxCUserCarsService; | import com.simple.service.WxCUserCarsService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCUserCarsServiceImpl implements WxCUserCarsService { | public class WxCUserCarsServiceImpl implements WxCUserCarsService { | ||||
| @@ -29,7 +30,9 @@ public class WxCUserCarsServiceImpl implements WxCUserCarsService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCUserCars record) { | public void saveOrUpdate(WxCUserCars record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCUserCarsMapper.insertSelective(record); | wxCUserCarsMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCUserCarsMapper.updateByPrimaryKeySelective(record); | wxCUserCarsMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCUserCloudMapper; | |||||
| import com.simple.service.WxCUserCloudService; | import com.simple.service.WxCUserCloudService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCUserCloudServiceImpl implements WxCUserCloudService { | public class WxCUserCloudServiceImpl implements WxCUserCloudService { | ||||
| @@ -29,7 +30,9 @@ public class WxCUserCloudServiceImpl implements WxCUserCloudService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCUserCloud record) { | public void saveOrUpdate(WxCUserCloud record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCUserCloudMapper.insertSelective(record); | wxCUserCloudMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCUserCloudMapper.updateByPrimaryKeySelective(record); | wxCUserCloudMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCUserEtcpTokenMapper; | |||||
| import com.simple.service.WxCUserEtcpTokenService; | import com.simple.service.WxCUserEtcpTokenService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCUserEtcpTokenServiceImpl implements WxCUserEtcpTokenService { | public class WxCUserEtcpTokenServiceImpl implements WxCUserEtcpTokenService { | ||||
| @@ -29,7 +30,9 @@ public class WxCUserEtcpTokenServiceImpl implements WxCUserEtcpTokenService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCUserEtcpToken record) { | public void saveOrUpdate(WxCUserEtcpToken record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCUserEtcpTokenMapper.insertSelective(record); | wxCUserEtcpTokenMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCUserEtcpTokenMapper.updateByPrimaryKeySelective(record); | wxCUserEtcpTokenMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCUserMapper; | |||||
| import com.simple.service.WxCUserService; | import com.simple.service.WxCUserService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCUserServiceImpl implements WxCUserService { | public class WxCUserServiceImpl implements WxCUserService { | ||||
| @@ -29,7 +30,9 @@ public class WxCUserServiceImpl implements WxCUserService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCUser record) { | public void saveOrUpdate(WxCUser record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCUserMapper.insertSelective(record); | wxCUserMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCUserMapper.updateByPrimaryKeySelective(record); | wxCUserMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCUserTagsMapper; | |||||
| import com.simple.service.WxCUserTagsService; | import com.simple.service.WxCUserTagsService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCUserTagsServiceImpl implements WxCUserTagsService { | public class WxCUserTagsServiceImpl implements WxCUserTagsService { | ||||
| @@ -29,7 +30,9 @@ public class WxCUserTagsServiceImpl implements WxCUserTagsService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCUserTags record) { | public void saveOrUpdate(WxCUserTags record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCUserTagsMapper.insertSelective(record); | wxCUserTagsMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCUserTagsMapper.updateByPrimaryKeySelective(record); | wxCUserTagsMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCouponActionLogMapper; | |||||
| import com.simple.service.WxCouponActionLogService; | import com.simple.service.WxCouponActionLogService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCouponActionLogServiceImpl implements WxCouponActionLogService { | public class WxCouponActionLogServiceImpl implements WxCouponActionLogService { | ||||
| @@ -29,7 +30,9 @@ public class WxCouponActionLogServiceImpl implements WxCouponActionLogService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCouponActionLog record) { | public void saveOrUpdate(WxCouponActionLog record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCouponActionLogMapper.insertSelective(record); | wxCouponActionLogMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCouponActionLogMapper.updateByPrimaryKeySelective(record); | wxCouponActionLogMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCouponActivityMapper; | |||||
| import com.simple.service.WxCouponActivityService; | import com.simple.service.WxCouponActivityService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCouponActivityServiceImpl implements WxCouponActivityService { | public class WxCouponActivityServiceImpl implements WxCouponActivityService { | ||||
| @@ -29,7 +30,9 @@ public class WxCouponActivityServiceImpl implements WxCouponActivityService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCouponActivity record) { | public void saveOrUpdate(WxCouponActivity record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCouponActivityMapper.insertSelective(record); | wxCouponActivityMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCouponActivityMapper.updateByPrimaryKeySelective(record); | wxCouponActivityMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCouponRecordMapper; | |||||
| import com.simple.service.WxCouponRecordService; | import com.simple.service.WxCouponRecordService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCouponRecordServiceImpl implements WxCouponRecordService { | public class WxCouponRecordServiceImpl implements WxCouponRecordService { | ||||
| @@ -29,7 +30,9 @@ public class WxCouponRecordServiceImpl implements WxCouponRecordService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCouponRecord record) { | public void saveOrUpdate(WxCouponRecord record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCouponRecordMapper.insertSelective(record); | wxCouponRecordMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCouponRecordMapper.updateByPrimaryKeySelective(record); | wxCouponRecordMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCouponMapper; | |||||
| import com.simple.service.WxCouponService; | import com.simple.service.WxCouponService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCouponServiceImpl implements WxCouponService { | public class WxCouponServiceImpl implements WxCouponService { | ||||
| @@ -29,7 +30,9 @@ public class WxCouponServiceImpl implements WxCouponService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCoupon record) { | public void saveOrUpdate(WxCoupon record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCouponMapper.insertSelective(record); | wxCouponMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCouponMapper.updateByPrimaryKeySelective(record); | wxCouponMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxCouponTypeMapper; | |||||
| import com.simple.service.WxCouponTypeService; | import com.simple.service.WxCouponTypeService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxCouponTypeServiceImpl implements WxCouponTypeService { | public class WxCouponTypeServiceImpl implements WxCouponTypeService { | ||||
| @@ -29,7 +30,9 @@ public class WxCouponTypeServiceImpl implements WxCouponTypeService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxCouponType record) { | public void saveOrUpdate(WxCouponType record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxCouponTypeMapper.insertSelective(record); | wxCouponTypeMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxCouponTypeMapper.updateByPrimaryKeySelective(record); | wxCouponTypeMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpCouponRecordMapper; | |||||
| import com.simple.service.WxEtcpCouponRecordService; | import com.simple.service.WxEtcpCouponRecordService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpCouponRecordServiceImpl implements WxEtcpCouponRecordService { | public class WxEtcpCouponRecordServiceImpl implements WxEtcpCouponRecordService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpCouponRecordServiceImpl implements WxEtcpCouponRecordService | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpCouponRecord record) { | public void saveOrUpdate(WxEtcpCouponRecord record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpCouponRecordMapper.insertSelective(record); | wxEtcpCouponRecordMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpCouponRecordMapper.updateByPrimaryKeySelective(record); | wxEtcpCouponRecordMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkDissolutionMapper; | |||||
| import com.simple.service.WxEtcpParkDissolutionService; | import com.simple.service.WxEtcpParkDissolutionService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkDissolutionServiceImpl implements WxEtcpParkDissolutionService { | public class WxEtcpParkDissolutionServiceImpl implements WxEtcpParkDissolutionService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkDissolutionServiceImpl implements WxEtcpParkDissolutionSe | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkDissolution record) { | public void saveOrUpdate(WxEtcpParkDissolution record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkDissolutionMapper.insertSelective(record); | wxEtcpParkDissolutionMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkDissolutionMapper.updateByPrimaryKeySelective(record); | wxEtcpParkDissolutionMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkInMapper; | |||||
| import com.simple.service.WxEtcpParkInService; | import com.simple.service.WxEtcpParkInService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkInServiceImpl implements WxEtcpParkInService { | public class WxEtcpParkInServiceImpl implements WxEtcpParkInService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkInServiceImpl implements WxEtcpParkInService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkIn record) { | public void saveOrUpdate(WxEtcpParkIn record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkInMapper.insertSelective(record); | wxEtcpParkInMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkInMapper.updateByPrimaryKeySelective(record); | wxEtcpParkInMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkMsgSucMapper; | |||||
| import com.simple.service.WxEtcpParkMsgSucService; | import com.simple.service.WxEtcpParkMsgSucService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkMsgSucServiceImpl implements WxEtcpParkMsgSucService { | public class WxEtcpParkMsgSucServiceImpl implements WxEtcpParkMsgSucService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkMsgSucServiceImpl implements WxEtcpParkMsgSucService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkMsgSuc record) { | public void saveOrUpdate(WxEtcpParkMsgSuc record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkMsgSucMapper.insertSelective(record); | wxEtcpParkMsgSucMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkMsgSucMapper.updateByPrimaryKeySelective(record); | wxEtcpParkMsgSucMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkOrderunpayMapper; | |||||
| import com.simple.service.WxEtcpParkOrderunpayService; | import com.simple.service.WxEtcpParkOrderunpayService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkOrderunpayServiceImpl implements WxEtcpParkOrderunpayService { | public class WxEtcpParkOrderunpayServiceImpl implements WxEtcpParkOrderunpayService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkOrderunpayServiceImpl implements WxEtcpParkOrderunpayServ | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkOrderunpay record) { | public void saveOrUpdate(WxEtcpParkOrderunpay record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkOrderunpayMapper.insertSelective(record); | wxEtcpParkOrderunpayMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkOrderunpayMapper.updateByPrimaryKeySelective(record); | wxEtcpParkOrderunpayMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkOutMapper; | |||||
| import com.simple.service.WxEtcpParkOutService; | import com.simple.service.WxEtcpParkOutService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkOutServiceImpl implements WxEtcpParkOutService { | public class WxEtcpParkOutServiceImpl implements WxEtcpParkOutService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkOutServiceImpl implements WxEtcpParkOutService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkOut record) { | public void saveOrUpdate(WxEtcpParkOut record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkOutMapper.insertSelective(record); | wxEtcpParkOutMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkOutMapper.updateByPrimaryKeySelective(record); | wxEtcpParkOutMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkTransactionMapper; | |||||
| import com.simple.service.WxEtcpParkTransactionService; | import com.simple.service.WxEtcpParkTransactionService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkTransactionServiceImpl implements WxEtcpParkTransactionService { | public class WxEtcpParkTransactionServiceImpl implements WxEtcpParkTransactionService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkTransactionServiceImpl implements WxEtcpParkTransactionSe | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkTransaction record) { | public void saveOrUpdate(WxEtcpParkTransaction record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkTransactionMapper.insertSelective(record); | wxEtcpParkTransactionMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkTransactionMapper.updateByPrimaryKeySelective(record); | wxEtcpParkTransactionMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxEtcpParkUnbindMapper; | |||||
| import com.simple.service.WxEtcpParkUnbindService; | import com.simple.service.WxEtcpParkUnbindService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxEtcpParkUnbindServiceImpl implements WxEtcpParkUnbindService { | public class WxEtcpParkUnbindServiceImpl implements WxEtcpParkUnbindService { | ||||
| @@ -29,7 +30,9 @@ public class WxEtcpParkUnbindServiceImpl implements WxEtcpParkUnbindService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxEtcpParkUnbind record) { | public void saveOrUpdate(WxEtcpParkUnbind record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxEtcpParkUnbindMapper.insertSelective(record); | wxEtcpParkUnbindMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxEtcpParkUnbindMapper.updateByPrimaryKeySelective(record); | wxEtcpParkUnbindMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxFlashSaleMapper; | |||||
| import com.simple.service.WxFlashSaleService; | import com.simple.service.WxFlashSaleService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxFlashSaleServiceImpl implements WxFlashSaleService { | public class WxFlashSaleServiceImpl implements WxFlashSaleService { | ||||
| @@ -29,7 +30,9 @@ public class WxFlashSaleServiceImpl implements WxFlashSaleService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxFlashSale record) { | public void saveOrUpdate(WxFlashSale record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxFlashSaleMapper.insertSelective(record); | wxFlashSaleMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxFlashSaleMapper.updateByPrimaryKeySelective(record); | wxFlashSaleMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -0,0 +1,54 @@ | |||||
| package com.simple.service.impl; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageHelper; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxImgUrl; | |||||
| import com.simple.mapper.WxImgUrlMapper; | |||||
| import com.simple.service.WxImgUrlService; | |||||
| import org.springframework.beans.factory.annotation.Autowired; | |||||
| import org.springframework.stereotype.Service; | |||||
| import com.simple.common.IdWorker; | |||||
| @Service | |||||
| public class WxImgUrlServiceImpl implements WxImgUrlService { | |||||
| @Autowired | |||||
| WxImgUrlMapper wxImgUrlMapper; | |||||
| @Override | |||||
| public PageInfo<WxImgUrl> listAsPage(WxImgUrl record, Integer pageIndex, Integer pageSize) { | |||||
| return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxImgUrlMapper.findList(record)); | |||||
| } | |||||
| @Override | |||||
| public WxImgUrl getById(String id) { | |||||
| return wxImgUrlMapper.selectByPrimaryKey(id); | |||||
| } | |||||
| @Override | |||||
| public void saveOrUpdate(WxImgUrl record) { | |||||
| if (record.getId() == null) { | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxImgUrlMapper.insertSelective(record); | |||||
| } else { | |||||
| wxImgUrlMapper.updateByPrimaryKeySelective(record); | |||||
| } | |||||
| } | |||||
| @Override | |||||
| public void deleteById(String id) { | |||||
| wxImgUrlMapper.deleteByPrimaryKey(id); | |||||
| } | |||||
| } | |||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMallBuildingMapper; | |||||
| import com.simple.service.WxMallBuildingService; | import com.simple.service.WxMallBuildingService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMallBuildingServiceImpl implements WxMallBuildingService { | public class WxMallBuildingServiceImpl implements WxMallBuildingService { | ||||
| @@ -29,7 +30,9 @@ public class WxMallBuildingServiceImpl implements WxMallBuildingService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMallBuilding record) { | public void saveOrUpdate(WxMallBuilding record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMallBuildingMapper.insertSelective(record); | wxMallBuildingMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMallBuildingMapper.updateByPrimaryKeySelective(record); | wxMallBuildingMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMallFloorMapper; | |||||
| import com.simple.service.WxMallFloorService; | import com.simple.service.WxMallFloorService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMallFloorServiceImpl implements WxMallFloorService { | public class WxMallFloorServiceImpl implements WxMallFloorService { | ||||
| @@ -29,7 +30,9 @@ public class WxMallFloorServiceImpl implements WxMallFloorService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMallFloor record) { | public void saveOrUpdate(WxMallFloor record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMallFloorMapper.insertSelective(record); | wxMallFloorMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMallFloorMapper.updateByPrimaryKeySelective(record); | wxMallFloorMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMallMapper; | |||||
| import com.simple.service.WxMallService; | import com.simple.service.WxMallService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMallServiceImpl implements WxMallService { | public class WxMallServiceImpl implements WxMallService { | ||||
| @@ -29,7 +30,9 @@ public class WxMallServiceImpl implements WxMallService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMall record) { | public void saveOrUpdate(WxMall record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMallMapper.insertSelective(record); | wxMallMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMallMapper.updateByPrimaryKeySelective(record); | wxMallMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -0,0 +1,54 @@ | |||||
| package com.simple.service.impl; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageHelper; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxMerchantEtcp; | |||||
| import com.simple.mapper.WxMerchantEtcpMapper; | |||||
| import com.simple.service.WxMerchantEtcpService; | |||||
| import org.springframework.beans.factory.annotation.Autowired; | |||||
| import org.springframework.stereotype.Service; | |||||
| import com.simple.common.IdWorker; | |||||
| @Service | |||||
| public class WxMerchantEtcpServiceImpl implements WxMerchantEtcpService { | |||||
| @Autowired | |||||
| WxMerchantEtcpMapper wxMerchantEtcpMapper; | |||||
| @Override | |||||
| public PageInfo<WxMerchantEtcp> listAsPage(WxMerchantEtcp record, Integer pageIndex, Integer pageSize) { | |||||
| return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxMerchantEtcpMapper.findList(record)); | |||||
| } | |||||
| @Override | |||||
| public WxMerchantEtcp getById(String id) { | |||||
| return wxMerchantEtcpMapper.selectByPrimaryKey(id); | |||||
| } | |||||
| @Override | |||||
| public void saveOrUpdate(WxMerchantEtcp record) { | |||||
| if (record.getId() == null) { | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMerchantEtcpMapper.insertSelective(record); | |||||
| } else { | |||||
| wxMerchantEtcpMapper.updateByPrimaryKeySelective(record); | |||||
| } | |||||
| } | |||||
| @Override | |||||
| public void deleteById(String id) { | |||||
| wxMerchantEtcpMapper.deleteByPrimaryKey(id); | |||||
| } | |||||
| } | |||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMerchantMapper; | |||||
| import com.simple.service.WxMerchantService; | import com.simple.service.WxMerchantService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMerchantServiceImpl implements WxMerchantService { | public class WxMerchantServiceImpl implements WxMerchantService { | ||||
| @@ -29,7 +30,9 @@ public class WxMerchantServiceImpl implements WxMerchantService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMerchant record) { | public void saveOrUpdate(WxMerchant record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMerchantMapper.insertSelective(record); | wxMerchantMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMerchantMapper.updateByPrimaryKeySelective(record); | wxMerchantMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMerchantShopMapper; | |||||
| import com.simple.service.WxMerchantShopService; | import com.simple.service.WxMerchantShopService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMerchantShopServiceImpl implements WxMerchantShopService { | public class WxMerchantShopServiceImpl implements WxMerchantShopService { | ||||
| @@ -29,7 +30,9 @@ public class WxMerchantShopServiceImpl implements WxMerchantShopService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMerchantShop record) { | public void saveOrUpdate(WxMerchantShop record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMerchantShopMapper.insertSelective(record); | wxMerchantShopMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMerchantShopMapper.updateByPrimaryKeySelective(record); | wxMerchantShopMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMerchantTradeDaysMapper; | |||||
| import com.simple.service.WxMerchantTradeDaysService; | import com.simple.service.WxMerchantTradeDaysService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMerchantTradeDaysServiceImpl implements WxMerchantTradeDaysService { | public class WxMerchantTradeDaysServiceImpl implements WxMerchantTradeDaysService { | ||||
| @@ -29,7 +30,9 @@ public class WxMerchantTradeDaysServiceImpl implements WxMerchantTradeDaysServic | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMerchantTradeDays record) { | public void saveOrUpdate(WxMerchantTradeDays record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMerchantTradeDaysMapper.insertSelective(record); | wxMerchantTradeDaysMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMerchantTradeDaysMapper.updateByPrimaryKeySelective(record); | wxMerchantTradeDaysMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMsgConfigMapper; | |||||
| import com.simple.service.WxMsgConfigService; | import com.simple.service.WxMsgConfigService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMsgConfigServiceImpl implements WxMsgConfigService { | public class WxMsgConfigServiceImpl implements WxMsgConfigService { | ||||
| @@ -29,7 +30,9 @@ public class WxMsgConfigServiceImpl implements WxMsgConfigService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMsgConfig record) { | public void saveOrUpdate(WxMsgConfig record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMsgConfigMapper.insertSelective(record); | wxMsgConfigMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMsgConfigMapper.updateByPrimaryKeySelective(record); | wxMsgConfigMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMsgModelMapper; | |||||
| import com.simple.service.WxMsgModelService; | import com.simple.service.WxMsgModelService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMsgModelServiceImpl implements WxMsgModelService { | public class WxMsgModelServiceImpl implements WxMsgModelService { | ||||
| @@ -29,7 +30,9 @@ public class WxMsgModelServiceImpl implements WxMsgModelService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMsgModel record) { | public void saveOrUpdate(WxMsgModel record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMsgModelMapper.insertSelective(record); | wxMsgModelMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMsgModelMapper.updateByPrimaryKeySelective(record); | wxMsgModelMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMsgMapper; | |||||
| import com.simple.service.WxMsgService; | import com.simple.service.WxMsgService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMsgServiceImpl implements WxMsgService { | public class WxMsgServiceImpl implements WxMsgService { | ||||
| @@ -29,7 +30,9 @@ public class WxMsgServiceImpl implements WxMsgService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMsg record) { | public void saveOrUpdate(WxMsg record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMsgMapper.insertSelective(record); | wxMsgMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMsgMapper.updateByPrimaryKeySelective(record); | wxMsgMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxMsgSignatureMapper; | |||||
| import com.simple.service.WxMsgSignatureService; | import com.simple.service.WxMsgSignatureService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxMsgSignatureServiceImpl implements WxMsgSignatureService { | public class WxMsgSignatureServiceImpl implements WxMsgSignatureService { | ||||
| @@ -29,7 +30,9 @@ public class WxMsgSignatureServiceImpl implements WxMsgSignatureService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxMsgSignature record) { | public void saveOrUpdate(WxMsgSignature record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxMsgSignatureMapper.insertSelective(record); | wxMsgSignatureMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxMsgSignatureMapper.updateByPrimaryKeySelective(record); | wxMsgSignatureMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxOrdersMapper; | |||||
| import com.simple.service.WxOrdersService; | import com.simple.service.WxOrdersService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxOrdersServiceImpl implements WxOrdersService { | public class WxOrdersServiceImpl implements WxOrdersService { | ||||
| @@ -29,7 +30,9 @@ public class WxOrdersServiceImpl implements WxOrdersService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxOrders record) { | public void saveOrUpdate(WxOrders record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxOrdersMapper.insertSelective(record); | wxOrdersMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxOrdersMapper.updateByPrimaryKeySelective(record); | wxOrdersMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -0,0 +1,54 @@ | |||||
| package com.simple.service.impl; | |||||
| import java.util.*; | |||||
| import com.github.pagehelper.PageHelper; | |||||
| import com.github.pagehelper.PageInfo; | |||||
| import com.simple.domain.po.WxParkEtcp; | |||||
| import com.simple.mapper.WxParkEtcpMapper; | |||||
| import com.simple.service.WxParkEtcpService; | |||||
| import org.springframework.beans.factory.annotation.Autowired; | |||||
| import org.springframework.stereotype.Service; | |||||
| import com.simple.common.IdWorker; | |||||
| @Service | |||||
| public class WxParkEtcpServiceImpl implements WxParkEtcpService { | |||||
| @Autowired | |||||
| WxParkEtcpMapper wxParkEtcpMapper; | |||||
| @Override | |||||
| public PageInfo<WxParkEtcp> listAsPage(WxParkEtcp record, Integer pageIndex, Integer pageSize) { | |||||
| return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxParkEtcpMapper.findList(record)); | |||||
| } | |||||
| @Override | |||||
| public WxParkEtcp getById(String id) { | |||||
| return wxParkEtcpMapper.selectByPrimaryKey(id); | |||||
| } | |||||
| @Override | |||||
| public void saveOrUpdate(WxParkEtcp record) { | |||||
| if (record.getId() == null) { | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxParkEtcpMapper.insertSelective(record); | |||||
| } else { | |||||
| wxParkEtcpMapper.updateByPrimaryKeySelective(record); | |||||
| } | |||||
| } | |||||
| @Override | |||||
| public void deleteById(String id) { | |||||
| wxParkEtcpMapper.deleteByPrimaryKey(id); | |||||
| } | |||||
| } | |||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxParkMapper; | |||||
| import com.simple.service.WxParkService; | import com.simple.service.WxParkService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxParkServiceImpl implements WxParkService { | public class WxParkServiceImpl implements WxParkService { | ||||
| @@ -29,7 +30,9 @@ public class WxParkServiceImpl implements WxParkService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxPark record) { | public void saveOrUpdate(WxPark record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxParkMapper.insertSelective(record); | wxParkMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxParkMapper.updateByPrimaryKeySelective(record); | wxParkMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxScoreHistoryMapper; | |||||
| import com.simple.service.WxScoreHistoryService; | import com.simple.service.WxScoreHistoryService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxScoreHistoryServiceImpl implements WxScoreHistoryService { | public class WxScoreHistoryServiceImpl implements WxScoreHistoryService { | ||||
| @@ -29,7 +30,9 @@ public class WxScoreHistoryServiceImpl implements WxScoreHistoryService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxScoreHistory record) { | public void saveOrUpdate(WxScoreHistory record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxScoreHistoryMapper.insertSelective(record); | wxScoreHistoryMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxScoreHistoryMapper.updateByPrimaryKeySelective(record); | wxScoreHistoryMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxScoreRulesMapper; | |||||
| import com.simple.service.WxScoreRulesService; | import com.simple.service.WxScoreRulesService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxScoreRulesServiceImpl implements WxScoreRulesService { | public class WxScoreRulesServiceImpl implements WxScoreRulesService { | ||||
| @@ -29,7 +30,9 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxScoreRules record) { | public void saveOrUpdate(WxScoreRules record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxScoreRulesMapper.insertSelective(record); | wxScoreRulesMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxScoreRulesMapper.updateByPrimaryKeySelective(record); | wxScoreRulesMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxScoreValidityPeriodMapper; | |||||
| import com.simple.service.WxScoreValidityPeriodService; | import com.simple.service.WxScoreValidityPeriodService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxScoreValidityPeriodServiceImpl implements WxScoreValidityPeriodService { | public class WxScoreValidityPeriodServiceImpl implements WxScoreValidityPeriodService { | ||||
| @@ -29,7 +30,9 @@ public class WxScoreValidityPeriodServiceImpl implements WxScoreValidityPeriodSe | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxScoreValidityPeriod record) { | public void saveOrUpdate(WxScoreValidityPeriod record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxScoreValidityPeriodMapper.insertSelective(record); | wxScoreValidityPeriodMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxScoreValidityPeriodMapper.updateByPrimaryKeySelective(record); | wxScoreValidityPeriodMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxShopMapper; | |||||
| import com.simple.service.WxShopService; | import com.simple.service.WxShopService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxShopServiceImpl implements WxShopService { | public class WxShopServiceImpl implements WxShopService { | ||||
| @@ -29,7 +30,9 @@ public class WxShopServiceImpl implements WxShopService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxShop record) { | public void saveOrUpdate(WxShop record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxShopMapper.insertSelective(record); | wxShopMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxShopMapper.updateByPrimaryKeySelective(record); | wxShopMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxTagsMapper; | |||||
| import com.simple.service.WxTagsService; | import com.simple.service.WxTagsService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxTagsServiceImpl implements WxTagsService { | public class WxTagsServiceImpl implements WxTagsService { | ||||
| @@ -29,7 +30,9 @@ public class WxTagsServiceImpl implements WxTagsService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxTags record) { | public void saveOrUpdate(WxTags record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxTagsMapper.insertSelective(record); | wxTagsMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxTagsMapper.updateByPrimaryKeySelective(record); | wxTagsMapper.updateByPrimaryKeySelective(record); | ||||
| @@ -8,6 +8,7 @@ import com.simple.mapper.WxWebLogMapper; | |||||
| import com.simple.service.WxWebLogService; | import com.simple.service.WxWebLogService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.simple.common.IdWorker; | |||||
| @Service | @Service | ||||
| public class WxWebLogServiceImpl implements WxWebLogService { | public class WxWebLogServiceImpl implements WxWebLogService { | ||||
| @@ -29,7 +30,9 @@ public class WxWebLogServiceImpl implements WxWebLogService { | |||||
| @Override | @Override | ||||
| public void saveOrUpdate(WxWebLog record) { | public void saveOrUpdate(WxWebLog record) { | ||||
| if (record.getId() == null) { | if (record.getId() == null) { | ||||
| record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| //record.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |||||
| IdWorker idWorker = new IdWorker(0, 0); | |||||
| record.setId(idWorker.nextId()); | |||||
| wxWebLogMapper.insertSelective(record); | wxWebLogMapper.insertSelective(record); | ||||
| } else { | } else { | ||||
| wxWebLogMapper.updateByPrimaryKeySelective(record); | wxWebLogMapper.updateByPrimaryKeySelective(record); | ||||