支出合同修改
This commit is contained in:
+3
-3
@@ -291,9 +291,9 @@ public class PaySpendingContractController extends JeroController<PaySpendingCon
|
||||
listSub.forEach(p1->{
|
||||
int n = listSub.indexOf(p1) + 1;
|
||||
map.put("phaseName" + n,p1.getPhaseName());
|
||||
map.put("accountsReceivableAmount" + n,String.valueOf(p1.getAccountsReceivableAmount()));
|
||||
map.put("accountsReceivableAmount" + n,Objects.isNull(p1.getAccountsReceivableAmount()) ? "" : String.valueOf(p1.getAccountsReceivableAmount()));
|
||||
map.put("accountsReceivableTime" + n, DateUtils.date2Str(p1.getAccountsReceivableTime(),new SimpleDateFormat("yyyy-MM-dd")));
|
||||
map.put("paidAmount" + n,String.valueOf(p1.getPaidAmount()));
|
||||
map.put("paidAmount" + n,Objects.isNull(p1.getPaidAmount()) ? "" : String.valueOf(p1.getPaidAmount()));
|
||||
map.put("paidTime" + n,DateUtils.date2Str(p1.getPaidTime(),new SimpleDateFormat("yyyy-MM-dd")));
|
||||
});
|
||||
}
|
||||
@@ -340,7 +340,7 @@ public class PaySpendingContractController extends JeroController<PaySpendingCon
|
||||
mv.addObject(MapExcelConstants.FILE_NAME, "收入合同"); //此处设置的filename无效 ,前端会重更新设置一下
|
||||
mv.addObject(MapExcelConstants.ENTITY_LIST, filedsList);
|
||||
//update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置--------------------
|
||||
ExportParams exportParams=new ExportParams("收入合同", "收入合同");
|
||||
ExportParams exportParams=new ExportParams("支出合同", "支出合同");
|
||||
exportParams.setImageBasePath(env.getProperty("jero.path.upload"));
|
||||
//update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置----------------------
|
||||
mv.addObject(MapExcelConstants.PARAMS,exportParams);
|
||||
|
||||
Reference in New Issue
Block a user