|
|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.uas.eis.dto.stksto.QueryAccountantProjectDto;
|
|
|
import com.uas.eis.dto.stksto.QueryCashFlowItemsDto;
|
|
|
import com.uas.eis.dto.stksto.QueryTravellingMerchantDto;
|
|
|
+import com.uas.eis.dto.stksto.StkCommonDto;
|
|
|
import com.uas.eis.sdk.dto.*;
|
|
|
import com.uas.eis.sdk.entity.ApiResult;
|
|
|
import com.uas.eis.service.RequestSTKService;
|
|
|
@@ -265,14 +266,14 @@ public class STKController {
|
|
|
request.put("size",pageSize);
|
|
|
|
|
|
//传入参数 此处案例仅放置了时间,可自行添加
|
|
|
- //JSONObject param=new JSONObject();
|
|
|
+ JSONObject param=new JSONObject();
|
|
|
//param.put("UPDATE_TIME_start","2024-05-09 14:24:06");
|
|
|
//param.put("UPDATE_TIME_end","2024-05-09 15:01:28");
|
|
|
//param.put("TASKNO","P2022032200000041");
|
|
|
//param.put("TASKCODE","202409");
|
|
|
|
|
|
|
|
|
- //request.put("param",param);
|
|
|
+ request.put("param",param);
|
|
|
|
|
|
String content = request.toString();
|
|
|
|
|
|
@@ -383,10 +384,12 @@ public class STKController {
|
|
|
//现金流测试
|
|
|
@GetMapping("apiPostxjl2")
|
|
|
public CashFlowItemsVo apiPostxjl2() throws Exception {
|
|
|
- QueryCashFlowItemsDto dto = new QueryCashFlowItemsDto();
|
|
|
+ StkCommonDto dto = new StkCommonDto();
|
|
|
int pageXjl = 1;
|
|
|
dto.setPage(pageXjl);
|
|
|
dto.setSize(500);
|
|
|
+ QueryCashFlowItemsDto dtoParam = new QueryCashFlowItemsDto();
|
|
|
+ dto.setParam(dtoParam);
|
|
|
CashFlowItemsVo cashFlowItemsVo = new CashFlowItemsVo();
|
|
|
cashFlowItemsVo = requestSTKService.getCashFlowItems(dto);
|
|
|
return cashFlowItemsVo;
|