Kaynağa Gözat

修改发票管理问题

y 2 yıl önce
ebeveyn
işleme
f15e575904

+ 0 - 1
src/main/java/com/ydtech/modules/inv/service/impl/InvAccountOperateServiceImpl.java

@@ -150,7 +150,6 @@ public class InvAccountOperateServiceImpl extends ServiceImpl<InvAccountOperateM
             if (record.getOutProfit() != null) {
                 StringBuffer buffer = new StringBuffer();
                 for (Map.Entry<String, Object> entry : record.getOutProfit().entrySet()) {
-
                     list.forEach(invAccountProfit -> {
                         if (invAccountProfit.getProfitEng().equals(entry.getKey())) {
                             buffer.append(invAccountProfit.getProfitName()).append(" ");

+ 1 - 0
src/main/java/com/ydtech/modules/inv/utils/EasyExcelUtils.java

@@ -147,6 +147,7 @@ public class EasyExcelUtils {
         list.add(4, head4);
         list.add(5, head5);
         list.add(6, head6);
+        list.add(7, head7);
         invAccountProfitList.forEach(invAccountProfit -> {
             List<String> head0 = ListUtils.newArrayList();
             head0.add(invAccountProfit.getProfitName());