"INSERT INTO inv_access(id,create_by,create_time,update_by,update_time,attribute_category,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10,user_id,inv_id,tx_allowed,entry_allowed,start_date,end_date) VALUES"+
"INSERT INTO inv_access(id,create_by,create_time,update_by,update_time,attribute_category,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10,user_id,inv_id,tx_allowed,entry_allowed,start_date,end_date) VALUES"+
@Select("SELECT inv_id FROM inv_access WHERE entry_allowed='Y' AND attribute1=#{attribute1} AND ((#{now} > start_date AND end_date IS NULL) OR (#{now} BETWEEN start_date AND end_date))")
"INSERT INTO sys_role(id,role_name,role_code,description,create_by,create_time,update_by,update_time,status,attribute_category,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10) VALUES"+
"INSERT INTO sys_role(id,role_name,role_code,description,create_by,create_time,update_by,update_time,status,attribute_category,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,attribute10) VALUES"+