|
@@ -3110,13 +3110,21 @@ public class RuralProjectMessageElectronicSealService extends CrudService<RuralP
|
|
|
}
|
|
|
//送审金额
|
|
|
if(StringUtils.isNotBlank(projectReportSignatureInfo.getSubmitFee())){
|
|
|
- data.put("submitFee",projectReportSignatureInfo.getSubmitFee());
|
|
|
+ BigDecimal submitFee=new BigDecimal(projectReportSignatureInfo.getSubmitFee());
|
|
|
+ // 不足两位小数补0
|
|
|
+ DecimalFormat decimalFormat = new DecimalFormat("0.00#");
|
|
|
+ String strVal = decimalFormat.format(submitFee);
|
|
|
+ data.put("submitFee",strVal);
|
|
|
}else{
|
|
|
data.put("submitFee","");
|
|
|
}
|
|
|
//审定金额
|
|
|
if(StringUtils.isNotBlank(projectReportSignatureInfo.getAuthorizeFee())){
|
|
|
- data.put("authorizeFee",projectReportSignatureInfo.getAuthorizeFee());
|
|
|
+ BigDecimal authorizeFee=new BigDecimal(projectReportSignatureInfo.getAuthorizeFee());
|
|
|
+ // 不足两位小数补0
|
|
|
+ DecimalFormat decimalFormat = new DecimalFormat("0.00#");
|
|
|
+ String strVal = decimalFormat.format(authorizeFee);
|
|
|
+ data.put("authorizeFee",strVal);
|
|
|
}else{
|
|
|
data.put("authorizeFee","");
|
|
|
}
|