change name for code
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-02-22 15:23:23 +01:00
parent 8bbb5d5c27
commit 4606b0d7ea
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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