From 3b3f4e1eb88cac900fc578b2e28987562de36253 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Tue, 18 Mar 2025 09:34:10 +0800 Subject: [PATCH] 111 --- .../web/controller/app/AppController.java | 4 +- .../app/AppDeviceAdminController.java | 2 +- .../ruoyi/common/core/domain/entity/User.java | 3 ++ .../ss/balance/mapper/UserBalanceMapper.xml | 3 +- .../service/impl/CallbackServiceImpl.java | 19 ++++++-- .../ss/device/service/DeviceService.java | 5 +++ .../service/impl/DeviceServiceImpl.java | 19 +++++++- .../java/com/ruoyi/ss/order/domain/Order.java | 7 +++ .../ruoyi/ss/order/mapper/OrderMapper.java | 5 +++ .../com/ruoyi/ss/order/mapper/OrderMapper.xml | 27 ++++++++++- .../ruoyi/ss/order/service/IOrderService.java | 5 +++ .../order/service/impl/OrderServiceImpl.java | 15 ++++++- .../com/ruoyi/ss/user/mapper/UserMapper.xml | 12 +++-- .../java/com/ruoyi/system/task/SsTask.java | 45 ++++++++++++++++++- 14 files changed, 155 insertions(+), 16 deletions(-) diff --git a/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppController.java b/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppController.java index f2b7e2b..29848cf 100644 --- a/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppController.java +++ b/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppController.java @@ -170,10 +170,10 @@ public class AppController extends BaseController Long cityId = query.getCityId(); if(ObjectUtil.isNull(cityId)){ if(StrUtil.isBlank(query.getPhoneLon())){ - ServiceUtil.assertion(false, "经度[phoneLon]未传"); + ServiceUtil.assertion(true, "经度[phoneLon]未传"); } if(StrUtil.isBlank(query.getPhoneLat())){ - ServiceUtil.assertion(false, "纬度[phoneLat]未传"); + ServiceUtil.assertion(true, "纬度[phoneLat]未传"); } query.setCityId(cityService.getCityIdByLocation(query.getPhoneLon(), query.getPhoneLat())); } diff --git a/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppDeviceAdminController.java b/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppDeviceAdminController.java index 21f0161..e633681 100644 --- a/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppDeviceAdminController.java +++ b/share-space-admin/src/main/java/com/ruoyi/web/controller/app/AppDeviceAdminController.java @@ -108,7 +108,7 @@ public class AppDeviceAdminController extends BaseController { @PostMapping("/adminAll/{roomId}/switch") @DeviceAdminRequired public AjaxResult adminGet(@PathVariable @ApiParam("房间id") Long roomId ,@RequestParam @ApiParam("是否开启") Boolean open) { - return toAjax(deviceService.roomAllSwitchDevice(roomId, open,"小程序房间开关")); + return toAjax(deviceService.roomAllSwitchDevice(roomId, open,"管理员房间开关")); } } diff --git a/share-space-common/src/main/java/com/ruoyi/common/core/domain/entity/User.java b/share-space-common/src/main/java/com/ruoyi/common/core/domain/entity/User.java index ac263ae..6e5bc6f 100644 --- a/share-space-common/src/main/java/com/ruoyi/common/core/domain/entity/User.java +++ b/share-space-common/src/main/java/com/ruoyi/common/core/domain/entity/User.java @@ -170,6 +170,9 @@ public class User extends BaseEntity @ApiModelProperty(value = "多店权限:1-单店;N-多店") private String multiStore; + @ApiModelProperty(value = "到期提醒时间") + private Integer reminder; + public User() { } diff --git a/share-space-system/src/main/java/com/ruoyi/ss/balance/mapper/UserBalanceMapper.xml b/share-space-system/src/main/java/com/ruoyi/ss/balance/mapper/UserBalanceMapper.xml index f086af4..f56e805 100644 --- a/share-space-system/src/main/java/com/ruoyi/ss/balance/mapper/UserBalanceMapper.xml +++ b/share-space-system/src/main/java/com/ruoyi/ss/balance/mapper/UserBalanceMapper.xml @@ -34,7 +34,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + +