| | |
| | | (dept == null ? "入库化验单" : dept.getName() + "入库化验单")); |
| | | |
| | | // 替换基础数据 |
| | | String time = DateFormatUtils.format(data.getRegisterTime(), |
| | | "yyyy-MM-dd"); |
| | | // String time = DateFormatUtils.format(data.getRegisterTime(), |
| | | // "yyyy-MM-dd"); |
| | | String checkTime = data.getCheckTime() == null ? "-" : DateFormatUtils.format(data.getCheckTime(), "yyyy-MM-dd HH:mm:ss"); |
| | | String sampleTime = data.getSampleTime() == null ? "-" : DateFormatUtils.format(data.getSampleTime(), "yyyy-MM-dd HH:mm:ss"); |
| | | String reportTime = DateFormatUtils.format(new Date(), "yyyy-MM-dd HH:mm:ss"); |
| | |
| | | } |
| | | // htmlStr = htmlStr.replace("driverName", settle.getUserName() + ""); |
| | | // htmlStr = htmlStr.replace("otherSum", settle.getOtherSum() + ""); |
| | | htmlStr = htmlStr.replace("paySum", settle.getPaySum() + ""); |
| | | htmlStr = htmlStr.replace("paySum", settle.getPayMoney() + ""); |
| | | |
| | | htmlStr = htmlStr.replace("remark", settle.getRemarks() == null ? "" |
| | | : settle.getRemarks()); |
| | | htmlStr = htmlStr.replace("moneyName", |
| | | MoneyUtil.formatToCN(new BigDecimal(settle.getPaySum()))); |
| | | MoneyUtil.formatToCN(new BigDecimal(settle.getPayMoney()))); |
| | | |
| | | return htmlStr; |
| | | } |