demand: 海运账单bug修改

committer: heyu
This commit is contained in:
aike 2025-04-25 15:49:56 +08:00
parent 820b8583de
commit 0dd8f7f99a

View File

@ -898,9 +898,9 @@ public class EmisSettleBillServiceImpl extends EmisBaseService implements IEmisS
log.info("get textMap is success, textMap,{}", textMap);
// 出账日期
String date = DateUtils.parseDateToStr("yyyy.M.dd", list.get(0).getBillDate());
String year = DateUtils.parseDateToStr("yyyy", list.get(0).getBillDate());
String month = DateUtils.parseDateToStr("M", list.get(0).getBillDate());
String date = DateUtils.parseDateToStr("yyyy.M.dd", bill.getCreateTime());
String year = DateUtils.parseDateToStr("yyyy", DateUtils.parseDate(bill.getBillMonth(),"yyyy-MM"));
String month = DateUtils.parseDateToStr("M", DateUtils.parseDate(bill.getBillMonth(),"yyyy-MM"));
// String filePath = "D:\\log\\stduent_01.xlsx";
ServletOutputStream outputStream = response.getOutputStream();