- 短信服务 签名,添加后台管理
This commit is contained in:
@@ -38,7 +38,7 @@ public class SmsSignDO extends DeletableDO {
|
||||
*
|
||||
* - 1、审核中
|
||||
* - 2、审核成功
|
||||
* - 3、审核失败
|
||||
* - 10、审核失败
|
||||
*/
|
||||
private Integer applyStatus;
|
||||
/**
|
||||
|
||||
@@ -49,7 +49,7 @@ public class SmsTemplateDO extends DeletableDO {
|
||||
*
|
||||
* 1、审核中
|
||||
* 2、审核成功
|
||||
* 3、审核失败
|
||||
* 10、审核失败
|
||||
*/
|
||||
private Integer applyStatus;
|
||||
/**
|
||||
|
||||
@@ -64,10 +64,13 @@ public class SmsServiceImpl implements SmsService {
|
||||
if (!StringUtils.isEmpty(queryDTO.getSign())) {
|
||||
queryWrapper.like("sign", queryDTO.getSign());
|
||||
}
|
||||
if (!StringUtils.isEmpty(queryDTO.getId())) {
|
||||
queryWrapper.eq("id", queryDTO.getId());
|
||||
}
|
||||
|
||||
Page<SmsSignDO> page = new Page<SmsSignDO>()
|
||||
.setSize(queryDTO.getPageSize())
|
||||
.setCurrent(queryDTO.getPageCurrent())
|
||||
.setSize(queryDTO.getSize())
|
||||
.setCurrent(queryDTO.getCurrent())
|
||||
.setDesc("create_time");
|
||||
|
||||
IPage<SmsSignDO> signPage = smsSignMapper.selectPage(page, queryWrapper);
|
||||
|
||||
Reference in New Issue
Block a user