模板查询倒叙

This commit is contained in:
liyj 2025-12-12 16:34:10 +08:00
parent 3b5f48fdc6
commit f7887e6b79

View File

@ -83,6 +83,7 @@ public class ShopPageAppController extends BaseControllerImpl {
if(user.isStore()) { if(user.isStore()) {
QueryWrapper<ShopPageApp> queryWrapper = new QueryWrapper<>(); QueryWrapper<ShopPageApp> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("store_id", user.getStore_id()); queryWrapper.eq("store_id", user.getStore_id());
queryWrapper.orderByDesc("app_id");
List<ShopPageApp> shopPageAppList= shopPageAppService.list(queryWrapper); List<ShopPageApp> shopPageAppList= shopPageAppService.list(queryWrapper);
if(shopPageAppList.isEmpty()) { if(shopPageAppList.isEmpty()) {
String resultStr= accountBaseConfigService.getSystemConfig("service_app_tpl"); String resultStr= accountBaseConfigService.getSystemConfig("service_app_tpl");