| | |
| | | pm.model as model, |
| | | pm.unit as unit, |
| | | pm.drawing_number as drawingNumber, |
| | | pm.product_type as productType |
| | | pm.product_type as productType, |
| | | pr.id as routeId, |
| | | pr.process_route_name as routeName, |
| | | pm.create_time as createTime, |
| | | pm.update_time as updateTime |
| | | from product_model pm |
| | | left join product p on p.id = pm.product_id |
| | | left join product p on p.id = pm.product_id |
| | | left join process_route pr on pr.id = pm.route_id |
| | | <where> |
| | | <if test="req.productName != null and req.productName != ''"> |
| | | and p.product_name like concat('%',#{req.productName},'%') |