|
@@ -1,5 +1,6 @@
|
|
|
package com.jzg.quotation.summary.controller;
|
|
package com.jzg.quotation.summary.controller;
|
|
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.jzg.commons.entity.dto.InsFeeOrdersParam;
|
|
import com.jzg.commons.entity.dto.InsFeeOrdersParam;
|
|
|
import com.jzg.commons.entity.po.InsFeeOrders;
|
|
import com.jzg.commons.entity.po.InsFeeOrders;
|
|
|
import com.jzg.quotation.summary.service.InsFeeOrdersService;
|
|
import com.jzg.quotation.summary.service.InsFeeOrdersService;
|
|
@@ -8,6 +9,8 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
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 java.time.LocalDateTime;
|
|
|
|
|
+import java.time.format.DateTimeFormatter;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -34,8 +37,9 @@ public class InsFeeOrderController {
|
|
|
|
|
|
|
|
@PostMapping("/getInsFeeOrderByUserId")
|
|
@PostMapping("/getInsFeeOrderByUserId")
|
|
|
@Operation(summary = "订单费用列表通过用户id查询")
|
|
@Operation(summary = "订单费用列表通过用户id查询")
|
|
|
- public List<InsFeeOrders> getInsFeeOrderByUserId(@RequestBody InsFeeOrdersParam param){
|
|
|
|
|
- return insFeeOrdersService.getInsFeeOrderListByUserId(param);
|
|
|
|
|
|
|
+ public List<InsFeeOrders> getInsFeeOrderByUserId(@RequestBody JSONObject param){
|
|
|
|
|
+ InsFeeOrdersParam insFeeOrdersParam = param.toJavaObject(InsFeeOrdersParam.class);
|
|
|
|
|
+ return insFeeOrdersService.getInsFeeOrderListByUserId(insFeeOrdersParam);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping("/getInsFeeOrderListByTopReferrerIdAndUserId")
|
|
@GetMapping("/getInsFeeOrderListByTopReferrerIdAndUserId")
|