Commit cc82984d by HKyoma Committed by 崔彦峰

refactor(perfSalary): 移除无效的导出功能代码

- 删除了EffectiveReferralReviewMiniProgramService中的测试商户ID注释代码
- 移除了EffectiveReferralReviewRemote接口中的导出相关方法定义
- 清理了EffectiveReferralReviewRemoteImpl实现类中的导出方法实现
- 移除了EffectiveReferralReviewService服务类中的空导出方法实现
1 parent 3482f79c
...@@ -37,7 +37,7 @@ public class AutoPerformRuleResultDTO implements Serializable { ...@@ -37,7 +37,7 @@ public class AutoPerformRuleResultDTO implements Serializable {
* 实际出勤天数 * 实际出勤天数
*/ */
@ApiModelProperty(notes = "实际出勤天数") @ApiModelProperty(notes = "实际出勤天数")
private Integer actualAttendanceDays; private BigDecimal actualAttendanceDays;
/** /**
* 绩效等级-系统自动设置 * 绩效等级-系统自动设置
......
...@@ -33,14 +33,4 @@ public interface EffectiveReferralReviewRemote { ...@@ -33,14 +33,4 @@ public interface EffectiveReferralReviewRemote {
@ApiParam(name = "dto", notes = "复核信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true) @ApiParam(name = "dto", notes = "复核信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("复核结果") @ApiResponse("复核结果")
RpcResponse<Boolean> effectiveReferralAudit(@NotNull EffectiveReferralReviewCommonDTO dto); RpcResponse<Boolean> effectiveReferralAudit(@NotNull EffectiveReferralReviewCommonDTO dto);
/* @ApiMethod("web端有效引荐导出数据查询")
@ApiParam(name = "pagination", notes = "分页查询信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("导出数据列表")
RpcResponse<String> effectiveReferralExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination);
@ApiMethod("web端有效引荐复核导出数据查询")
@ApiParam(name = "pagination", notes = "分页查询信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("复核导出数据列表")
RpcResponse<String> effectiveReferralAuditExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination);*/
} }
\ No newline at end of file \ No newline at end of file
...@@ -57,24 +57,4 @@ public class EffectiveReferralReviewRemoteImpl implements EffectiveReferralRevie ...@@ -57,24 +57,4 @@ public class EffectiveReferralReviewRemoteImpl implements EffectiveReferralRevie
return RpcResponse.error(e); return RpcResponse.error(e);
} }
} }
/*@Override
public RpcResponse<String> effectiveReferralExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination) {
try{
return RpcResponse.success(effectiveReferralReviewService.effectiveReferralExportData(pagination));
}catch(Exception e){
log.error(e.getMessage(),e);
return RpcResponse.error(e);
}
}
@Override
public RpcResponse<String> effectiveReferralAuditExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination) {
try{
return RpcResponse.success(effectiveReferralReviewService.effectiveReferralAuditExportData(pagination));
}catch(Exception e){
log.error(e.getMessage(),e);
return RpcResponse.error(e);
}
}*/
} }
\ No newline at end of file \ No newline at end of file
...@@ -67,7 +67,6 @@ public class EffectiveReferralReviewMiniProgramService { ...@@ -67,7 +67,6 @@ public class EffectiveReferralReviewMiniProgramService {
//特殊逻辑:根据商户门店id去重,根据门店首字母倒序。要根据门店的不同业务场景的数据判断是否已提交和未提交。 //特殊逻辑:根据商户门店id去重,根据门店首字母倒序。要根据门店的不同业务场景的数据判断是否已提交和未提交。
//不同业务场景`scene_type` '业务场景:1-精品升级(轻改);2-会员权益(广联权益);3-单延保 状态`status` '状态:0-未提交,1-草稿,2-已提交',全部为已提交时,总的提交状态submitStatus才是已提交。 //不同业务场景`scene_type` '业务场景:1-精品升级(轻改);2-会员权益(广联权益);3-单延保 状态`status` '状态:0-未提交,1-草稿,2-已提交',全部为已提交时,总的提交状态submitStatus才是已提交。
//注意:要跟服务商户表dj_car_life_service_merchant根据`merchant_id`关联,用于筛选项门店搜索,sal_effective_referral_review作为主表 //注意:要跟服务商户表dj_car_life_service_merchant根据`merchant_id`关联,用于筛选项门店搜索,sal_effective_referral_review作为主表
// request.getMerchantIds().addAll(Lists.newArrayList(44211832,44209298,44209902,44209880));
if (CollectionUtils.isEmpty(request.getMerchantIds())) { if (CollectionUtils.isEmpty(request.getMerchantIds())) {
log.info("门店有效引荐数列表MerchantIds为空"); log.info("门店有效引荐数列表MerchantIds为空");
return Collections.emptyList(); return Collections.emptyList();
......
...@@ -218,14 +218,6 @@ public class EffectiveReferralReviewService { ...@@ -218,14 +218,6 @@ public class EffectiveReferralReviewService {
}); });
} }
/*public String effectiveReferralExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination) {
return null;
}
public String effectiveReferralAuditExportData(RpcPagination<EffectiveReferralReviewCommonDTO> pagination) {
return null;
}*/
/** /**
* 根据条件查询单条有效引荐数记录 * 根据条件查询单条有效引荐数记录
* *
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!