yuan
3 天以前 ccc9d4533bc7b696f6d539720a6052abc44ff7a5
src/main/resources/mapper/projectManagement/InfoMapper.xml
@@ -74,7 +74,12 @@
            and t1.review_status = #{vo.reviewStatus.code}
        </if>
        <if test="vo.stage != null">
            and t1.stage = #{vo.stage.code}
            <!-- 2026-10-12 修复:project_management_info 没有 stage 列(元数据里叫 plan_stage,且是 JSON 格式),
                 原 `and t1.stage = #{vo.stage.code}` 一选"计划状态"就抛
                 ER_BAD_FIELD_ERROR Unknown column 't1.stage'。
                 前端该筛选项取的是字典 plan_status(1待开始/2进行中/3已结束),
                 而 t1.status 正好存的就是 1/2/3,故改指 t1.status。 -->
            and t1.status = #{vo.stage.code}
        </if>
        order by t1.create_time desc
    </select>