3352-docuware #880

Merged
joan merged 16 commits from 3352-docuware into dev 2022-02-28 13:44:49 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 4606b0d7ea - Show all commits

View File

@ -43,7 +43,7 @@ module.exports = Self => {
const docuwareConfig = await models.DocuwareConfig.findOne(); const docuwareConfig = await models.DocuwareConfig.findOne();
const docuwareInfo = await models.Docuware.findOne({ const docuwareInfo = await models.Docuware.findOne({
where: { where: {
name: fileCabinet, code: fileCabinet,
dialogName: dialog dialogName: dialog
} }
}); });

View File

@ -56,7 +56,7 @@ module.exports = Self => {
const docuwareConfig = await models.DocuwareConfig.findOne(); const docuwareConfig = await models.DocuwareConfig.findOne();
const docuwareInfo = await models.Docuware.findOne({ const docuwareInfo = await models.Docuware.findOne({
where: { where: {
name: fileCabinet, code: fileCabinet,
dialogName: dialog dialogName: dialog
} }
}); });

View File

@ -6,6 +6,6 @@ CREATE TABLE `vn`.`docuware` (
`find` varchar(50) DEFAULT NULL `find` varchar(50) DEFAULT NULL
); );
INSERT INTO `vn`.`docuware` (`name`, `fileCabinetName`, `dialogName` , `find`) INSERT INTO `vn`.`docuware` (`code`, `fileCabinetName`, `dialogName` , `find`)
VALUES VALUES
('deliveryClient', 'Albaranes cliente', 'findTicket', 'N__ALBAR_N'); ('deliveryClient', 'Albaranes cliente', 'findTicket', 'N__ALBAR_N');