if (printNarmalClaim.size() > 0) {
for (BzUnclaimed bzUnclaimed1 : printNarmalClaim) {
String format = bzUnclaimed1.getCremationDate() == null ? "" : sdf.format(bzUnclaimed1.getCremationDate());
String registerTime = bzUnclaimed1.getRegisterDate() == null ? "" : sdf.format(bzUnclaimed1.getRegisterDate());
String deadTime = bzUnclaimed1.getDeathDate() == null ? "" : sdf.format(bzUnclaimed1.getDeathDate());
list.add(new BzUnclaimedNormalExport(bzUnclaimed1.getSerialNumber(), bzUnclaimed1.getActualName(),
DictUtils.getDictLabel(bzUnclaimed1.getGender(), "sex", ""), bzUnclaimed1.getAge(), bzUnclaimed1.getCollectSite(),
bzUnclaimed1.getDeathNumber(), bzUnclaimed1.getDeathReason(), i.toString(),
deadTime, format, bzUnclaimed1.getAmount(),
"", registerTime, ""));
i++;
}
}
model.addAttribute("bzCountrys", bzCountryService.findList(new BzCountry()));
String year = StringUtils.isEmpty(startCremationDate) ? calendar.get(Calendar.YEAR) + "" : new SimpleDateFormat("yyyy").format(startCremationDate);
return (StringUtils.isEmpty(bzUnclaimed.getStatus()) || "1".equals(bzUnclaimed.getStatus())) ? getUnclaimedSituationDeals(bzUnclaimed) : dao.getUnclaimedSituation(bzUnclaimed);
byh = "".equals(byh)?bzUnclaimedClearanceService.selectHbyhUpdate() : byh;
model.addAttribute("byh", byh);
return bzDeceasedDao.updateUnclaimedStatus(bzUnclaimed.getId(), bzUnclaimed.getStatus()) > 0 ? "1" : "0";
String flag = "1".equals(bzUnclaimedService.updateUnclaimedStatus(bzUnclaimed)) ? "保 存 成 功" : "保 存 失 败";
${cprlist.unitPrice=="0.00"?cprlist.totalPrice:cprlist.prodCount*cprlist.unitPrice }
model.addAttribute("day", (day == 0?"":day));
bzData.setBirthdate(new SimpleDateFormat("yyyy-MM-dd").format(null == bzDeceased.getDeceasedBirthday() ? new Date() : bzDeceased.getDeceasedBirthday()));
bzData.setCardTypeId("".equals(bzDeceased.getCertificateType()) ? "1" : bzDeceased.getCertificateType());
- for example
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/a6eca9080c1beb993dc6be59c436cdf4.png)