-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from rememberber/develop
release:3.1.0
- Loading branch information
Showing
53 changed files
with
2,501 additions
and
1,318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/com/fangxuele/tool/push/dao/TWxAccountMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.fangxuele.tool.push.dao; | ||
|
||
import com.fangxuele.tool.push.domain.TWxAccount; | ||
import org.apache.ibatis.annotations.Param; | ||
|
||
import java.util.List; | ||
|
||
public interface TWxAccountMapper { | ||
int deleteByPrimaryKey(Integer id); | ||
|
||
int insert(TWxAccount record); | ||
|
||
int insertSelective(TWxAccount record); | ||
|
||
TWxAccount selectByPrimaryKey(Integer id); | ||
|
||
int updateByPrimaryKeySelective(TWxAccount record); | ||
|
||
int updateByPrimaryKey(TWxAccount record); | ||
|
||
List<TWxAccount> selectByAccountTypeAndAccountName(@Param("accountType") String accountType, @Param("accountName") String accountName); | ||
|
||
List<TWxAccount> selectByAccountType(String wxAccountType); | ||
} |
97 changes: 97 additions & 0 deletions
97
src/main/java/com/fangxuele/tool/push/domain/TWxAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
package com.fangxuele.tool.push.domain; | ||
|
||
import java.io.Serializable; | ||
|
||
public class TWxAccount implements Serializable { | ||
private Integer id; | ||
|
||
private String accountType; | ||
|
||
private String accountName; | ||
|
||
private String appId; | ||
|
||
private String appSecret; | ||
|
||
private String token; | ||
|
||
private String aesKey; | ||
|
||
private String createTime; | ||
|
||
private String modifiedTime; | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public String getAccountType() { | ||
return accountType; | ||
} | ||
|
||
public void setAccountType(String accountType) { | ||
this.accountType = accountType == null ? null : accountType.trim(); | ||
} | ||
|
||
public String getAccountName() { | ||
return accountName; | ||
} | ||
|
||
public void setAccountName(String accountName) { | ||
this.accountName = accountName == null ? null : accountName.trim(); | ||
} | ||
|
||
public String getAppId() { | ||
return appId; | ||
} | ||
|
||
public void setAppId(String appId) { | ||
this.appId = appId == null ? null : appId.trim(); | ||
} | ||
|
||
public String getAppSecret() { | ||
return appSecret; | ||
} | ||
|
||
public void setAppSecret(String appSecret) { | ||
this.appSecret = appSecret == null ? null : appSecret.trim(); | ||
} | ||
|
||
public String getToken() { | ||
return token; | ||
} | ||
|
||
public void setToken(String token) { | ||
this.token = token == null ? null : token.trim(); | ||
} | ||
|
||
public String getAesKey() { | ||
return aesKey; | ||
} | ||
|
||
public void setAesKey(String aesKey) { | ||
this.aesKey = aesKey == null ? null : aesKey.trim(); | ||
} | ||
|
||
public String getCreateTime() { | ||
return createTime; | ||
} | ||
|
||
public void setCreateTime(String createTime) { | ||
this.createTime = createTime == null ? null : createTime.trim(); | ||
} | ||
|
||
public String getModifiedTime() { | ||
return modifiedTime; | ||
} | ||
|
||
public void setModifiedTime(String modifiedTime) { | ||
this.modifiedTime = modifiedTime == null ? null : modifiedTime.trim(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.