ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
@@ -27,7 +27,7 @@ tpp.project_name AS projectName from t_sampling_record tsr left join t_experiment_dispatch ted on ted.id = tsr.dispatch_id left join t_project_proposal tpp on tpp.id = ted.project_id left join t_project_proposal tpp on ted.proposal_id = tpp.id <where> <if test="query.projectName != null and query.projectName != ''"> and tpp.project_name like concat('%', #{query.projectName}, '%')