fix: 同步ID, 旧的设为无效

main
Lei OT 10 months ago
parent 6483a8623b
commit a3af90174a

@ -179,7 +179,8 @@ class Heytrip {
const stateOff = await HeytripIds.findAll({
raw: true, logging: false,
where: {
update_flag: { [Op.notIn]: [0, 1] },
update_flag: 99,
pageIndex: { [Op.gt]: 9999 },
last_modify_time: { [Op.gt]: today },
},
attributes: ['hotel_id'],

Loading…
Cancel
Save