From 2b8df9f5452218cad1f012a008acea724de81fff Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 05 七月 2023 10:45:56 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/service/impl/LocationServiceImpl.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/yssh/service/impl/LocationServiceImpl.java b/src/main/java/com/yssh/service/impl/LocationServiceImpl.java
index bf2a157..7060dc2 100644
--- a/src/main/java/com/yssh/service/impl/LocationServiceImpl.java
+++ b/src/main/java/com/yssh/service/impl/LocationServiceImpl.java
@@ -3,37 +3,38 @@
 import com.yssh.dao.LocationMapper;
 import com.yssh.entity.Location;
 import com.yssh.service.ILocationService;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import javax.annotation.Resource;
 import java.util.List;
 
 /**
  * @author wMeng
- * @ClassName YsshLocationServiceImpl
- * @Description TODO
  * @date 2022/10/30 13:25
- * @Version 1.0
+ * @version 1.0
  */
 @Service
 public class LocationServiceImpl implements ILocationService {
-    @Autowired
+    @Resource
     private LocationMapper mapper;
+
     @Override
     public List<Location> query(String name, String type) {
         return mapper.query(name, type);
     }
+
     @Override
     public List<Location> getAll() {
         return mapper.getAll();
     }
+
     @Override
     public int insertLocation(Location location) {
         return mapper.insertLocation(location);
     }
+
     @Override
     public int deleteLocation(String id) {
         return mapper.deleteLocation(id);
     }
-
 }

--
Gitblit v1.9.3