From 6bbed1ea6b36af4eb0b234bec9d6e42d56f0cd00 Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期三, 30 九月 2026 16:12:49 +0800
Subject: [PATCH] feat:合同新增关联单位 开票可根据甲方或关联单位选择开票单位 收款去掉强制确认 收款只关联合同甲方或关联单位
---
platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java b/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
index 933b6c2..8950d86 100644
--- a/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
+++ b/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
@@ -12,6 +12,7 @@
import com.by4cloud.platformx.common.data.datascope.PlatformxBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
import java.util.List;
@@ -70,4 +71,16 @@
HomeZgsVo homeZgs(@Param("compId") Long compId);
Page<FourAssociationPageVo> fourAssociation(Page page,@Param("queryDTO") ContractQueryDTO queryDTO, DataScope comp_id);
+
+ @Select("SELECT\n" +
+ "\tbc.province \n" +
+ "FROM\n" +
+ "\tcontract c\n" +
+ "\tLEFT JOIN business_customer bc ON bc.id = c.party_a_id \n" +
+ "WHERE\n" +
+ "\tbc.province IS NOT NULL \n" +
+ "and c.party_b_id = #{compId}" +
+ "GROUP BY\n" +
+ "\tbc.province;")
+ List<String> homeZgsColum(@Param("compId") Long compId);
}
--
Gitblit v1.9.1