|
|
@ -16,6 +16,7 @@ import com.yxt.anrui.terminal.api.autoservice.arrearsTakeCar.ArrearsCarryVehicle |
|
|
|
import com.yxt.anrui.terminal.api.autoservice.arrearsTakeCar.*; |
|
|
|
import com.yxt.anrui.terminal.api.autoservice.arrearsTakeCar.flowable.*; |
|
|
|
import com.yxt.anrui.terminal.config.CoverUtils; |
|
|
|
import com.yxt.common.base.config.component.FileUploadComponent; |
|
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
@ -54,6 +55,8 @@ public class AppBusArrearsCarryVehicleApplyService { |
|
|
|
private SysStaffOrgFeign sysStaffOrgFeign; |
|
|
|
@Autowired |
|
|
|
private BusSalesOrderVehicleFeign busSalesOrderVehicleFeign; |
|
|
|
@Autowired |
|
|
|
private FileUploadComponent fileUploadComponent; |
|
|
|
|
|
|
|
public ResultBean<PagerVo<ArrearsCarryVehiclePageVo>> getArrearsTakeCarList(PagerQuery<ArrearsCarryVehicleQuery> pagerQuery) { |
|
|
|
ResultBean<PagerVo<ArrearsCarryVehiclePageVo>> rb = ResultBean.fireFail(); |
|
|
@ -360,4 +363,15 @@ public class AppBusArrearsCarryVehicleApplyService { |
|
|
|
} |
|
|
|
return rb.success().setData(arrearsVo); |
|
|
|
} |
|
|
|
|
|
|
|
public ResultBean<String> printApplyPdf(String sid, String name) { |
|
|
|
ResultBean<String> rb = ResultBean.fireFail(); |
|
|
|
ResultBean<String> resultBean = busArrearsCarryVehicleApplyFeign.printApplyPdf(sid,name); |
|
|
|
if(resultBean.getData() != null){ |
|
|
|
String url = resultBean.getData(); |
|
|
|
url =fileUploadComponent.getUrlPrefix()+url; |
|
|
|
return rb.success().setData(url); |
|
|
|
} |
|
|
|
return rb; |
|
|
|
} |
|
|
|
} |