|
@@ -1,10 +1,13 @@
|
|
package com.fdkankan.platform.test;
|
|
package com.fdkankan.platform.test;
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.fdkankan.common.constant.TbStatus;
|
|
import com.fdkankan.common.constant.TbStatus;
|
|
import com.fdkankan.platform.agent.entity.Agent;
|
|
import com.fdkankan.platform.agent.entity.Agent;
|
|
import com.fdkankan.platform.agent.service.IAgentService;
|
|
import com.fdkankan.platform.agent.service.IAgentService;
|
|
|
|
+import com.fdkankan.platform.goods.service.ICameraDetailService;
|
|
import com.fdkankan.platform.order.service.IInvoiceService;
|
|
import com.fdkankan.platform.order.service.IInvoiceService;
|
|
-import com.fdkankan.platform.user.request.RequestTrade;
|
|
|
|
|
|
+import com.fdkankan.platform.user.request.RequestCamera;
|
|
|
|
+import com.fdkankan.platform.user.vo.ResponseCamera;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -20,6 +23,8 @@ public class TestSendController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private IInvoiceService invoiceService;
|
|
private IInvoiceService invoiceService;
|
|
|
|
+ @Autowired
|
|
|
|
+ private ICameraDetailService cameraDetailService;
|
|
|
|
|
|
@RequestMapping("/test")
|
|
@RequestMapping("/test")
|
|
private void sentTest(){
|
|
private void sentTest(){
|
|
@@ -29,7 +34,7 @@ public class TestSendController {
|
|
agentService.updateById(cameraEntity);
|
|
agentService.updateById(cameraEntity);
|
|
}
|
|
}
|
|
@RequestMapping("/test1")
|
|
@RequestMapping("/test1")
|
|
- private void sentTest1(){
|
|
|
|
- invoiceService.getListByParam(new RequestTrade());
|
|
|
|
|
|
+ private Page<ResponseCamera> sentTest1(){
|
|
|
|
+ return cameraDetailService.cameraList(new RequestCamera());
|
|
}
|
|
}
|
|
}
|
|
}
|