MySQL-[--001--]-报错( (1292, u"Truncated incorrect DOUBLE value: '424a000000066'") result = self._query(query))
1.数据库sql语句:SELECT seat_id FROM netsale_order_seat os join netsale_order nor on os.order_code=nor.order_code WHERE pay_order_no=${order_id[0]};
报错信息:(1292, u"Truncated incorrect DOUBLE value: '424a000000066 '")result = self._query(query)
解决方法:将SELECT seat_id FROM netsale_order_seat os join netsale_order nor on os.order_code=nor.order_code WHERE pay_order_no=${order_id[0]};中的pay_order_no=${order_id[0]}改成pay_order_no=‘${order_id[0]}’;
当有些人一出生就有的东西,我们要为之奋斗几十年才拥有。但有一样东西,你一辈子都不会有,那就是我们曾经一无所有。