|
@@ -767,7 +767,8 @@ public class TaRecommendCustomerController extends BaseController {
|
767
|
767
|
@RequestParam(value ="verifyStatus",required = false) String verifyStatus,
|
768
|
768
|
@RequestParam(value = "sex",required = false)Integer sex,
|
769
|
769
|
@RequestParam(value = "customerType") String customerType,
|
770
|
|
- @RequestParam(value = "status",required = false) Integer status) throws IOException { // public 公 private 私
|
|
770
|
+ @RequestParam(value = "status",required = false) Integer status,
|
|
771
|
+ @RequestParam(value = "sceneType",required = false) String sceneType) throws IOException { // public 公 private 私
|
771
|
772
|
|
772
|
773
|
// response.setContentType("application/vnd.ms-excel");
|
773
|
774
|
response.setContentType("application/octet-stream");
|
|
@@ -795,7 +796,7 @@ public class TaRecommendCustomerController extends BaseController {
|
795
|
796
|
// pageCount = count % pageSize == 0 ? count / pageSize : (count / pageSize) + 1;
|
796
|
797
|
// List<PublicCustomerExport> publicList = null;
|
797
|
798
|
// do {
|
798
|
|
- List<PublicCustomerExport> publicList = taRecommendCustomerMapper.getPublicCustomerExportList(pageCode * pageSize, pageSize, name, tel, entryType, verifyStatus, sex, orgId,consultTel);
|
|
799
|
+ List<PublicCustomerExport> publicList = taRecommendCustomerMapper.getPublicCustomerExportList(pageCode * pageSize, pageSize, buildingId, name, tel, entryType, verifyStatus, sex, orgId,consultTel,sceneType);
|
799
|
800
|
excelWriter.write(publicList, writeSheet);
|
800
|
801
|
|
801
|
802
|
// pageCode ++;
|
|
@@ -817,7 +818,7 @@ public class TaRecommendCustomerController extends BaseController {
|
817
|
818
|
// pageCount = count % pageSize == 0 ? count / pageSize : (count / pageSize) + 1;
|
818
|
819
|
// List<PrivateCustomerExport> privateList = null;
|
819
|
820
|
// do {
|
820
|
|
- List<PrivateCustomerExport> privateList = taRecommendCustomerMapper.getCustomerExportList(pageCode * pageSize, pageSize, buildingId, name, tel, consultName, consultTel, entryType, verifyStatus, sex, orgId,status,getTaPersonBuildingListByUserId(request));
|
|
821
|
+ List<PrivateCustomerExport> privateList = taRecommendCustomerMapper.getCustomerExportList(pageCode * pageSize, pageSize, buildingId, name, tel, consultName, consultTel, entryType, verifyStatus, sex, orgId,status,sceneType,getTaPersonBuildingListByUserId(request));
|
821
|
822
|
excelWriter.write(privateList, writeSheet);
|
822
|
823
|
|
823
|
824
|
// pageCode ++;
|