Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-pe-analysis
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 155bed88
authored
Dec 29, 2025
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:1047852:我的事项列表,事项未处理数量事项详情等接口ROP
1 parent
11e02743
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
543 additions
and
9 deletions
src/main/java/cn/com/glsx/dj/controller/BiMatterController.java
src/main/java/cn/com/glsx/dj/converter/BiMatterConvert.java
src/main/java/cn/com/glsx/dj/request/biAnalyse/MerchantBiMatterAddReq.java
src/main/java/cn/com/glsx/dj/request/biAnalyse/MerchantBiMatterSingleIdReq.java
src/main/java/cn/com/glsx/dj/request/biAnalyse/MyMerchantBiMatterQryReq.java
src/main/java/cn/com/glsx/dj/response/bianalysis/MerchantBiMatterResp.java
src/main/java/cn/com/glsx/dj/response/bianalysis/MyMerchantBiMatterResp.java
src/main/java/cn/com/glsx/dj/response/bianalysis/OperatorResp.java
src/test/java/cn/com/glsx/dj/controller/BiMatterControllerTest.java
src/main/java/cn/com/glsx/dj/controller/BiMatterController.java
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
controller
;
package
cn
.
com
.
glsx
.
dj
.
controller
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.MerchantBiMatterAddDTO
;
import
cn.com.glsx.dj.converter.BiMatterConvert
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.MerchantBiMatterHandleDTO
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.*
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.MerchantOperatorDTO
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.MerchantOperatorDetailDTO
;
import
cn.com.glsx.dj.peanalysis.enums.BiErrorEnum
;
import
cn.com.glsx.dj.peanalysis.enums.BiErrorEnum
;
import
cn.com.glsx.dj.peanalysis.remote.BiAnalyseBackgroundRemote
;
import
cn.com.glsx.dj.peanalysis.remote.BiAnalyseBackgroundRemote
;
import
cn.com.glsx.dj.request.biAnalyse.MerchantBiMatterAddReq
;
import
cn.com.glsx.dj.request.biAnalyse.*
;
import
cn.com.glsx.dj.request.biAnalyse.MerchantBiMatterHandleReq
;
import
cn.com.glsx.dj.request.biAnalyse.MerchantOperatorReq
;
import
cn.com.glsx.dj.response.LoginUserInfoResponse
;
import
cn.com.glsx.dj.response.LoginUserInfoResponse
;
import
cn.com.glsx.dj.response.bianalysis.MerchantBiMatterResp
;
import
cn.com.glsx.dj.response.bianalysis.MerchantOperatorDetailResp
;
import
cn.com.glsx.dj.response.bianalysis.MerchantOperatorDetailResp
;
import
cn.com.glsx.dj.response.bianalysis.MyMerchantBiMatterResp
;
import
cn.com.glsx.dj.util.CommonUtil
;
import
cn.com.glsx.dj.util.CommonUtil
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.enums.DefaultErrorEnum
;
import
cn.com.glsx.framework.core.enums.DefaultErrorEnum
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.rop.AbstractRopRequest
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethodBean
;
import
com.rop.annotation.ServiceMethodBean
;
...
@@ -39,9 +39,9 @@ import java.util.Optional;
...
@@ -39,9 +39,9 @@ import java.util.Optional;
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
YES
)
public
class
BiMatterController
{
public
class
BiMatterController
{
private
final
BiMatterConvert
biMatterConvert
;
private
final
BiAnalyseBackgroundRemote
biAnalyseBackgroundRemote
;
private
final
BiAnalyseBackgroundRemote
biAnalyseBackgroundRemote
;
@ApiOperation
(
"bi事项管理-新增待跟进事项"
)
@ApiOperation
(
"bi事项管理-新增待跟进事项"
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.business.analysis.merchant.bi.matter.add"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.business.analysis.merchant.bi.matter.add"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Boolean
>
merchantBiMatterAdd
(
MerchantBiMatterAddReq
request
)
{
public
RopResponse
<
Boolean
>
merchantBiMatterAdd
(
MerchantBiMatterAddReq
request
)
{
...
@@ -116,4 +116,80 @@ public class BiMatterController {
...
@@ -116,4 +116,80 @@ public class BiMatterController {
return
RopResponse
.
result
(
DefaultErrorEnum
.
SERVICE_ERROR
);
return
RopResponse
.
result
(
DefaultErrorEnum
.
SERVICE_ERROR
);
}
}
}
}
@ApiOperation
(
"BI-我的事项列表"
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.business.analysis.my.merchant.bi.matter.page"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
RpcPagination
<
MyMerchantBiMatterResp
>>
myMerchantBiMatterPage
(
MyMerchantBiMatterQryReq
request
)
{
try
{
LoginUserInfoResponse
loginUserDTO
=
Optional
.
ofNullable
(
CommonUtil
.
getLoginUserInfo
())
.
orElseThrow
(()
->
new
RpcServiceException
(
BiErrorEnum
.
LOGIN_USER_NOT_EXIST
));
String
uuid
=
loginUserDTO
.
getUuid
();
RpcPagination
<
MyMerchantBiMatterQryDTO
>
rpcPagination
=
CommonUtil
.
getRpcPagination
(
MyMerchantBiMatterQryDTO
.
class
);
MyMerchantBiMatterQryDTO
condition
=
BeanUtil
.
copyProperties
(
request
,
MyMerchantBiMatterQryDTO
.
class
);
condition
.
setOperator
(
uuid
);
rpcPagination
.
setCondition
(
condition
);
RpcResponse
<
RpcPagination
<
MyMerchantBiMatterDTO
>>
rpcPaginationRpcResponse
=
biAnalyseBackgroundRemote
.
myMerchantBiMatterPage
(
rpcPagination
);
if
(
rpcPaginationRpcResponse
.
isFailed
())
{
throw
new
RpcServiceException
(
rpcPaginationRpcResponse
.
getError
(),
rpcPaginationRpcResponse
.
getMessage
());
}
RpcPagination
<
MyMerchantBiMatterDTO
>
rpcPaginationDTO
=
rpcPaginationRpcResponse
.
getResult
();
RpcPagination
<
MyMerchantBiMatterResp
>
resultPage
=
biMatterConvert
.
MyMerchantBiMatterDto2ResponsePage
(
rpcPaginationDTO
);
return
RopResponse
.
success
(
resultPage
);
}
catch
(
RpcServiceException
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.my.merchant.bi.matter.page occur error!"
,
e
);
return
RopResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.my.merchant.bi.matter.page occur error!"
,
e
);
return
RopResponse
.
result
(
DefaultErrorEnum
.
SERVICE_ERROR
);
}
}
@ApiOperation
(
"BI-事项管理详情"
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.business.analysis.merchant.bi.operator.detail"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
MerchantBiMatterResp
>
biMatterOperatorDetail
(
MerchantBiMatterSingleIdReq
request
)
{
try
{
MerchantBiMatterSingleIdDTO
merchantBiMatterSingleIdDTO
=
BeanUtil
.
copyProperties
(
request
,
MerchantBiMatterSingleIdDTO
.
class
);
RpcResponse
<
MerchantBiMatterDTO
>
rpcResponse
=
biAnalyseBackgroundRemote
.
biMatterOperatorDetail
(
merchantBiMatterSingleIdDTO
);
if
(
rpcResponse
.
isFailed
())
{
throw
new
RpcServiceException
(
rpcResponse
.
getError
(),
rpcResponse
.
getMessage
());
}
MerchantBiMatterDTO
merchantBiMatterDTO
=
rpcResponse
.
getResult
();
MerchantBiMatterResp
merchantBiMatterResp
=
BeanUtil
.
copyProperties
(
merchantBiMatterDTO
,
MerchantBiMatterResp
.
class
);
return
RopResponse
.
success
(
merchantBiMatterResp
);
}
catch
(
RpcServiceException
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.merchant.bi.operator.detail occur error!"
,
e
);
return
RopResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.merchant.bi.operator.detail occur error!"
,
e
);
return
RopResponse
.
result
(
DefaultErrorEnum
.
SERVICE_ERROR
);
}
}
@ApiOperation
(
"BI-我的事项未处理数量"
)
@ServiceMethod
(
method
=
"dj.api.smartcarlife.business.analysis.merchant.unhandle.count"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Integer
>
getMyBiMatterUnHandleCount
(
AbstractRopRequest
request
)
{
try
{
LoginUserInfoResponse
loginUserDTO
=
Optional
.
ofNullable
(
CommonUtil
.
getLoginUserInfo
())
.
orElseThrow
(()
->
new
RpcServiceException
(
BiErrorEnum
.
LOGIN_USER_NOT_EXIST
));
String
uuid
=
loginUserDTO
.
getUuid
();
RpcResponse
<
Integer
>
rpcResponse
=
biAnalyseBackgroundRemote
.
getMyBiMatterUnHandleCount
(
uuid
);
if
(
rpcResponse
.
isFailed
())
{
throw
new
RpcServiceException
(
rpcResponse
.
getError
(),
rpcResponse
.
getMessage
());
}
Integer
unHandleCount
=
rpcResponse
.
getResult
();
return
RopResponse
.
success
(
unHandleCount
);
}
catch
(
RpcServiceException
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.merchant.unhandle.count occur error!"
,
e
);
return
RopResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
log
.
info
(
"dj.api.smartcarlife.business.analysis.merchant.unhandle.count occur error!"
,
e
);
return
RopResponse
.
result
(
DefaultErrorEnum
.
SERVICE_ERROR
);
}
}
}
}
src/main/java/cn/com/glsx/dj/converter/BiMatterConvert.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.analysis.MyMerchantBiMatterDTO
;
import
cn.com.glsx.dj.response.bianalysis.MyMerchantBiMatterResp
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
org.mapstruct.Mapper
;
/**
* BI 事项处理映射
* @author yangwei
* @version 1.0
* @since 2025/12/29 14:24
*/
@Mapper
(
componentModel
=
"spring"
)
public
interface
BiMatterConvert
{
RpcPagination
<
MyMerchantBiMatterResp
>
MyMerchantBiMatterDto2ResponsePage
(
RpcPagination
<
MyMerchantBiMatterDTO
>
page
);
}
src/main/java/cn/com/glsx/dj/request/biAnalyse/MerchantBiMatterAddReq.java
View file @
155bed8
...
@@ -39,7 +39,7 @@ public class MerchantBiMatterAddReq extends AbstractRopRequest implements Serial
...
@@ -39,7 +39,7 @@ public class MerchantBiMatterAddReq extends AbstractRopRequest implements Serial
@ApiModelProperty
(
@ApiModelProperty
(
name
=
"businessType"
,
name
=
"businessType"
,
notes
=
"bi侧业务类型,1.延保 2.轻改 3.权益
4.二手车
"
,
notes
=
"bi侧业务类型,1.延保 2.轻改 3.权益
,不传为全业务
"
,
example
=
"金秋销售冲刺"
example
=
"金秋销售冲刺"
)
)
private
String
businessType
;
private
String
businessType
;
...
...
src/main/java/cn/com/glsx/dj/request/biAnalyse/MerchantBiMatterSingleIdReq.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
request
.
biAnalyse
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* BI-事项管理id请求对象
* @author yangwei
* @version 1.0
* @since 2025/12/12 14:32
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"BI-事项管理id请求对象"
)
public
class
MerchantBiMatterSingleIdReq
extends
AbstractRopRequest
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1041415353096052284L
;
/**
* 事项主键id
*/
@ApiModelProperty
(
name
=
"id"
,
notes
=
"事项主键id"
,
example
=
"金秋销售冲刺"
)
private
Long
id
;
}
src/main/java/cn/com/glsx/dj/request/biAnalyse/MyMerchantBiMatterQryReq.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
request
.
biAnalyse
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* 我的事项管理查询请求对象
* @author yangwei
* @version 1.0
* @since 2025/12/29 22:02
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"BI-我的事项管理查询请求对象"
)
public
class
MyMerchantBiMatterQryReq
extends
AbstractRopRequest
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2131438956530507394L
;
@ApiModelProperty
(
name
=
"pageNum"
,
notes
=
"当前页(默认1)"
,
dataType
=
"int"
,
example
=
"1"
)
private
Integer
pageNum
=
1
;
@ApiModelProperty
(
name
=
"pageSize"
,
notes
=
"每页数据大小(默认10)"
,
dataType
=
"int"
,
example
=
"10"
)
private
Integer
pageSize
=
10
;
/**
* 门店名称,模糊搜索
*/
@ApiModelProperty
(
name
=
"storeName"
,
notes
=
"门店名称"
,
example
=
"金秋销售冲刺"
)
private
String
storeName
;
/**
* 事项状态
* @see cn.com.glsx.dj.peanalysis.enums.MerchantBiMatterStatusEnum
*/
@ApiModelProperty
(
name
=
"status"
,
notes
=
"事项状态"
,
example
=
"金秋销售冲刺"
)
private
Integer
status
;
}
src/main/java/cn/com/glsx/dj/response/bianalysis/MerchantBiMatterResp.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
response
.
bianalysis
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.List
;
/**
* BI-事项管理响应对象
*
* @author yangwei
* @version 1.0
* @since 2025/12/12 14:54
*/
@Data
public
class
MerchantBiMatterResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
5546403052754612559L
;
/**
* 主键id
*/
@ApiModelProperty
(
name
=
"id"
,
notes
=
"主键id"
)
private
Long
id
;
/**
* 门店编号
*/
@ApiModelProperty
(
name
=
"storeNo"
,
notes
=
"门店编号"
)
private
String
storeNo
;
/**
* bi侧业务类型,1.延保 2.轻改 3.权益 4.二手车
*/
@ApiModelProperty
(
name
=
"businessType"
,
notes
=
"bi侧业务类型,1.延保 2.轻改 3.权益 4.二手车"
)
private
String
businessType
;
/**
* 门店名称
*/
@ApiModelProperty
(
name
=
"storeName"
,
notes
=
"门店名称"
)
private
String
storeName
;
/**
* 创建人
*/
@ApiModelProperty
(
name
=
"creator"
,
notes
=
"创建人"
)
private
String
creator
;
/**
* 创建时间
*/
@ApiModelProperty
(
name
=
"createdAt"
,
notes
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdAt
;
/**
* 1.代处理 2.已处理
*/
@ApiModelProperty
(
name
=
"status"
,
notes
=
"1.代处理 2.已处理"
)
private
Integer
status
;
/**
* 处理人
*/
@ApiModelProperty
(
name
=
"handler"
,
notes
=
"处理人"
)
private
String
handler
;
/**
* 处理时间
*/
@ApiModelProperty
(
name
=
"handledAt"
,
notes
=
"处理时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
handledAt
;
/**
* 事项描述
*/
@ApiModelProperty
(
name
=
"description"
,
notes
=
"事项描述"
)
private
String
description
;
/**
* 处理策略
*/
@ApiModelProperty
(
name
=
"handlingStrategy"
,
notes
=
"处理策略"
)
private
String
handlingStrategy
;
/**
* 线上运营
*/
@ApiModelProperty
(
name
=
"onlineOperator"
,
notes
=
"线上运营"
)
private
List
<
OperatorResp
>
onlineOperator
;
/**
* 区域运营
*/
@ApiModelProperty
(
name
=
"areaOperator"
,
notes
=
"区域运营"
)
private
List
<
OperatorResp
>
areaOperator
;
}
src/main/java/cn/com/glsx/dj/response/bianalysis/MyMerchantBiMatterResp.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
response
.
bianalysis
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.List
;
/**
* BI-我的事项响应对象
*
* @author yangwei
* @version 1.0
* @since 2025/12/12 14:54
*/
@Data
public
class
MyMerchantBiMatterResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
3348346879157326029L
;
/**
* 主键id
*/
@ApiModelProperty
(
name
=
"id"
,
notes
=
"主键id"
,
example
=
"1"
)
private
Long
id
;
/**
* 门店编号
*/
@ApiModelProperty
(
name
=
"storeNo"
,
notes
=
"门店编号"
,
example
=
"1"
)
private
String
storeNo
;
/**
* bi侧业务类型,1.延保 2.轻改 3.权益 4.二手车
*/
@ApiModelProperty
(
name
=
"businessType"
,
notes
=
"bi侧业务类型,1.延保 2.轻改 3.权益 4.二手车"
,
example
=
"1"
)
private
String
businessType
;
/**
* 门店名称
*/
@ApiModelProperty
(
name
=
"storeName"
,
notes
=
"门店名称"
,
example
=
"1"
)
private
String
storeName
;
/**
* 创建人
*/
@ApiModelProperty
(
name
=
"creator"
,
notes
=
"创建人"
,
example
=
"1"
)
private
String
creator
;
/**
* 创建时间
*/
@ApiModelProperty
(
name
=
"createdAt"
,
notes
=
"创建时间"
,
example
=
"1"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdAt
;
/**
* 1.代处理 2.已处理
*/
@ApiModelProperty
(
name
=
"status"
,
notes
=
"1.代处理 2.已处理"
,
example
=
"1"
)
private
Integer
status
;
/**
* 事项描述
*/
@ApiModelProperty
(
name
=
"description"
,
notes
=
"事项描述"
,
example
=
"1"
)
private
String
description
;
/**
* 线上运营
*/
@ApiModelProperty
(
name
=
"onlineOperator"
,
notes
=
"线上运营"
)
private
List
<
OperatorResp
>
onlineOperator
;
/**
* 区域运营
*/
@ApiModelProperty
(
name
=
"areaOperator"
,
notes
=
"区域运营"
)
private
List
<
OperatorResp
>
areaOperator
;
}
src/main/java/cn/com/glsx/dj/response/bianalysis/OperatorResp.java
0 → 100644
View file @
155bed8
package
cn
.
com
.
glsx
.
dj
.
response
.
bianalysis
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* @author yangwei
* @version 1.0
* @since 2025/12/29 11:39
*/
@Data
public
class
OperatorResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
5271042959850503848L
;
/**
* 员工uuid
*/
@ApiModelProperty
(
name
=
"员工uuid"
,
notes
=
"线上运营"
,
example
=
"1"
)
private
String
uuid
;
/**
* 运营人员名称
*/
@ApiModelProperty
(
name
=
"us运营人员名称"
,
notes
=
"线上运营"
,
example
=
"1"
)
private
String
username
;
}
src/test/java/cn/com/glsx/dj/controller/BiMatterControllerTest.java
View file @
155bed8
...
@@ -55,4 +55,39 @@ public class BiMatterControllerTest extends BaseControllerTest {
...
@@ -55,4 +55,39 @@ public class BiMatterControllerTest extends BaseControllerTest {
System
.
out
.
println
(
post
(
params
));
System
.
out
.
println
(
post
(
params
));
}
}
@Test
public
void
testMyMerchantBiMatterPage
()
throws
Exception
{
MultiValueMap
<
String
,
String
>
params
=
new
LinkedMultiValueMap
<
String
,
String
>();
params
.
add
(
"v"
,
"1.0.0"
);
params
.
add
(
"method"
,
"dj.api.smartcarlife.business.analysis.my.merchant.bi.matter.page"
);
params
.
add
(
"storeName"
,
"明明崇"
);
// params.add("status", "1");
// params.add("status", "1");
params
.
add
(
"sessionId"
,
"389cf6be-bc49-4268-8dda-c032a93e0cd1"
);
System
.
out
.
println
(
post
(
params
));
}
@Test
public
void
testBiMatterOperatorDetail
()
throws
Exception
{
MultiValueMap
<
String
,
String
>
params
=
new
LinkedMultiValueMap
<
String
,
String
>();
params
.
add
(
"v"
,
"1.0.0"
);
params
.
add
(
"method"
,
"dj.api.smartcarlife.business.analysis.merchant.bi.operator.detail"
);
params
.
add
(
"id"
,
"12"
);
params
.
add
(
"sessionId"
,
"389cf6be-bc49-4268-8dda-c032a93e0cd1"
);
System
.
out
.
println
(
post
(
params
));
}
@Test
public
void
testGetMyBiMatterUnHandleCount
()
throws
Exception
{
MultiValueMap
<
String
,
String
>
params
=
new
LinkedMultiValueMap
<
String
,
String
>();
params
.
add
(
"v"
,
"1.0.0"
);
params
.
add
(
"method"
,
"dj.api.smartcarlife.business.analysis.merchant.unhandle.count"
);
// params.add("id", "12");
params
.
add
(
"sessionId"
,
"389cf6be-bc49-4268-8dda-c032a93e0cd1"
);
System
.
out
.
println
(
post
(
params
));
}
}
}
\ No newline at end of file
\ No newline at end of file
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