Merge branch 'master' into feature_rene_18_ai - kein kommentar...

# Conflicts:
#	BeWo/BeWo.csproj
#	BeWo/BeWoApp.xaml.cs
#	BeWo/ServiceProxy/GeneratedAiEnhancedService.cs
#	BeWo/Services/BeWoControlFactory.cs
#	BeWo/Services/BeWoWindowFactory.cs
#	BeWo/Services/BeWoWindowService.cs
#	BeWo/Services/IControlFactory.cs
#	BeWo/Services/IWindowFactory.cs
#	BeWo/Services/IWindowService.cs
#	BeWo/View/BeWoFileView.xaml
#	BeWo/View/Detail/Report/AbwesenheitsView.xaml
#	BeWo/View/Windows/AnimatedBeWoWindow.xaml.cs
#	BeWo/app.config
#	BeWoAllReports.sln
#	BeWoPlanerMobil.sln
#	BeWoPlanerMobil/.vs/BeWoPlanerMobil.csproj.dtbcache.json
#	BeWoTests.sln
#	Dakota/DakotaUtils.cs
#	Dakota/Logic/DakotaInfoCreator.cs
#	Dakota/Models/DakotaFile.cs
#	Data/Access/GenericDAO.cs
#	Data/Access/SearchDAO.cs
#	Data/Data.csproj
#	Host/Web.config
#	Server/Components/ServerUtils/ApiFacade/WebClientFacade.cs
#	Service/BeWoServiceEnums.cs
#	Service/Core/ServiceHelper.cs
#	Service/Core/ServiceValidator.cs
#	Service/Extensions/ServiceEnumExtension.cs
#	Service/Service.csproj
#	Service/ServiceContracts/Enhanced/IAiEnhancedService.cs
#	Service/ServiceContracts/Enhanced/IOperationsEnhancedService.cs
#	Service/ServiceImplementations/EmployeeServiceImp.cs
#	Service/ServiceImplementations/Enhanced/AiEnhancedServiceImp.cs
#	Service/ServiceImplementations/Enhanced/OperationsEnhancedServiceImp.cs
#	Service/ServiceProxy/OpenWebUIFacade.cs
#	Service/ServiceProxy/ServiceFacade.cs
#	Service/ServiceUtils/DistanceCalculator/GoogleDistanceMatrixAPI.cs
#	Shared/BeWoEntityEnums.cs
#	Shared/Core/AppError.cs
#	Shared/Core/Facade/WebClientFacade.cs
#	Shared/Core/WebClientFacade.cs
#	Shared/Shared.csproj
This commit is contained in:
2025-11-28 12:07:35 +01:00
1059 changed files with 112727 additions and 175550 deletions

View File

@@ -0,0 +1,21 @@
CREATE TABLE `person2team` (
`Oid` bigint NOT NULL AUTO_INCREMENT,
`PersonOid` bigint DEFAULT NULL,
`TeamOid` bigint DEFAULT NULL,
`OwnChatRole` int DEFAULT NULL,
`Tid` int DEFAULT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(256) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`UpdTs` datetime DEFAULT NULL,
`UdpUser` varchar(256) DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
PRIMARY KEY (`Oid`),
KEY `IdxPerson2TeamPerson` (`PersonOid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `Team`
ADD COLUMN `IsOwnChatTeam` int DEFAULT NULL;

View File

@@ -0,0 +1,9 @@
ALTER TABLE `team`
DROP FOREIGN KEY `FK_TEAM_LEADER_EMPLOYEE`;
ALTER TABLE `team`
CHANGE COLUMN `EmployeeOid` `EmployeeOid` BIGINT NULL ;
ALTER TABLE `team`
ADD CONSTRAINT `FK_TEAM_LEADER_EMPLOYEE`
FOREIGN KEY (`EmployeeOid`)
REFERENCES `employee` (`Oid`);

View File

@@ -0,0 +1,19 @@
CREATE TABLE `StoredFile` (
`Oid` bigint NOT NULL AUTO_INCREMENT,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(255) DEFAULT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`Tid` int DEFAULT NULL,
`UdpUser` varchar(255) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
`FileName` varchar(255),
`FilePath` varchar(1024),
`ContentType` varchar(127),
`Size` bigint,
`Checksum` varchar(64),
`BeWoObjectTid` int,
`BeWoObjectOid` bigint,
PRIMARY KEY (`Oid`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=latin1;

View File

@@ -0,0 +1,10 @@
ALTER TABLE `invoicebase`
ADD COLUMN `XRechnungStoredFileOid` BIGINT NULL DEFAULT NULL AFTER `StornoInvoiceBaseOid`,
ADD INDEX `FK_IN_SFILE_idx` (`XRechnungStoredFileOid` ASC) VISIBLE;
;
ALTER TABLE `invoicebase`
ADD CONSTRAINT `FK_IN_SFILE`
FOREIGN KEY (`XRechnungStoredFileOid`)
REFERENCES `storedfile` (`Oid`)
ON DELETE CASCADE
ON UPDATE CASCADE;

View File

@@ -1675,3 +1675,66 @@ ADD COLUMN `VgaType` int DEFAULT NULL;
ALTER TABLE `SignatureHistory`
ADD COLUMN `DataBild` longtext DEFAULT NULL;
CREATE TABLE `person2team` (
`Oid` bigint NOT NULL AUTO_INCREMENT,
`PersonOid` bigint DEFAULT NULL,
`TeamOid` bigint DEFAULT NULL,
`OwnChatRole` int DEFAULT NULL,
`Tid` int DEFAULT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(256) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`UpdTs` datetime DEFAULT NULL,
`UdpUser` varchar(256) DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
PRIMARY KEY (`Oid`),
KEY `IdxPerson2TeamPerson` (`PersonOid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `Team`
ADD COLUMN `IsOwnChatTeam` int DEFAULT NULL;
CREATE TABLE `StoredFile` (
`Oid` bigint NOT NULL AUTO_INCREMENT,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(255) DEFAULT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`Tid` int DEFAULT NULL,
`UdpUser` varchar(255) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
`FileName` varchar(255),
`FilePath` varchar(1024),
`ContentType` varchar(127),
`Size` bigint,
`Checksum` varchar(64),
`BeWoObjectTid` int,
`BeWoObjectOid` bigint,
PRIMARY KEY (`Oid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `invoicebase`
ADD COLUMN `XRechnungStoredFileOid` BIGINT NULL DEFAULT NULL AFTER `StornoInvoiceBaseOid`,
ADD INDEX `FK_IN_SFILE_idx` (`XRechnungStoredFileOid` ASC);
ALTER TABLE `invoicebase`
ADD CONSTRAINT `FK_IN_SFILE`
FOREIGN KEY (`XRechnungStoredFileOid`)
REFERENCES `storedfile` (`Oid`)
ON DELETE CASCADE
ON UPDATE CASCADE;
ALTER TABLE `team`
DROP FOREIGN KEY `FK_TEAM_LEADER_EMPLOYEE`;
ALTER TABLE `team`
CHANGE COLUMN `EmployeeOid` `EmployeeOid` BIGINT NULL ;
ALTER TABLE `team`
ADD CONSTRAINT `FK_TEAM_LEADER_EMPLOYEE`
FOREIGN KEY (`EmployeeOid`)
REFERENCES `employee` (`Oid`);