xuhy
2025-05-09 202729432866117778bc1c20315a06aa84fee98e
ruoyi-system/src/main/resources/mapper/system/TProjectProposalMapper.xml
@@ -35,7 +35,7 @@
        select tpp.id, tpp.project_name, tpp.project_stage, tpp.project_code, tpp.experiment_objective, tpp.experiment_material, tpp.experiment_device,
        tpp.experiment_test_method, tpp.experiment_procedure, tpp.data_acquisition, tpp.result_evaluation, tpp.precautions, tpp.audit_status,
        tpp.audit_person_id, tpp.audit_time, tpp.audit_remark, tpp.create_time, tpp.update_time, tpp.create_by, tpp.update_by, tpp.disabled,
        su.nickname as auditPersonName
        su.nick_name as auditPersonName
        from t_project_proposal tpp
        left join sys_user su on su.user_id = tpp.audit_person_id
        <where>
@@ -46,10 +46,10 @@
                and tpp.project_code like concat('%',#{query.projectCode},'%')
            </if>
            <if test="query.auditPersonName != null and query.auditPersonName != ''">
                and su.nickname like concat('%',#{query.auditPersonName},'%')
                and su.nick_name like concat('%',#{query.auditPersonName},'%')
            </if>
            <if test="query.createBy != null and query.createBy != ''">
                and tpp.createBy like concat('%',#{query.createBy},'%')
                and tpp.create_by like concat('%',#{query.createBy},'%')
            </if>
            <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
                AND tpp.create_time BETWEEN #{query.startTime} AND #{query.endTime}