chore: 删除重复的文件

This commit is contained in:
CaptainB 2023-05-04 16:21:17 +08:00
parent 4a7487b1e3
commit 83e669b6b4
4 changed files with 4 additions and 13 deletions

View File

@ -2,7 +2,7 @@ package io.metersphere.system.controller;
import io.metersphere.domain.User; import io.metersphere.domain.User;
import io.metersphere.system.service.UserService; import io.metersphere.sdk.UserService;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@ -1,11 +0,0 @@
package io.metersphere.system.service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.domain.User;
import io.metersphere.sdk.mapper.UserMapper;
import org.springframework.stereotype.Service;
@Service
public class UserService extends ServiceImpl<UserMapper, User> {
}

View File

@ -7,6 +7,7 @@ import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration; import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration; import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication(exclude = { @SpringBootApplication(exclude = {
QuartzAutoConfiguration.class, QuartzAutoConfiguration.class,
@ -15,6 +16,7 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
MybatisAutoConfiguration.class MybatisAutoConfiguration.class
}) })
@ServletComponentScan @ServletComponentScan
@ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.system"})
public class Application { public class Application {
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -93,7 +93,7 @@
<!-- --> <!-- -->
<skipAntRunForJenkins>false</skipAntRunForJenkins> <skipAntRunForJenkins>false</skipAntRunForJenkins>
<commons-dbcp2-version>2.9.0</commons-dbcp2-version> <commons-dbcp2-version>2.9.0</commons-dbcp2-version>
<jacoco.version>0.8.7</jacoco.version> <jacoco.version>0.8.10</jacoco.version>
</properties> </properties>
<modules> <modules>