2026-06-02 a217dbfc7378ff9cf5b6d3ca8b229a2b9d932e51
src/main/resources/mapper/quality/QualityInspectMapper.xml
@@ -5,7 +5,7 @@
        SELECT
        qi.*,
        <choose>
            <when test="qualityInspect.inspectType == 0">
            <when test="qualityInspect.inspectType != 2">
                pl.purchase_contract_number as purchase_contract_no
            </when>
            <otherwise>
@@ -16,7 +16,7 @@
        FROM
        quality_inspect qi
        <choose>
            <when test="qualityInspect.inspectType == 0 ">
            <when test="qualityInspect.inspectType != 2 ">
                LEFT JOIN purchase_ledger pl ON pl.id = qi.purchase_ledger_id
            </when>
            <otherwise>