|
@@ -15,6 +15,7 @@ import com.lframework.xingyun.basedata.service.office.OfficeService; |
|
@@ -15,6 +15,7 @@ import com.lframework.xingyun.basedata.service.office.OfficeService; |
|
15
|
import com.lframework.xingyun.basedata.service.product.ProductVarietyService;
|
15
|
import com.lframework.xingyun.basedata.service.product.ProductVarietyService;
|
|
16
|
import com.lframework.xingyun.basedata.service.workshop.WorkshopService;
|
16
|
import com.lframework.xingyun.basedata.service.workshop.WorkshopService;
|
|
17
|
import com.lframework.xingyun.sc.bo.customer.develop.GetCustomerDevelopPlanBo;
|
17
|
import com.lframework.xingyun.sc.bo.customer.develop.GetCustomerDevelopPlanBo;
|
|
|
|
18
|
+import com.lframework.xingyun.sc.enums.ExportType;
|
|
18
|
import com.lframework.xingyun.sc.excel.customer.CustomerDevelopExportTaskWorker;
|
19
|
import com.lframework.xingyun.sc.excel.customer.CustomerDevelopExportTaskWorker;
|
|
19
|
import com.lframework.xingyun.sc.vo.customer.develop.QueryCustomerDevelopPlanVo;
|
20
|
import com.lframework.xingyun.sc.vo.customer.develop.QueryCustomerDevelopPlanVo;
|
|
20
|
import com.lframework.xingyun.sc.service.customer.CustomerDevelopPlanService;
|
21
|
import com.lframework.xingyun.sc.service.customer.CustomerDevelopPlanService;
|
|
@@ -160,6 +161,7 @@ public class CustomerDevelopPlanController extends DefaultBaseController { |
|
@@ -160,6 +161,7 @@ public class CustomerDevelopPlanController extends DefaultBaseController { |
|
160
|
@HasPermission({"customer-dev-manage:customer-dev-plan:export"})
|
161
|
@HasPermission({"customer-dev-manage:customer-dev-plan:export"})
|
|
161
|
@PostMapping("/export")
|
162
|
@PostMapping("/export")
|
|
162
|
public InvokeResult<Void> export(@Valid QueryCustomerDevelopPlanVo vo) {
|
163
|
public InvokeResult<Void> export(@Valid QueryCustomerDevelopPlanVo vo) {
|
|
|
|
164
|
+ vo.setExportType(ExportType.CUSTOMER_DEVELOP.getCode());
|
|
163
|
ExportTaskUtil.exportTask("客户开发信息", CustomerDevelopExportTaskWorker.class, vo);
|
165
|
ExportTaskUtil.exportTask("客户开发信息", CustomerDevelopExportTaskWorker.class, vo);
|
|
164
|
return InvokeResultBuilder.success();
|
166
|
return InvokeResultBuilder.success();
|
|
165
|
}
|
167
|
}
|