futian.liu
2023-11-30 33f4541719f5bf8f98616e3bcfcae1c416c69551
consum-base/src/main/java/com/consum/base/service/LWhFormOutputServiceImpl.java
@@ -239,6 +239,8 @@
            + "\tpm.BASE_GOODS_MODELS_NAME goodsModeName,\n"
            + "\tcounts num,\n"
            + "\ttotal_amount totalAmount,\n"
            + "\tfo.DEAL_TIME createTime,\n"
            + "\tfo.OPERATOR_NAME,\n"
            + "\tBEIZ remark\n"
            + "FROM\n"
            + "\tl_wh_procure_model pm\n"
@@ -268,12 +270,13 @@
        Optional<TemplateExcelExport> first = list.stream().findFirst();
        TemplateExcelExport templateExcelExport = first.get();
        String businessFormCode = templateExcelExport.getBusinessFormCode();
        Long createTime = templateExcelExport.getCreateTime();
        String operatorName = templateExcelExport.getOperatorName();
        String dateForHuman = DateUtils.getDateForHuman(System.currentTimeMillis());
        Map<String, Object> map = new HashMap<>();
        map.put("code", businessFormCode);
        map.put("date", dateForHuman);
        map.put("name", userName);
        map.put("date", DateUtils.toShowDate(createTime));
        map.put("name", operatorName);
        map.put("sum", sum);
        map.put("totalAmount", totalAmount);
        map.put("data", list);