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>