存储过程中的一个标点符号的小坑。

    update reserve_info  set reserve_count  = countCurrent  reserve_wu_pin_update_time  =  timeParam where reserve_wu_pin_onle_number = wuPinOnlyNumber;


这一行语句,乍一看是没有问题的,在mysql的存储过程中,也是可以保存并且不报错的。

但是在执行的时候出现了错误。因为是中文的逗号。并且贴着待更新的字段时,中文逗号竟然不报错。

猜你喜欢

转载自blog.csdn.net/weixin_38728273/article/details/89705299