|
@@ -425,7 +425,10 @@ public class TaRaiseRecordServiceImpl extends ServiceImpl<TaRaiseRecordMapper, T
|
425
|
425
|
taContractQueryWrapper.eq("org_id", orgId);
|
426
|
426
|
taContractQueryWrapper.eq("target_type", "raise");
|
427
|
427
|
taContractQueryWrapper.eq("target_id", taRaiseRecord.getRaiseId());
|
|
428
|
+ taContractQueryWrapper.eq("invoice_target_type","raise_record");
|
|
429
|
+ taContractQueryWrapper.eq("invoice_target_id",taRaiseRecord.getRaiseRecordId());
|
428
|
430
|
taContractQueryWrapper.eq("company_id", taContractBusiness.getCompanyId());
|
|
431
|
+ taContractQueryWrapper.eq("building_id",taRaiseRecord.getBuildingId());
|
429
|
432
|
taContractQueryWrapper.eq("person_id", personId);
|
430
|
433
|
TaContract taContract = iTaContractService.getOne(taContractQueryWrapper);
|
431
|
434
|
if (taContract != null) {
|