xuhy
8 天以前 61d85c788d4d966886617ccdf3335c6a55896878
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}, '%')