代码调整

This commit is contained in:
2023-06-01 14:15:39 +08:00
parent 5d3f915ca6
commit 074a2ae28d
15 changed files with 23 additions and 61 deletions

View File

@@ -39,10 +39,7 @@
<version>4.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.jeffreyning</groupId>
<artifactId>mybatisplus-plus</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>

View File

@@ -1,6 +1,5 @@
package com.njcn.system;
import com.github.jeffreyning.mybatisplus.conf.EnableMPP;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
@@ -16,7 +15,6 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
@MapperScan("com.njcn.**.mapper")
@EnableFeignClients(basePackages = "com.njcn")
@SpringBootApplication(scanBasePackages = "com.njcn")
@EnableMPP
public class SystemBootMain {
public static void main(String[] args) {
SpringApplication.run(SystemBootMain.class, args);

View File

@@ -1,11 +1,10 @@
package com.njcn.system.mapper;
import com.njcn.db.mapper.BatchMapper;
import com.njcn.db.mapper.BatchBaseMapper;
import com.njcn.system.excel.UserLogExcel;
import com.njcn.system.pojo.po.UserLog;
import org.apache.ibatis.annotations.Param;
import java.util.HashSet;
import java.util.List;
@@ -17,7 +16,7 @@ import java.util.List;
* @author hongawen
* @since 2021-12-13
*/
public interface UserLogMapper extends BatchMapper<UserLog> {
public interface UserLogMapper extends BatchBaseMapper<UserLog> {
/**