|
@@ -46,7 +46,7 @@
|
46
|
46
|
LEFT JOIN basic_warehouse bw ON gps.warehouse_id = bw.warehouse_id
|
47
|
47
|
LEFT JOIN basic_enum be ON be.enumId = gps.grain_variety_id
|
48
|
48
|
LEFT JOIN basic_enum be1 ON be1.enumId = gps.grain_nature_id
|
49
|
|
- LEFT JOIN basic_enum be2 ON be1.enumId = gps.grain_grade_id
|
|
49
|
+ LEFT JOIN basic_enum be2 ON be2.enumId = gps.grain_grade_id
|
50
|
50
|
WHERE
|
51
|
51
|
gps.gops_plan_id = #{id}
|
52
|
52
|
</select>
|