Commit 17a132b0 authored by neo's avatar neo

[bugfix] get period us period id but used id

parent d29b729d
......@@ -91,7 +91,7 @@ public class InputInvoiceDataImportServiceImpl extends VatAbstractService {
public OperationResultDto ImportInputInvoiceItemData(List<InputVATInvoiceItem> inputInvoiceItemDtoList, int importType, String userID) {
if (inputInvoiceItemDtoList.size() > 0) {
int period = Integer.parseInt(inputInvoiceItemDtoList.get(0).getID());
int period = inputInvoiceItemDtoList.get(0).getPeriodID();
inputInvoiceItemDtoList.forEach(item -> {
//导入之前需要将汇总表的主键更新到明细表中,如果找不到汇总信息,则设置为空
InputVATInvoiceExample example = new InputVATInvoiceExample();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment