refs #5925 Tablet
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-12-13 08:22:58 +01:00
parent 412cac7e94
commit 2393625a48
2 changed files with 12 additions and 7 deletions

View File

@ -56,6 +56,16 @@ module.exports = Self => {
}]
});
// get tablet
const tablet = await models.userConfig.findById(id, {
include: [{
relation: 'Tablet',
scope: {
fields: ['id']
}
}]
});
// upload file
const templateJson = {
'Fields': [
@ -102,12 +112,7 @@ module.exports = Self => {
{
'FieldName': 'FILTRO_TABLET',
'ItemElementName': 'string',
'Item': 'Tablet1',
},
{
'FieldName': 'ID_TABLET',
'ItemElementName': 'integer',
'Item': userConfig.tabletFk,
'Item': tablet.id,
}
]
};

View File

@ -3,7 +3,7 @@
"base": "VnModel",
"options": {
"mysql": {
"table": "vn.docuwareTablet"
"table": "docuwareTablet"
}
},
"properties": {