@PostMapping("/searchAllLendBillReports")
public BaseResponse<List<LendBillReportBO>> searchAllLendBillReports(@RequestBody String param){
//将JSON字符串转换为需要的String类型
String billNo = JSON.parseObject(param, String.class);
Map<String,Object>paraMap=new HashMap<>();
paraMap.put("billNo",billNo);
List<LendBillReportBO>lendBillReportBOS= settlementExcuteManager.searchAllLendBillReports(paraMap);
return BaseResponse.success(lendBillReportBOS);
}
@RequestMapping("/pushZongZhangVouchers")
public void pushZongZhangVouchers(@RequestBody String param) {
try {
//将JSON字符串转换为List<String>
List<String> list = JSON.parseObject(param, List.class);
settlementExcuteManager.pushZongZhangVouchers(list);
}catch (Exception e){
e.printStackTrace();
}
}
//将JSON字符串转为Map类型
Map<String,Object> map = JSON.parseObject(param, Map.class);