【修改】 名称替换

This commit is contained in:
DESKTOP-932OMT8\REN
2025-05-21 17:28:26 +08:00
parent 3bd8a424ec
commit b5f18ba897
1212 changed files with 1262 additions and 1270 deletions

View File

@@ -11,7 +11,7 @@ import lombok.*;
*
* 每个大屏图标,对应一个项目
*
* @author 芋道源码
* @author 朋辰
*/
@TableName(value = "report_go_view_project", autoResultMap = true) // 由于 SQL Server 的 system_user 是关键字,所以使用 system_users
@KeySequence("report_go_view_project_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 积木报表的配置类
*
* @author 芋道源码
* @author 朋辰
*/
@Configuration(proxyBeanMethods = false)
@ComponentScan(basePackages = "org.jeecg.modules.jmreport") // 扫描积木报表的包

View File

@@ -1,6 +1,6 @@
/**
* 属于 report 模块的 framework 封装
*
* @author 芋道源码
* @author 朋辰
*/
package pc.exam.pp.module.report.framework;

View File

@@ -5,7 +5,7 @@ import pc.exam.pp.module.report.controller.admin.goview.vo.data.GoViewDataRespVO
/**
* GoView 数据 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface GoViewDataService {

View File

@@ -20,7 +20,7 @@ import java.util.Map;
* 1. 目前默认使用 jdbcTemplate 查询项目配置的数据源。如果你想查询其它数据源,可以新建对应数据源的 jdbcTemplate 来实现。
* 2. 默认数据源是 MySQL 关系数据源,可能数据量比较大的情况下,会比较慢,可以考虑后续使用 Click House 等等。
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -11,7 +11,7 @@ import jakarta.validation.Valid;
/**
* GoView 项目 Service 接口
*
* @author 芋道源码
* @author 朋辰
*/
public interface GoViewProjectService {

View File

@@ -19,7 +19,7 @@ import static pc.exam.pp.module.report.enums.ErrorCodeConstants.GO_VIEW_PROJECT_
/**
* GoView 项目 Service 实现类
*
* @author 芋道源码
* @author 朋辰
*/
@Service
@Validated

View File

@@ -40,7 +40,7 @@ public class GoViewDataServiceImplTest extends BaseDbUnitTest {
// mock 数据明细
when(sqlRowSet.next()).thenReturn(true).thenReturn(true).thenReturn(false);
when(sqlRowSet.getObject("id")).thenReturn(1L).thenReturn(2L);
when(sqlRowSet.getObject("name")).thenReturn("芋道源码").thenReturn("芋道");
when(sqlRowSet.getObject("name")).thenReturn("朋辰").thenReturn("芋道");
// 调用
GoViewDataRespVO dataBySQL = goViewDataService.getDataBySQL(sql);
@@ -49,7 +49,7 @@ public class GoViewDataServiceImplTest extends BaseDbUnitTest {
assertEquals(2, dataBySQL.getDimensions().size());
assertEquals(2, dataBySQL.getSource().get(0).size());
assertEquals(1L, dataBySQL.getSource().get(0).get("id"));
assertEquals("芋道源码", dataBySQL.getSource().get(0).get("name"));
assertEquals("朋辰", dataBySQL.getSource().get(0).get("name"));
assertEquals(2, dataBySQL.getSource().get(1).size());
assertEquals(2L, dataBySQL.getSource().get(1).get("id"));
assertEquals("芋道", dataBySQL.getSource().get(1).get("name"));

View File

@@ -22,7 +22,7 @@ import static org.junit.jupiter.api.Assertions.*;
/**
* {@link GoViewProjectServiceImpl} 的单元测试类
*
* @author 芋道源码
* @author 朋辰
*/
@Import(GoViewProjectServiceImpl.class)
public class GoViewProjectServiceImplTest extends BaseDbUnitTest {