Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
This commit is contained in:
commit
d16df738d3
@ -1,5 +1,6 @@
|
||||
package cn.lili.modules.message.entity.dos;
|
||||
|
||||
import cn.lili.mybatis.BaseIdEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
@ -15,7 +16,7 @@ import lombok.Data;
|
||||
@Data
|
||||
@TableName("li_sms_sign")
|
||||
@ApiModel(value = "短信签名")
|
||||
public class SmsSign {
|
||||
public class SmsSign extends BaseIdEntity {
|
||||
|
||||
@ApiModelProperty(value = "签名名称", required = true)
|
||||
private String signName;
|
||||
|
@ -65,7 +65,7 @@ public class SmsSignServiceImpl extends ServiceImpl<SmsSignMapper, SmsSign> impl
|
||||
try {
|
||||
Map<String, Object> map = new HashMap<>(16);
|
||||
//获取未审核通过的签名列表
|
||||
List<SmsSign> list = list(new LambdaQueryWrapper<SmsSign>().eq(SmsSign::getSignStatus, 0));
|
||||
List<SmsSign> list = list(new LambdaQueryWrapper<SmsSign>().ne(SmsSign::getSignStatus, 1));
|
||||
//查询签名状态
|
||||
for (SmsSign smsSign : list) {
|
||||
map = aliSmsUtil.querySmsSign(smsSign.getSignName());
|
||||
|
Loading…
x
Reference in New Issue
Block a user