db: product: fix code not to use escapeInteger
db: reminder_condition: fix code not to use escapeInteger
db: resolution: fix code not to use escapeInteger