发表于: 2017-09-10 23:09:26
1 709
今天完成的事情:
article后台接口跑通
明天计划的事情:
重构代码,跑通,写article前台代码
遇到的问题:
之前的接口无法跑通,前台传值到后台失败,传值成功后xxxService.update(xxx)和insert(xxx)方法无法实现,感觉觉得还是数据和表中字段属性对不上,但是从后台直接获取出来的数据再次插入也还是不行,觉得可能是一开始的配置或者表就有问题,今天来重构项目
mysql> update profession set category=1, c_id=1, company_welfare=1, condition=1, create_at=1, create_by=1, duty=1, education=1, experience=1, label=1, name=1, publish_at=1, recommend=1, salary=1, status=1, update_at=1, update_by=1 where id=1;
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition=1, create_at=1, create_by=1, duty=1, education=1, experience=1, label=' at line 1
然后这个sql语句报错 也不是很明白
收获:
无
评论