个人效率增加数据返回

master
chen 4 years ago
parent 361f552812
commit 5f33bd2655
  1. 8
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/PersonalEfficiencyListResponse.java
  2. 27
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgEfficiencyServiceImpl.java
  3. 6
      dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/po/StatusPO.java

@ -21,6 +21,14 @@ public class PersonalEfficiencyListResponse {
@ApiModelProperty(value = "业务id") @ApiModelProperty(value = "业务id")
private Integer businessId; private Integer businessId;
@ExcelIgnore
@ApiModelProperty(value = "详情id")
private Integer detailId;
@ExcelIgnore
@ApiModelProperty(value = "角色id")
private Integer roleId;
@ExcelIgnore @ExcelIgnore
@ApiModelProperty(value = "提单人") @ApiModelProperty(value = "提单人")
private Integer applicantId; private Integer applicantId;

@ -227,8 +227,6 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
/** /**
* 查询审批数目的值的数组 * 查询审批数目的值的数组
*
* @return
*/ */
@Override @Override
public Map approvalNum() { public Map approvalNum() {
@ -270,6 +268,9 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
return applyAmountInfoMapper.getTodayBusinessCount(dateFormat.format(new Date())); return applyAmountInfoMapper.getTodayBusinessCount(dateFormat.format(new Date()));
} }
/**
* 个人效率记录
*/
@Override @Override
public List<PersonalEfficiencyListResponse> queryPersonalEfficiencyList() { public List<PersonalEfficiencyListResponse> queryPersonalEfficiencyList() {
int size = 100; int size = 100;
@ -308,6 +309,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = businessApplicationListResponse.getStatus(); Integer status = businessApplicationListResponse.getStatus();
Integer operatingStatus = businessApplicationListResponse.getOperatingStatus(); Integer operatingStatus = businessApplicationListResponse.getOperatingStatus();
Integer businessStatus = businessApplicationListResponse.getBusinessStatus(); Integer businessStatus = businessApplicationListResponse.getBusinessStatus();
statusPO.setDetailId(businessApplicationListResponse.getId());
statusPO.setRoleId(businessApplicationListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setName(name); statusPO.setName(name);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
@ -330,6 +333,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
String name = guaranteeListResponse.getName(); String name = guaranteeListResponse.getName();
Integer operatingStatus = guaranteeListResponse.getOperatingStatus(); Integer operatingStatus = guaranteeListResponse.getOperatingStatus();
Integer businessStatus = guaranteeListResponse.getBusinessStatus(); Integer businessStatus = guaranteeListResponse.getBusinessStatus();
statusPO.setDetailId(guaranteeListResponse.getId());
statusPO.setRoleId(guaranteeListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(2); statusPO.setProcessId(2);
@ -352,6 +357,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
String name = assetsInvestigationListResponse.getName(); String name = assetsInvestigationListResponse.getName();
Integer operatingStatus = assetsInvestigationListResponse.getOperatingStatus(); Integer operatingStatus = assetsInvestigationListResponse.getOperatingStatus();
Integer businessStatus = assetsInvestigationListResponse.getBusinessStatus(); Integer businessStatus = assetsInvestigationListResponse.getBusinessStatus();
statusPO.setDetailId(assetsInvestigationListResponse.getId());
statusPO.setRoleId(assetsInvestigationListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(3); statusPO.setProcessId(3);
@ -374,6 +381,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
String name = messageInvestigationListResponse.getName(); String name = messageInvestigationListResponse.getName();
Integer operatingStatus = messageInvestigationListResponse.getOperatingStatus(); Integer operatingStatus = messageInvestigationListResponse.getOperatingStatus();
Integer businessStatus = messageInvestigationListResponse.getBusinessStatus(); Integer businessStatus = messageInvestigationListResponse.getBusinessStatus();
statusPO.setDetailId(messageInvestigationListResponse.getId());
statusPO.setRoleId(messageInvestigationListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(4); statusPO.setProcessId(4);
@ -397,6 +406,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = dgComplianceInvestigationResponse.getAuditStatus(); Integer status = dgComplianceInvestigationResponse.getAuditStatus();
Integer operatingStatus = dgComplianceInvestigationResponse.getOperationStatus(); Integer operatingStatus = dgComplianceInvestigationResponse.getOperationStatus();
Integer businessStatus = dgComplianceInvestigationResponse.getBusinessStatus(); Integer businessStatus = dgComplianceInvestigationResponse.getBusinessStatus();
statusPO.setDetailId(dgComplianceInvestigationResponse.getIId());
statusPO.setRoleId(dgComplianceInvestigationResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(5); statusPO.setProcessId(5);
@ -418,6 +429,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = dgWorkConferencePO.getAuditStatus(); Integer status = dgWorkConferencePO.getAuditStatus();
Integer operatingStatus = dgWorkConferencePO.getOperationStatus(); Integer operatingStatus = dgWorkConferencePO.getOperationStatus();
Integer businessStatus = dgWorkConferencePO.getBusinessStatus(); Integer businessStatus = dgWorkConferencePO.getBusinessStatus();
statusPO.setDetailId(dgWorkConferencePO.getId());
statusPO.setRoleId(dgWorkConferencePO.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(6); statusPO.setProcessId(6);
@ -439,6 +452,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
String name = dgLoanCommitteeConsiderResponse.getName(); String name = dgLoanCommitteeConsiderResponse.getName();
Integer operatingStatus = dgLoanCommitteeConsiderResponse.getOperatingStatus(); Integer operatingStatus = dgLoanCommitteeConsiderResponse.getOperatingStatus();
Integer businessStatus = dgLoanCommitteeConsiderResponse.getBusinessStatus(); Integer businessStatus = dgLoanCommitteeConsiderResponse.getBusinessStatus();
statusPO.setDetailId(dgLoanCommitteeConsiderResponse.getId());
statusPO.setRoleId(dgLoanCommitteeConsiderResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(7); statusPO.setProcessId(7);
@ -461,6 +476,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = guaranteeLetterListResponse.getStatus(); Integer status = guaranteeLetterListResponse.getStatus();
Integer operatingStatus = guaranteeLetterListResponse.getOperatingStatus(); Integer operatingStatus = guaranteeLetterListResponse.getOperatingStatus();
Integer businessStatus = guaranteeLetterListResponse.getBusinessStatus(); Integer businessStatus = guaranteeLetterListResponse.getBusinessStatus();
statusPO.setDetailId(guaranteeLetterListResponse.getId());
statusPO.setRoleId(guaranteeLetterListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(8); statusPO.setProcessId(8);
@ -483,6 +500,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = paymentConfirmationListResponse.getStatus(); Integer status = paymentConfirmationListResponse.getStatus();
Integer operatingStatus = paymentConfirmationListResponse.getOperatingStatus(); Integer operatingStatus = paymentConfirmationListResponse.getOperatingStatus();
Integer businessStatus = paymentConfirmationListResponse.getBusinessStatus(); Integer businessStatus = paymentConfirmationListResponse.getBusinessStatus();
statusPO.setDetailId(paymentConfirmationListResponse.getId());
statusPO.setRoleId(paymentConfirmationListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(9); statusPO.setProcessId(9);
@ -505,6 +524,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Integer status = loanNoticeListResponse.getStatus(); Integer status = loanNoticeListResponse.getStatus();
Integer operatingStatus = loanNoticeListResponse.getOperatingStatus(); Integer operatingStatus = loanNoticeListResponse.getOperatingStatus();
Integer businessStatus = loanNoticeListResponse.getBusinessStatus(); Integer businessStatus = loanNoticeListResponse.getBusinessStatus();
statusPO.setDetailId(loanNoticeListResponse.getId());
statusPO.setRoleId(loanNoticeListResponse.getRoleId());
statusPO.setBusinessStatus(businessStatus); statusPO.setBusinessStatus(businessStatus);
statusPO.setOperatingStatus(operatingStatus); statusPO.setOperatingStatus(operatingStatus);
statusPO.setProcessId(10); statusPO.setProcessId(10);
@ -530,6 +551,8 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA
Date createTime = dgApplyAmountInfo.getCreateTime(); Date createTime = dgApplyAmountInfo.getCreateTime();
//提单人id //提单人id
Integer presenterId = dgApplyAmountInfo.getPresenterId(); Integer presenterId = dgApplyAmountInfo.getPresenterId();
efficiencyListResponse.setDetailId(po.getDetailId());
efficiencyListResponse.setRoleId(po.getRoleId());
efficiencyListResponse.setOperatingStatus(operatingStatus); efficiencyListResponse.setOperatingStatus(operatingStatus);
efficiencyListResponse.setApproveStatus(status); efficiencyListResponse.setApproveStatus(status);
efficiencyListResponse.setBusinessStatus(businessStatus); efficiencyListResponse.setBusinessStatus(businessStatus);

@ -13,6 +13,12 @@ import lombok.ToString;
@ToString @ToString
public class StatusPO { public class StatusPO {
@ApiModelProperty(value = "详情id")
private Integer detailId;
@ApiModelProperty(value = "角色id")
private Integer roleId;
@ApiModelProperty("客户名称") @ApiModelProperty("客户名称")
private String name; private String name;

Loading…
Cancel
Save