Browse Source

移动端初始化折叠设置添加金融未放款已过终审

master
dimengzhe 1 year ago
parent
commit
78bca1755e
  1. 4
      anrui-reportcenter/anrui-reportcenter-api/src/main/java/com/yxt/anrui/reportcenter/api/reportset/ReportSet.java
  2. 18
      anrui-reportcenter/anrui-reportcenter-biz/src/main/java/com/yxt/anrui/reportcenter/biz/reportset/ReportSetService.java

4
anrui-reportcenter/anrui-reportcenter-api/src/main/java/com/yxt/anrui/reportcenter/api/reportset/ReportSet.java

@ -26,8 +26,10 @@ public class ReportSet extends BaseEntity {
private int buyout;
@ApiModelProperty("欠款出库")
private int outbound;
@ApiModelProperty("金融未放款")
@ApiModelProperty("金融未放款-已出库")
private int loanDis;
@ApiModelProperty("金融未放款-已过信审终审")
private int loanDiss;
}

18
anrui-reportcenter/anrui-reportcenter-biz/src/main/java/com/yxt/anrui/reportcenter/biz/reportset/ReportSetService.java

@ -62,6 +62,10 @@ public class ReportSetService extends MybatisBaseService<ReportSetMapper, Report
// reportSet.setLoanDis(reportSetVo.isSelected() ? 1 : 0);
reportSet.setLoanDis(1);
break;
case "loanDiss":
// reportSet.setLoanDis(reportSetVo.isSelected() ? 1 : 0);
reportSet.setLoanDiss(1);
break;
default:
break;
}
@ -115,9 +119,14 @@ public class ReportSetService extends MybatisBaseService<ReportSetMapper, Report
list.add(reportSetVo);
reportSetVo = new ReportSetVo();
reportSetVo.setDictKey("loanDis");
reportSetVo.setDictValue("金融未放款");
reportSetVo.setDictValue("金融未放款(已出库)");
reportSetVo.setSelected(reportSet.getLoanDis() == 1);
list.add(reportSetVo);
reportSetVo = new ReportSetVo();
reportSetVo.setDictKey("loanDiss");
reportSetVo.setDictValue("金融未放款(已过终审)");
reportSetVo.setSelected(reportSet.getLoanDiss() == 1);
list.add(reportSetVo);
} else {
ReportSetVo reportSetVo = new ReportSetVo();
reportSetVo.setDictKey("stock");
@ -156,7 +165,12 @@ public class ReportSetService extends MybatisBaseService<ReportSetMapper, Report
list.add(reportSetVo);
reportSetVo = new ReportSetVo();
reportSetVo.setDictKey("loanDis");
reportSetVo.setDictValue("金融未放款");
reportSetVo.setDictValue("金融未放款(已出库)");
reportSetVo.setSelected(false);
list.add(reportSetVo);
reportSetVo = new ReportSetVo();
reportSetVo.setDictKey("loanDiss");
reportSetVo.setDictValue("金融未放款(已过终审)");
reportSetVo.setSelected(false);
list.add(reportSetVo);
}

Loading…
Cancel
Save