撤销修改

This commit is contained in:
2025-12-22 10:24:35 +08:00
parent 2bc5c8cff3
commit 102ee912a9
10 changed files with 9 additions and 75 deletions

View File

@@ -37,9 +37,6 @@ dubbo:
name: dubbo
serialization: hessian2
port: 10101
serialization:
allow-list:
- com.czg.utils.CzgUpdateChain

View File

@@ -2,9 +2,9 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
username: cashier
password: Cashier@1@
url: jdbc:mysql://192.168.1.42:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
username: root
password: Chaozg123.
data:
redis:

View File

@@ -57,10 +57,9 @@ public class NotifyController {
private MkShopConsumeDiscountRecordService consumeDiscountRecordService;
@RequestMapping("clear")
public String clear() {
shopUserService.updateChain().eq(ShopUser::getId, 127437).set(ShopUser::getAmount, 999);
// consumeDiscountRecordService.remove(new QueryWrapper().eq(MkShopConsumeDiscountRecord::getShopId, shopId));
// orderInfoService.remove(new QueryWrapper().eq(OrderInfo::getShopId, shopId));
public String clear(@RequestParam Integer shopId) {
consumeDiscountRecordService.remove(new QueryWrapper().eq(MkShopConsumeDiscountRecord::getShopId, shopId));
orderInfoService.remove(new QueryWrapper().eq(OrderInfo::getShopId, shopId));
return "success";
}

View File

@@ -1,10 +1,9 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
username: cashier
password: Cashier@1@
url: jdbc:mysql://192.168.1.42:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
username: root
password: Chaozg123.
data:
redis: