src/main/java/com/ruoyi/purchase/service/impl/TicketRegistrationServiceImpl.java
@@ -164,11 +164,11 @@ productRecord.setSaleLedgerProjectId(salesLedgerProduct.getId()); productRecord.setId(null); productRecord.setType("2"); insert = productRecordMapper.insert(productRecord); insert += productRecordMapper.insert(productRecord); } } if (insert <= 0) { throw new RuntimeException("产品开票数都为0,请检查"); } } } // 迁移临时文件到正式目录 src/main/resources/mapper/purchase/PaymentRegistrationMapper.xml
@@ -183,6 +183,7 @@ AND t4.purchase_contract_number LIKE CONCAT('%',#{params.purchaseContractNumber},'%') </if> </where> GROUP BY T1.id ORDER BY T1.payment_date,T1.create_time DESC </select>