Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-supervisor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6014a4ed
authored
Mar 19, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]优秀案例审核
1 parent
c7824532
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/ExcellentCaseDetailDTO.java
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemote.java
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemoteImpl.java
rpc-dj-supervisor/src/main/resources/META-INF/orm/ExcellentCaseReviewMapper.xml
rpc-dj-supervisor/src/test/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemoteImplTest.java
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/ExcellentCaseDetailDTO.java
View file @
6014a4e
...
...
@@ -47,6 +47,9 @@ public class ExcellentCaseDetailDTO implements Serializable {
@ApiModelProperty
(
notes
=
"接待结束时间"
)
private
Date
receptionEndTime
;
@ApiModelProperty
(
notes
=
"接待时间"
)
private
String
receptionTime
;
@ApiModelProperty
(
notes
=
"接待状态"
)
private
Integer
receptionStatus
;
...
...
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemote.java
View file @
6014a4e
...
...
@@ -7,7 +7,6 @@ import cn.com.glsx.dj.supervisor.dto.ExcellentCaseSubmitDTO;
import
cn.com.glsx.framework.core.annotation.*
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
com.github.pagehelper.Page
;
import
java.util.List
;
...
...
@@ -50,7 +49,7 @@ public interface ExcellentCaseReviewRemote {
@ApiMethod
(
"查询优秀案例列表"
)
@ApiParams
({
@ApiParam
(
name
=
"request"
,
notes
=
"查询参数"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)})
@ApiResponse
(
"优秀案例列表"
)
RpcResponse
<
Page
<
ExcellentCaseDetailDTO
>>
queryExcellentCaseList
(
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
request
);
RpcResponse
<
RpcPagination
<
ExcellentCaseDetailDTO
>>
queryExcellentCaseList
(
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
request
);
/**
* 查询优秀案例详情
...
...
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemoteImpl.java
View file @
6014a4e
...
...
@@ -69,10 +69,10 @@ public class ExcellentCaseReviewRemoteImpl implements ExcellentCaseReviewRemote
* @return RPC响应,包含分页的案例列表
*/
@Override
public
RpcResponse
<
Page
<
ExcellentCaseDetailDTO
>>
queryExcellentCaseList
(
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
request
)
{
public
RpcResponse
<
RpcPagination
<
ExcellentCaseDetailDTO
>>
queryExcellentCaseList
(
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
request
)
{
try
{
Page
result
=
excellentCaseReviewService
.
queryExcellentCaseList
(
request
);
return
RpcResponse
.
success
(
result
);
Page
<
ExcellentCaseDetailDTO
>
result
=
excellentCaseReviewService
.
queryExcellentCaseList
(
request
);
return
RpcResponse
.
success
(
RpcPagination
.
copyPage
(
result
)
);
}
catch
(
RpcServiceException
e
)
{
log
.
error
(
"cn.com.glsx.dj.supervisor.remote.ExcellentCaseReviewRemoteImpl.queryExcellentCaseList error {}"
,
e
);
return
RpcResponse
.
error
(
e
.
getError
(),
e
.
getMessage
());
...
...
rpc-dj-supervisor/src/main/resources/META-INF/orm/ExcellentCaseReviewMapper.xml
View file @
6014a4e
...
...
@@ -76,6 +76,7 @@
t1.car_model,
t1.reception_start_time,
t1.reception_end_time,
date(t1.reception_start_time) as reception_date,
t1.reception_status,
t1.staff_uuid,
t2.recording_url,
...
...
rpc-dj-supervisor/src/test/java/cn/com/glsx/dj/supervisor/remote/ExcellentCaseReviewRemoteImplTest.java
View file @
6014a4e
...
...
@@ -38,6 +38,12 @@ public class ExcellentCaseReviewRemoteImplTest extends BaseServiceTest {
public
void
testQueryExcellentCaseList
()
{
RpcPagination
<
ExcellentCaseReviewQueryDTO
>
request
=
new
RpcPagination
<>();
ExcellentCaseReviewQueryDTO
condition
=
new
ExcellentCaseReviewQueryDTO
();
condition
.
setStaffName
(
"谢海旭"
);
condition
.
setMerchantId
(
1
);
condition
.
setMerchantName
(
"商户1"
);
condition
.
setCustomerType
(
"普通"
);
condition
.
setSubmitterName
(
"谢海旭"
);
condition
.
setReviewStatus
(
0
);
request
.
setCondition
(
condition
);
RpcResponse
response
=
excellentCaseReviewRemote
.
queryExcellentCaseList
(
request
);
System
.
out
.
println
(
JSON
.
toJSONString
(
response
));
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment