fix
This commit is contained in:
@@ -60,7 +60,8 @@ public class MiniShopPageVO {
|
|||||||
private String joinMode;
|
private String joinMode;
|
||||||
@ApiModelProperty("意向开店区域")
|
@ApiModelProperty("意向开店区域")
|
||||||
private String wantRegionName;
|
private String wantRegionName;
|
||||||
|
@ApiModelProperty("门店状态'0.跟进中 1.已完成 2.已放弃',")
|
||||||
|
private Integer shopStatus;
|
||||||
public MiniShopPageVO(Long shopId, String shopName, String shopCode, Boolean flag, Long pointId, Long regionId, String regionName) {
|
public MiniShopPageVO(Long shopId, String shopName, String shopCode, Boolean flag, Long pointId, Long regionId, String regionName) {
|
||||||
this.shopId = shopId;
|
this.shopId = shopId;
|
||||||
this.shopName = shopName;
|
this.shopName = shopName;
|
||||||
@@ -99,6 +100,7 @@ public class MiniShopPageVO {
|
|||||||
if (Objects.nonNull(wantRegionMap)) {
|
if (Objects.nonNull(wantRegionMap)) {
|
||||||
miniShopPageVO.setWantRegionName(wantRegionMap.get(shopInfo.getWantShopAreaId()));
|
miniShopPageVO.setWantRegionName(wantRegionMap.get(shopInfo.getWantShopAreaId()));
|
||||||
}
|
}
|
||||||
|
miniShopPageVO.setShopStatus(shopInfo.getShopStatus());
|
||||||
resultList.add(miniShopPageVO);
|
resultList.add(miniShopPageVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ public interface PreparationService {
|
|||||||
/**
|
/**
|
||||||
* 开业进度列表
|
* 开业进度列表
|
||||||
* @param preparationRequest
|
* @param preparationRequest
|
||||||
* @return
|
* @return //原先进度管理接口废弃,使用branchShopList
|
||||||
*/
|
*/
|
||||||
PageInfo<PreparationScheduleVO> getPreparationSchedule(PreparationRequest preparationRequest);
|
PageInfo<PreparationScheduleVO> getPreparationSchedule(PreparationRequest preparationRequest);
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ public class ExportRealizeServiceImpl implements ExportRealizeService {
|
|||||||
dto.setCurrentProgress(response.getCompletionColumn()+"/"+response.getTotalColumn());
|
dto.setCurrentProgress(response.getCompletionColumn()+"/"+response.getTotalColumn());
|
||||||
dto.setShopStatus(response.getShopStatus());
|
dto.setShopStatus(response.getShopStatus());
|
||||||
dto.setPlanOpenTime(DateUtils.parseDateToStr(SPECIAL_DATE_START_1,response.getPlanOpenTime()));
|
dto.setPlanOpenTime(DateUtils.parseDateToStr(SPECIAL_DATE_START_1,response.getPlanOpenTime()));
|
||||||
dto.setOpenDuration(response.getOpenTime());
|
dto.setOpenDuration(response.getDays());
|
||||||
exportList.add(dto);
|
exportList.add(dto);
|
||||||
}
|
}
|
||||||
url = easyExcelUtil.exportExcel(ExportBranchShopDTO.class, exportList, null, FileTypeEnum.BRANCH_SHOP_LIST.getDesc() + DateUtils.parseDateToStr(SPECIAL_DATE_START_1, new Date()), FileTypeEnum.BRANCH_SHOP_LIST.getDesc() + DateUtils.parseDateToStr(SPECIAL_DATE_START_1, new Date()));
|
url = easyExcelUtil.exportExcel(ExportBranchShopDTO.class, exportList, null, FileTypeEnum.BRANCH_SHOP_LIST.getDesc() + DateUtils.parseDateToStr(SPECIAL_DATE_START_1, new Date()), FileTypeEnum.BRANCH_SHOP_LIST.getDesc() + DateUtils.parseDateToStr(SPECIAL_DATE_START_1, new Date()));
|
||||||
|
|||||||
@@ -28,17 +28,16 @@ public class ExportController {
|
|||||||
private ExportService exportService;
|
private ExportService exportService;
|
||||||
|
|
||||||
|
|
||||||
|
// @PostMapping("/preparationList")
|
||||||
|
// @ApiOperation("进度管理")
|
||||||
|
// public ResponseResult preparationList(@RequestBody BranchShopRequest request) {
|
||||||
|
// return ResponseResult.success(exportService.branchShopList(request, CurrentUserHolder.getUser()));
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/preparationList")
|
@PostMapping("/preparationList")
|
||||||
@ApiOperation("进度管理")
|
@ApiOperation("进度管理")
|
||||||
public ResponseResult preparationList(@RequestBody PreparationRequest request) {
|
public ResponseResult preparationList(@RequestBody BranchShopRequest request) {
|
||||||
request.setCurUserId(CurrentUserHolder.getUserId());
|
|
||||||
return ResponseResult.success(exportService.preparationList(request, CurrentUserHolder.getUser()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/branchShopList")
|
|
||||||
@ApiOperation("进度管理")
|
|
||||||
public ResponseResult branchShopList(@RequestBody BranchShopRequest request) {
|
|
||||||
return ResponseResult.success(exportService.branchShopList(request, CurrentUserHolder.getUser()));
|
return ResponseResult.success(exportService.branchShopList(request, CurrentUserHolder.getUser()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user