|
|
@@ -1534,6 +1534,10 @@ public class PsExeExcelUtil {
|
|
1534
|
1534
|
if (createBy.isEmpty()) {
|
|
1535
|
1535
|
errorLogList.add("制单人为空");
|
|
1536
|
1536
|
}
|
|
|
1537
|
+ String bcInvoiceNo=trimField(dto.getBcInvoiceNo());
|
|
|
1538
|
+ if (bcInvoiceNo.isEmpty()) {
|
|
|
1539
|
+ errorLogList.add("发票号为空");
|
|
|
1540
|
+ }
|
|
1537
|
1541
|
|
|
1538
|
1542
|
|
|
1539
|
1543
|
|
|
|
@@ -1593,6 +1597,7 @@ public class PsExeExcelUtil {
|
|
1593
|
1597
|
entity.setCreateBy(cb);
|
|
1594
|
1598
|
}
|
|
1595
|
1599
|
|
|
|
1600
|
+
|
|
1596
|
1601
|
entity.setDataStatus(errorLog.isEmpty() ? "0" : "9");
|
|
1597
|
1602
|
entity.setErrorLog(errorLog);
|
|
1598
|
1603
|
entity.setCreateTime(new Date());
|
|
|
@@ -1613,6 +1618,7 @@ public class PsExeExcelUtil {
|
|
1613
|
1618
|
entity.setOutTaxRate(outTaxRate);
|
|
1614
|
1619
|
entity.setCreateBy(createBy);
|
|
1615
|
1620
|
entity.setNtSoAmt(ntSoAmt);
|
|
|
1621
|
+ entity.setBcInvoiceNo(bcInvoiceNo);
|
|
1616
|
1622
|
|
|
1617
|
1623
|
// 6. 生成流水号(前缀XS+年月+6位自增ID)
|
|
1618
|
1624
|
InfExe1Amount infExe1Amount = new InfExe1Amount();
|