diff --git a/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/EntryCommandServiceImpl.java b/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/EntryCommandServiceImpl.java index 4e29486fe6d55ad65c065c03dd4167fbe5058992..07bc6e0b46db55c70453ea010e3530aff8f39db0 100644 --- a/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/EntryCommandServiceImpl.java +++ b/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/EntryCommandServiceImpl.java @@ -184,9 +184,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { List<VchDetailEntity> detailList = new ArrayList<>(); entryTempTemp(cmd,incomeAggregate,json,map,voucher,detailList); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList,"鏀跺叆鍏ヨ处",voucher,map,infoOut); - }).start(); + /*}).start();*/ } @Transactional public void entryTempTemp(EntryTempCmd cmd,IncomeAggregate incomeAggregate,JSONObject json,Map<Long,IncomeAggregate> map,AtomicBoolean voucher,List<VchDetailEntity> detailList) { @@ -262,9 +262,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { List<VchDetailEntity> detailList = new ArrayList<>(); entryTempWithInvoiceTemp(cmd,incomeAggregate,entryBillAggregate,map,detailList); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /* new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList,"鏀跺叆鍏ヨ处",new AtomicBoolean(true),map,infoOut); - }).start(); + /* }).start();*/ } @Transactional @@ -442,9 +442,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { } entryTempLinkInvoiceTemp(cmd,json,incomeAggregate,voucher,invoiceIds,entryBillAggregate,detailList,map); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList,"鏀跺叆鍏ヨ处",voucher,map,infoOut); - }).start(); + /*}).start();*/ } @Transactional @@ -537,10 +537,10 @@ public class EntryCommandServiceImpl implements EntryCommandService { } entryIncomeTemp(cmd,json,entryBillAggregate,incomeAggregate,agg,voucher,map,detailList); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList, "鏀跺叆鍏ヨ处",voucher,map,infoOut); - }).start(); + /*}).start();*/ } @Transactional public void entryIncomeTemp(EntryTempCmd cmd,JSONObject json,EntryBillAggregate entryBillAggregate, @@ -627,9 +627,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { } entryIncomeLinkInvoiceTemp(cmd,incomeAggregate,detailList,map,voucher,json); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList,"鏀跺叆鍏ヨ处",voucher,map,infoOut); - }).start(); + /*}).start();*/ } @Transactional @@ -742,9 +742,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { List<Long> invoiceIds = incomeInvoiceQueryService.findPreInvoiceIdsWith(cmd.getIncomeId(), InvoiceTypeEnum.鍚屾寮€绁�.getValue()); entryIncomeWithInvoiceTemp(incomeAggregate,invoiceIds,cmd,entryBillAggregate,map,detailList); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(Arrays.asList(incomeAggregate),detailList,"鏀跺叆鍏ヨ处",new AtomicBoolean(true),map,infoOut); - }).start(); + /* }).start();*/ } @Transactional public void entryIncomeWithInvoiceTemp(IncomeAggregate incomeAggregate,List<Long> invoiceIds,SuppInvoiceCmd cmd, @@ -806,9 +806,9 @@ public class EntryCommandServiceImpl implements EntryCommandService { Map<Long,IncomeAggregate> map = new HashMap<>(); storageTemp(incomeAggregates,map,detailListAll); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{ + /*new Thread(()->{*/ push(incomeAggregates,detailListAll,"鏆傚瓨鍏ヨ处",new AtomicBoolean(true),map,infoOut); - }).start(); + /*}).start();*/ } @Transactional diff --git a/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/InvoiceCommandServieceImpl.java b/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/InvoiceCommandServieceImpl.java index 6c177899fb9e57a827a05b4180061b54f1c5728c..838260efbd17cde8c6cbbdeb0676c881b4038412 100644 --- a/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/InvoiceCommandServieceImpl.java +++ b/ServiceSite/src/main/java/com/seasky/ledgerincome/application/command/InvoiceCommandServieceImpl.java @@ -629,7 +629,9 @@ public class InvoiceCommandServieceImpl extends BaseCommandAbstractService<Invoi t.setBillNo(incomeAggregate.getReceiptBillVo().getBillNo()); }); UserInfoOut infoOut = userInfoUtil.getLoginInfoOut(); - new Thread(()->{push(entryNo,incomeAggregate,detailList,infoOut);}).start(); + /*new Thread(()->{*/ + push(entryNo,incomeAggregate,detailList,infoOut); + /*}).start();*/ } }