Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
35fe7d48
提交
35fe7d48
authored
2月 04, 2024
作者:
huyufan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
注释
上级
93d6b926
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
124 行增加
和
127 行删除
+124
-127
TempController.java
...a/com/clx/performance/controller/temp/TempController.java
+124
-127
没有找到文件。
performance-web/src/main/java/com/clx/performance/controller/temp/TempController.java
浏览文件 @
35fe7d48
package
com
.
clx
.
performance
.
controller
.
temp
;
//package com.clx.performance.controller.temp;
//
import
com.clx.performance.component.ThirdComponent
;
//import com.clx.performance.component.ThirdComponent;
import
com.clx.performance.extranal.transport.TransportService
;
//import com.clx.performance.extranal.transport.TransportService;
import
com.clx.performance.param.feign.transport.ThirdOrderChildBrokerParam
;
//import com.clx.performance.param.feign.transport.ThirdOrderChildBrokerParam;
import
com.clx.performance.config.MslPaymentConfig
;
//import com.clx.performance.config.MslPaymentConfig;
import
com.clx.performance.feign.TransportFeignService
;
//import com.clx.performance.feign.TransportFeignService;
import
com.clx.performance.param.feign.transport.OrderChildPaySyncParam
;
//import com.clx.performance.param.feign.transport.OrderChildPaySyncParam;
import
com.clx.performance.param.feign.transport.OwnerSettlementSyncParam
;
//import com.clx.performance.param.feign.transport.OwnerSettlementSyncParam;
import
com.clx.performance.param.feign.transport.ThirdOrderChildRiskStatusParam
;
//import com.clx.performance.param.feign.transport.ThirdOrderChildRiskStatusParam;
import
com.clx.performance.service.TempService
;
//import com.clx.performance.service.TempService;
import
com.clx.performance.service.child.FeignOrderChildService
;
//import com.clx.performance.service.child.FeignOrderChildService;
import
com.clx.performance.vo.pc.child.OrderChildLineStatisticsVO
;
//import com.clx.performance.vo.pc.child.OrderChildLineStatisticsVO;
import
com.msl.common.dto.HttpDTO
;
//import com.msl.common.dto.HttpDTO;
import
com.msl.common.result.Result
;
//import com.msl.common.result.Result;
import
io.swagger.annotations.ApiOperation
;
//import io.swagger.annotations.ApiOperation;
import
lombok.extern.slf4j.Slf4j
;
//import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.factory.annotation.Autowired
;
//import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.*
;
//import org.springframework.web.bind.annotation.*;
//
import
javax.validation.constraints.NotBlank
;
//import javax.validation.constraints.NotBlank;
//
//
/**
///**
* @Author: aiqingguo
// * @Author: aiqingguo
* @Description: 临时接口
// * @Description: 临时接口
* @Date: 2023-8-21 12:10:16
// * @Date: 2023-8-21 12:10:16
* @Version: 1.0
// * @Version: 1.0
*/
// */
@Slf4j
//@Slf4j
@RestController
//@RestController
@RequestMapping
(
value
=
"/temp"
)
//@RequestMapping(value="/temp")
public
class
TempController
{
//public class TempController {
//
@Autowired
// @Autowired
private
TempService
tempService
;
// private TempService tempService;
@Autowired
// @Autowired
private
FeignOrderChildService
carrierOrderChildService
;
// private FeignOrderChildService carrierOrderChildService;
@Autowired
// @Autowired
private
MslPaymentConfig
mslPaymentConfig
;
// private MslPaymentConfig mslPaymentConfig;
@Autowired
// @Autowired
private
TransportService
transportService
;
// private TransportService transportService;
@Autowired
// @Autowired
private
TransportFeignService
transportFeignService
;
// private TransportFeignService transportFeignService;
//
//
//
@ApiOperation
(
value
=
"test"
,
notes
=
"<br>By:艾庆国"
)
// @ApiOperation(value = "test", notes = "<br>By:艾庆国")
@RequestMapping
(
value
=
"/test"
,
method
=
RequestMethod
.
GET
)
// @RequestMapping(value = "/test", method = RequestMethod.GET)
public
Result
<
MslPaymentConfig
>
test
()
{
// public Result<MslPaymentConfig> test() {
//
return
Result
.
ok
(
mslPaymentConfig
);
// return Result.ok(mslPaymentConfig);
}
// }
//
@ApiOperation
(
value
=
"更新网运标识"
,
notes
=
"<br>By:艾庆国"
)
@RequestMapping
(
value
=
"/updateInvoiceType"
,
method
=
RequestMethod
.
POST
)
public
Result
<
Void
>
updateInvoiceType
(
String
childNo
,
Integer
invoiceType
)
{
tempService
.
updateInvoiceType
(
childNo
,
invoiceType
);
public
Result
test
()
{
return
Result
.
ok
();
}
// @ApiOperation(value = "更新网运标识", notes = "<br>By:艾庆国")
// @ApiOperation(value = "更新网运标识", notes = "<br>By:艾庆国")
// @RequestMapping(value = "/updateInvoiceType", method = RequestMethod.POST)
// @RequestMapping(value = "/updateInvoiceType", method = RequestMethod.POST)
// public Result<Void> updateInvoiceType(String childNo, Integer invoiceType) {
// public Result<Void> updateInvoiceType(String childNo, Integer invoiceType) {
//
//
// tempService.updateInvoiceType(childNo, invoiceType);
// tempService.updateInvoiceType(childNo, invoiceType);
//
//
// return Result.ok();
// }
// @ApiOperation(value = "司机违约结算单完成 (临时接口)", notes = "<br>By:艾庆国")
// @RequestMapping(value = "/updateBreakContractDriverSettlementFinish", method = RequestMethod.POST)
// public Result<Void> updateBreakContractDriverSettlementFinish(String settlementNo) {
//
//
// tempService.updateBreakContractDriverSettlementFinish(settlementNo);
//// @ApiOperation(value = "更新网运标识", notes = "<br>By:艾庆国")
//// @RequestMapping(value = "/updateInvoiceType", method = RequestMethod.POST)
//// public Result<Void> updateInvoiceType(String childNo, Integer invoiceType) {
////
//// tempService.updateInvoiceType(childNo, invoiceType);
////
//// return Result.ok();
//// }
//
//
// return Result.ok();
//
// }
//// @ApiOperation(value = "司机违约结算单完成 (临时接口)", notes = "<br>By:艾庆国")
//// @RequestMapping(value = "/updateBreakContractDriverSettlementFinish", method = RequestMethod.POST)
@ApiOperation
(
value
=
"测试支付划账 (临时接口)"
,
notes
=
"<br>By:胡宁宁"
)
//// public Result<Void> updateBreakContractDriverSettlementFinish(String settlementNo) {
@RequestMapping
(
value
=
"/paymentTest"
,
method
=
RequestMethod
.
GET
)
////
public
Result
<
Void
>
paymentTest
(
@RequestParam
(
"fromUser"
)
@NotBlank
(
message
=
"扣款方"
)
String
fromUser
,
//// tempService.updateBreakContractDriverSettlementFinish(settlementNo);
@RequestParam
(
"toUser"
)
@NotBlank
(
message
=
"收款方"
)
String
toUser
,
////
@RequestParam
(
"figure"
)
@NotBlank
(
message
=
"金额"
)
String
figure
)
{
//// return Result.ok();
//// }
tempService
.
paymentTest
(
fromUser
,
toUser
,
figure
);
//
// @ApiOperation(value = "测试支付划账 (临时接口)", notes = "<br>By:胡宁宁")
return
Result
.
ok
();
// @RequestMapping(value = "/paymentTest", method = RequestMethod.GET)
}
// public Result<Void> paymentTest(@RequestParam("fromUser") @NotBlank(message = "扣款方") String fromUser,
// @RequestParam("toUser") @NotBlank(message = "收款方") String toUser,
// @RequestParam("figure") @NotBlank(message = "金额") String figure) {
// @ApiOperation(value = "承运同步网络货运 (临时接口)", notes = "<br>By:艾庆国")
//
// @RequestMapping(value = "/orderChildSync", method = RequestMethod.GET)
// tempService.paymentTest(fromUser,toUser,figure);
// public Result<Void> orderChildSync(@RequestBody ThirdOrderChildBrokerParam param1) {
// ThirdOrderChildBrokerParam param = new ThirdOrderChildBrokerParam();
// param.setChildNo("123");
//
// transportService.orderChildSync(param);
//
//
// return Result.ok();
// return Result.ok();
// }
// }
//
// @ApiOperation(value = "运单支付运费同步 (临时接口)", notes = "<br>By:艾庆国")
//
// @RequestMapping(value = "/orderChildPaySync", method = RequestMethod.POST)
//// @ApiOperation(value = "承运同步网络货运 (临时接口)", notes = "<br>By:艾庆国")
// public Result<Void> orderChildPaySync(@RequestBody OrderChildPaySyncParam param) {
//// @RequestMapping(value = "/orderChildSync", method = RequestMethod.GET)
//
//// public Result<Void> orderChildSync(@RequestBody ThirdOrderChildBrokerParam param1) {
// HttpDTO httpDTO = transportFeignService.orderChildPaySync(param);
//// ThirdOrderChildBrokerParam param = new ThirdOrderChildBrokerParam();
// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
//// param.setChildNo("123");
// log.info("{}", decrypt);
////
// return Result.ok();
//// transportService.orderChildSync(param);
// }
////
//// return Result.ok();
// @ApiOperation(value = "货主结算单同步 (临时接口)", notes = "<br>By:艾庆国")
//// }
// @RequestMapping(value = "/ownerSettlementSync", method = RequestMethod.POST)
//
// public Result<Void> ownerSettlementSync(@RequestBody OwnerSettlementSyncParam param) {
//// @ApiOperation(value = "运单支付运费同步 (临时接口)", notes = "<br>By:艾庆国")
//
//// @RequestMapping(value = "/orderChildPaySync", method = RequestMethod.POST)
// HttpDTO httpDTO = transportFeignService.ownerSettlementSync(param);
//// public Result<Void> orderChildPaySync(@RequestBody OrderChildPaySyncParam param) {
// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
////
// log.info("{}", decrypt);
//// HttpDTO httpDTO = transportFeignService.orderChildPaySync(param);
// return Result.ok();
//// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
// }
//// log.info("{}", decrypt);
//// return Result.ok();
// @ApiOperation(value = "获取风控状态 (临时接口)", notes = "<br>By:艾庆国")
//// }
// @RequestMapping(value = "/getRiskStatus", method = RequestMethod.POST)
//
// public Result<Void> getRiskStatus(String childNo) {
//// @ApiOperation(value = "货主结算单同步 (临时接口)", notes = "<br>By:艾庆国")
// ThirdOrderChildRiskStatusParam param = ThirdOrderChildRiskStatusParam.builder().build();
//// @RequestMapping(value = "/ownerSettlementSync", method = RequestMethod.POST)
// param.setChildNo(childNo);
//// public Result<Void> ownerSettlementSync(@RequestBody OwnerSettlementSyncParam param) {
// HttpDTO httpDTO = transportFeignService.getRiskStatus(param);
////
// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
//// HttpDTO httpDTO = transportFeignService.ownerSettlementSync(param);
// log.info("{}", decrypt);
//// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
// return Result.ok();
//// log.info("{}", decrypt);
// }
//// return Result.ok();
//// }
}
//
//// @ApiOperation(value = "获取风控状态 (临时接口)", notes = "<br>By:艾庆国")
//// @RequestMapping(value = "/getRiskStatus", method = RequestMethod.POST)
//// public Result<Void> getRiskStatus(String childNo) {
//// ThirdOrderChildRiskStatusParam param = ThirdOrderChildRiskStatusParam.builder().build();
//// param.setChildNo(childNo);
//// HttpDTO httpDTO = transportFeignService.getRiskStatus(param);
//// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
//// log.info("{}", decrypt);
//// return Result.ok();
//// }
//
//}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论