const findData = await Assets.findOne({
where: {
barCode: {
[Op.like]: `%${getCode}%`,
},
},
});
Sequelize 不区分大小写查找数据
Published: at 02:22 PMSuggest Changes
const findData = await Assets.findOne({
where: {
barCode: {
[Op.like]: `%${getCode}%`,
},
},
});