Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
2378175b
Commit
2378175b
authored
Aug 03, 2025
by
wujipeng
Browse files
表名修改
parent
15b20023
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/platform/mapper/CaseMapper.java
View file @
2378175b
...
...
@@ -2,7 +2,7 @@ package com.platform.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.platform.model.dto.CaseDTO
;
import
com.platform.model.entity.CaseEntity
;
import
com.platform.model.entity.Case
s
Entity
;
import
com.platform.model.vo.CaseVO
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Param;
import
java.util.List
;
@Mapper
public
interface
CaseMapper
extends
BaseMapper
<
CaseEntity
>
{
public
interface
CaseMapper
extends
BaseMapper
<
Case
s
Entity
>
{
List
<
CaseVO
>
pageCase
(
CaseDTO
caseDTO
);
...
...
@@ -21,5 +21,5 @@ public interface CaseMapper extends BaseMapper<CaseEntity> {
Boolean
removeBatchCase
(
@Param
(
"ids"
)
List
<
String
>
ids
);
CaseEntity
getInfoById
(
Integer
id
);
Case
s
Entity
getInfoById
(
Integer
id
);
}
src/main/java/com/platform/model/dto/CaseDTO.java
View file @
2378175b
package
com.platform.model.dto
;
import
com.platform.model.entity.CaseEntity
;
import
com.platform.model.entity.Case
s
Entity
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -15,7 +15,7 @@ import java.util.Date;
*/
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
public
class
CaseDTO
extends
CaseEntity
{
public
class
CaseDTO
extends
Case
s
Entity
{
@ApiModelProperty
(
value
=
"页数"
,
example
=
"0"
)
private
Integer
pageNum
;
...
...
src/main/java/com/platform/model/vo/CaseVO.java
View file @
2378175b
package
com.platform.model.vo
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.platform.model.entity.CaseEntity
;
import
com.platform.model.entity.Case
s
Entity
;
import
lombok.*
;
import
java.util.List
;
...
...
@@ -20,7 +20,7 @@ import lombok.EqualsAndHashCode;
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
public
class
CaseVO
extends
CaseEntity
{
public
class
CaseVO
extends
Case
s
Entity
{
private
String
payUserName
;
...
...
src/main/java/com/platform/service/CaseService.java
View file @
2378175b
...
...
@@ -3,14 +3,14 @@ package com.platform.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.platform.model.dto.CaseDTO
;
import
com.platform.model.dto.ExcelDataDTO
;
import
com.platform.model.entity.CaseEntity
;
import
com.platform.model.entity.Case
s
Entity
;
import
com.platform.model.vo.CaseVO
;
import
com.platform.model.vo.ExcelDataVO
;
import
com.platform.model.vo.GraphVO
;
import
java.util.List
;
public
interface
CaseService
extends
IService
<
CaseEntity
>
{
public
interface
CaseService
extends
IService
<
Case
s
Entity
>
{
/**
* 分页查询
...
...
src/main/java/com/platform/service/impl/AnalysisServiceImpl.java
View file @
2378175b
...
...
@@ -59,7 +59,7 @@ public class AnalysisServiceImpl implements AnalysisService {
@Transactional
public
Result
<?>
canvas
(
MultipartFile
[]
files
,
String
caseId
,
String
folderName
)
{
//查询模板
CaseEntity
caseEntity
=
caseService
.
getById
(
caseId
);
Case
s
Entity
caseEntity
=
caseService
.
getById
(
caseId
);
String
templateId
=
caseEntity
.
getTemplateId
();
if
(
StringUtils
.
isEmpty
(
templateId
)){
throw
new
BusinessException
(
"案件未绑定模板"
);
...
...
src/main/java/com/platform/service/impl/CaseServiceImpl.java
View file @
2378175b
...
...
@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import
com.platform.mapper.CaseMapper
;
import
com.platform.model.dto.CaseDTO
;
import
com.platform.model.dto.ExcelDataDTO
;
import
com.platform.model.entity.CaseEntity
;
import
com.platform.model.entity.Case
s
Entity
;
import
com.platform.model.entity.ExcelDataEntity
;
import
com.platform.model.entity.GroupDetailEntity
;
import
com.platform.model.entity.UserRelationEntity
;
...
...
@@ -21,7 +21,7 @@ import java.util.*;
import
java.util.stream.Collectors
;
@Service
public
class
CaseServiceImpl
extends
ServiceImpl
<
CaseMapper
,
CaseEntity
>
implements
CaseService
{
public
class
CaseServiceImpl
extends
ServiceImpl
<
CaseMapper
,
Case
s
Entity
>
implements
CaseService
{
@Resource
private
NodeService
nodeService
;
...
...
@@ -106,7 +106,7 @@ public class CaseServiceImpl extends ServiceImpl<CaseMapper, CaseEntity> impleme
public
GraphVO
draw
(
CaseDTO
caseDTO
)
{
// 初始化画布对象
GraphVO
graph
=
new
GraphVO
();
CaseEntity
caseEntity
=
baseMapper
.
getInfoById
(
caseDTO
.
getId
());
Case
s
Entity
caseEntity
=
baseMapper
.
getInfoById
(
caseDTO
.
getId
());
if
(
caseEntity
==
null
)
{
return
graph
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment