diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/manage/CompanyFiscalCodeManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/manage/CompanyFiscalCodeManage.java index 386b74c..db64160 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/manage/CompanyFiscalCodeManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/manage/CompanyFiscalCodeManage.java @@ -51,7 +51,7 @@ public class CompanyFiscalCodeManage { companyFiscalCode.setFiscalCode(fiscalCode); companyFiscalCode.setUpdateOn(LocalDateTime.now()); companyFiscalCode.setUpdateBy(userId); - iCompanyFiscalCodeService.save(companyFiscalCode); + iCompanyFiscalCodeService.saveOrUpdate(companyFiscalCode); // 保存印章配置 @@ -66,7 +66,7 @@ public class CompanyFiscalCodeManage { companySignature.setUpdateOn(LocalDateTime.now()); companySignature.setCreateBy(userId); companySignature.setUpdateBy(userId); - iCompanySignatureService.save(companySignature); + iCompanySignatureService.saveOrUpdate(companySignature); } public ResCompanyFiscalCodeAndSealSnVO getFiscalCodeConfigure(ReqGetCompanyFiscalCodeAndSealSnPO request) {