This commit is contained in:
rulingcom 2023-08-03 13:58:37 +08:00
parent 47bdfa1142
commit 25278beb33
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ module NccuSyncPlugin
self.get_school_mapping
self.get_position_mapping
self.get_sta_num_to_nccu_id_mapping
@debug_sql_mode = false # true will print sql command
@debug_mode = true # true will print rss_id if it is new record
@test_mode = false
end
@ -341,7 +342,7 @@ module NccuSyncPlugin
end
end
end
if @debug_mode
if @debug_sql_mode
puts sql
end
sql