This commit is contained in:
parent
7ab8cb37cd
commit
a44e5206a7
|
@ -124,7 +124,7 @@ module.exports = Self => {
|
|||
|
||||
const supplier = await Supplier.findById(id, null, ctx.options);
|
||||
if (supplier)
|
||||
await supplier.updateAttribute('account', `${supplier.account}${id}`, ctx.options);
|
||||
await supplier.updateAttribute('account', Number(supplier.account) + id, ctx.options);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue