隔天就会报异常,重启项目就能正常使用
执行的语句select p.id,p.name,p.serise_id,p.description, a.path as 'productImg' from t_product p LEFT JOIN t_attachment a on p.id = a.tid left join t_product_series tps on p.serise_id = tps.id where p.is_del = 0 and tps.system_code = ? order by p.created_date desc LIMIT ?
t_product表分4个表