|
|
@ -69,7 +69,7 @@ class Heytrip {
|
|
|
|
const { count, rows } = await Hotelinfo.findAndCountAll({
|
|
|
|
const { count, rows } = await Hotelinfo.findAndCountAll({
|
|
|
|
// const [ rows ] = await Hotelinfo.findAll({
|
|
|
|
// const [ rows ] = await Hotelinfo.findAll({
|
|
|
|
include: [
|
|
|
|
include: [
|
|
|
|
{ model: HeytripIds, as: 'aid', attributes: [], where: { update_flag: { [Op.ne]: 99 } } },
|
|
|
|
{ model: HeytripIds, as: 'aid', attributes: [], }, // where: { update_flag: { [Op.ne]: 99 } }
|
|
|
|
{
|
|
|
|
{
|
|
|
|
model: Hotelinfo2,
|
|
|
|
model: Hotelinfo2,
|
|
|
|
as: 'locale_info',
|
|
|
|
as: 'locale_info',
|
|
|
|