|
@@ -3,6 +3,7 @@ package com.diagbot.facade;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.diagbot.client.UserServiceClient;
|
|
|
+import com.diagbot.dto.LantoneProductDTO;
|
|
|
import com.diagbot.dto.ProductLineDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.dto.UserOrgDTO;
|
|
@@ -222,7 +223,7 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
* @param lantoneProductSelectVO 参数
|
|
|
* @return 产品信息
|
|
|
*/
|
|
|
- public RespDTO<IPage<LantoneProduct>> index(LantoneProductSelectVO lantoneProductSelectVO) {
|
|
|
+ public RespDTO<IPage<LantoneProductDTO>> index(LantoneProductSelectVO lantoneProductSelectVO) {
|
|
|
Page page =new Page();
|
|
|
if(lantoneProductSelectVO.getSize()==0){
|
|
|
page.setSize(10l);
|
|
@@ -234,7 +235,7 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
}else {
|
|
|
page.setCurrent(lantoneProductSelectVO.getCurrent());
|
|
|
}
|
|
|
- IPage<LantoneProduct> res = this.selectProduct(page, lantoneProductSelectVO.getName());
|
|
|
+ IPage<LantoneProductDTO> res = this.selectProduct(page, lantoneProductSelectVO.getName());
|
|
|
return RespDTO.onSuc(res);
|
|
|
}
|
|
|
}
|