Bladeren bron

删除多余代码,减少数据库日志

skyline 11 maanden geleden
bovenliggende
commit
6bb3ed4f7f

+ 0 - 26
entity/src/main/java/com/kym/entity/miniapp/other/DiscountCompute.java

@@ -1,26 +0,0 @@
-package com.kym.entity.miniapp.other;
-
-import com.kym.entity.miniapp.Account;
-import com.kym.entity.miniapp.ChargeOrder;
-import lombok.Data;
-
-import java.time.LocalDateTime;
-
-/**
- * 优惠计算介质
- *
- * @author skyline
- */
-@Data
-public class DiscountCompute {
-    public ChargeOrder chargeOrder;
-    public Account account;
-    public LocalDateTime endTime;
-    public int discountAmount;
-
-    public DiscountCompute(ChargeOrder chargeOrder, Account account, LocalDateTime endTime) {
-        this.chargeOrder = chargeOrder;
-        this.account = account;
-        this.endTime = endTime;
-    }
-}

+ 2 - 2
miniapp/src/main/java/com/kym/miniapp/controller/ChargeController.java

@@ -238,7 +238,7 @@ public class ChargeController {
      * @param json
      * @return 0:接收 1:丢弃/忽略,不需要重试
      */
-    @ApiLog("推送场站设备状态变化")
+//    @ApiLog("推送场站设备状态变化")
     @PostMapping("/{platformName}/notification_stationStatus")
     PlatformResponse notificationStationStatus(@PathVariable(value = "platformName", required = false) String platformName, @RequestBody JSONObject json) {
         return new PlatformResponse(enNotifyService.handleNotificationStationStatus(platformName, json));
@@ -262,7 +262,7 @@ public class ChargeController {
      * @param json
      * @return
      */
-    @ApiLog("推送充电状态")
+//    @ApiLog("推送充电状态")
     @PostMapping("/{platformName}/notification_equip_charge_status")
     PlatformResponse notificationEquipChargeStatus(@PathVariable(value = "platformName", required = false) String platformName, @RequestBody JSONObject json) {
         return new PlatformResponse(enNotifyService.handleNotificationEquipChargeStatus(platformName, json));