From aea5a0cc3bbd5c2d131a504e5aa2a124d9f131b3 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 10 四月 2023 11:46:54 +0800
Subject: [PATCH] 优化功能

---
 management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TSystemPriceController.java |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TSystemPriceController.java b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TSystemPriceController.java
index 454b087..abf3301 100644
--- a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TSystemPriceController.java
+++ b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TSystemPriceController.java
@@ -8,12 +8,8 @@
 import com.stylefeng.guns.core.shiro.ShiroKit;
 import com.stylefeng.guns.core.util.SinataUtil;
 import com.stylefeng.guns.modular.system.model.TServerCarmodel;
-import com.stylefeng.guns.modular.system.model.User;
 import com.stylefeng.guns.modular.system.service.ITServerCarmodelService;
-import com.stylefeng.guns.modular.system.service.IUserService;
-import com.stylefeng.guns.modular.system.util.PushMinistryOfTransportUtil;
 import net.sf.json.JSONObject;
-import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.ResponseBody;
@@ -21,7 +17,6 @@
 import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.beans.factory.annotation.Autowired;
 import com.stylefeng.guns.core.log.LogObjectHolder;
-import org.springframework.web.bind.annotation.RequestParam;
 import com.stylefeng.guns.modular.system.model.TSystemPrice;
 import com.stylefeng.guns.modular.system.service.ITSystemPriceService;
 
@@ -46,15 +41,6 @@
 
     @Autowired
     private ITServerCarmodelService tServerCarmodelService;
-
-    @Autowired
-    private PushMinistryOfTransportUtil pushMinistryOfTransportUtil;
-
-    @Autowired
-    private IUserService userService;
-
-    @Value("${pushMinistryOfTransport}")
-    private boolean pushMinistryOfTransport;
 
 
 
@@ -176,14 +162,6 @@
         tSystemPrice.setType(1);
         tSystemPrice.setState(1);
         tSystemPriceService.insert(tSystemPrice);
-        new Thread(new Runnable() {
-            @Override
-            public void run() {
-                if(pushMinistryOfTransport){//上传数据
-                    pushMinistryOfTransportUtil.baseInfoCompanyFare(tSystemPrice.getId());
-                }
-            }
-        }).start();
         return SUCCESS_TIP;
     }
 
@@ -207,14 +185,6 @@
             }
         }
         tSystemPriceService.updateById(tSystemPrice);
-        new Thread(new Runnable() {
-            @Override
-            public void run() {
-                if(pushMinistryOfTransport) {//上传数据
-                    pushMinistryOfTransportUtil.baseInfoCompanyFare(tSystemPrice.getId());
-                }
-            }
-        }).start();
         return SUCCESS_TIP;
     }
 

--
Gitblit v1.7.1