|
@ -35,7 +35,8 @@ |
|
|
IF(LENGTH(mm.material_code)>0,mm.material_code,'-') AS material_code, |
|
|
IF(LENGTH(mm.material_code)>0,mm.material_code,'-') AS material_code, |
|
|
IF(LENGTH(mm.material_name)>0,mm.material_name,'-') AS material_name, |
|
|
IF(LENGTH(mm.material_name)>0,mm.material_name,'-') AS material_name, |
|
|
IF(LENGTH(mm.material_spec)>0,mm.material_spec,'-') AS material_spec, |
|
|
IF(LENGTH(mm.material_spec)>0,mm.material_spec,'-') AS material_spec, |
|
|
IF(LENGTH(mm.material_model)>0,mm.material_model,'-') AS material_model |
|
|
IF(LENGTH(mm.material_model)>0,mm.material_model,'-') AS material_model, |
|
|
|
|
|
IF(LENGTH(mm.raw_material_code)>0,mm.raw_material_code,'-') AS raw_material_code |
|
|
FROM |
|
|
FROM |
|
|
`sch_base_point` p |
|
|
`sch_base_point` p |
|
|
LEFT JOIN sch_base_vehiclematerialgroup vg ON vg.vehicle_code = p.vehicle_code |
|
|
LEFT JOIN sch_base_vehiclematerialgroup vg ON vg.vehicle_code = p.vehicle_code |
|
|