模板列表 1的 不管状态

This commit is contained in:
wangw 2025-10-16 16:56:02 +08:00
parent f6b7ea18b1
commit 419678eb44
2 changed files with 3 additions and 2 deletions

View File

@ -12,5 +12,6 @@ import lombok.Data;
@Data @Data
public class SmsMoneyDetailDto extends TimeQueryParam { public class SmsMoneyDetailDto extends TimeQueryParam {
// 1 充值 2 扣款 // 1 充值 2 扣款
Integer type; private Integer type;
private Long shopId;
} }

View File

@ -37,7 +37,7 @@ public class SmsShopTemplateServiceImpl extends ServiceImpl<SmsShopTemplateMappe
.in(SmsShopTemplate::getShopId, list) .in(SmsShopTemplate::getShopId, list)
.orderBy(SmsShopTemplate::getShopId).asc() .orderBy(SmsShopTemplate::getShopId).asc()
.orderBy(SmsShopTemplate::getSort).asc(); .orderBy(SmsShopTemplate::getSort).asc();
if (shopId != 1L) { if (!"1".equals(shopId.toString())) {
queryWrapper.eq(SmsShopTemplate::getStatus, status); queryWrapper.eq(SmsShopTemplate::getStatus, status);
} else { } else {
queryWrapper.eq(SmsShopTemplate::getStatus, 1); queryWrapper.eq(SmsShopTemplate::getStatus, 1);