id AS "id", production_line AS "productionLine", location_code AS "locationCode", product_code AS "productCode", operation_steps AS "operationSteps", tech_requirement AS "techRequirement", operation_type AS "operationType", step_sort AS "stepSort", param_code AS "paramCode", material_code AS "materialCode", picture AS "picture", remarks AS "remarks", spare_field_1 AS "spareField1", spare_field_2 AS "spareField2", spare_field_3 AS "spareField3", spare_field_4 AS "spareField4"
select
from rm_recipe_manage where 1 = 1
and production_line like CONCAT('%',#{paramCondition.productionLine},'%')
and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
and product_code like CONCAT('%',#{paramCondition.productCode},'%')
and param_code like CONCAT('%',#{paramCondition.paramCode},'%')
and material_code like CONCAT('%',#{paramCondition.materialCode},'%')
select
from rm_recipe_manage where 1 = 1
and production_line like CONCAT('%',#{paramCondition.productionLine},'%')
and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
and product_code like CONCAT('%',#{paramCondition.productCode},'%')
and param_code like CONCAT('%',#{paramCondition.paramCode},'%')
and material_code like CONCAT('%',#{paramCondition.materialCode},'%')
select
from rm_recipe_manage where 1 = 1
and production_line like CONCAT('%',#{paramCondition.productionLine},'%')
and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
and product_code like CONCAT('%',#{paramCondition.productCode},'%')
and param_code like CONCAT('%',#{paramCondition.paramCode},'%')
and material_code like CONCAT('%',#{paramCondition.materialCode},'%')
and location_code = #{paramCondition.locationCode}
and product_code = #{paramCondition.productCode}
ORDER BY step_sort asc
select
from rm_recipe_manage where 1 = 1
and production_line like CONCAT('%',#{paramCondition.productionLine},'%')
and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
and product_code like CONCAT('%',#{paramCondition.productCode},'%')
and param_code like CONCAT('%',#{paramCondition.paramCode},'%')
and material_code like CONCAT('%',#{paramCondition.materialCode},'%')