select * from manu_routecard t left join manu_routecardlist mr on t.routecard_id = mr.routecard_id left join manu_taskinfo mt on t.task_id = mt.task_id --where mt.part_no = '06243' where mt.task_state = '5' and mr.submittime is null 由于开始一直使用 submitti…
今天在编写登录模块时,碰到一个隐蔽的坑,故记录一番 在使用Node.js的mysql模块的query方法时,查询语句使用了 `select password from login where name=${name}` 注:name为传入的一个字符串 而非传统的 'select password from login where name=' + name 当然,这个不是这个坑触发的关键,关键在于,我以为JavaScript的字符串会自行在外部包裹一个双引号或单引号,然而事实上并非如此 当我在$…