|
@@ -49,9 +49,9 @@
|
49
|
49
|
be1.enumname grainNatureName,
|
50
|
50
|
qqi.grain_grade_id grainGradeId,
|
51
|
51
|
be2.enumname grainGradeName,
|
52
|
|
- kkd.ModifyDate modifyDate,
|
53
|
|
- kkd.scnf,
|
54
|
|
- kkd.gb,
|
|
52
|
+ kkd.rq modifyDate,
|
|
53
|
+ be3.enumname scnf,
|
|
54
|
+ be4.enumname gb,
|
55
|
55
|
qqi.jydw,
|
56
|
56
|
qqi.jyyj,
|
57
|
57
|
qqi.check_result checkResult,
|
|
@@ -71,7 +71,8 @@
|
71
|
71
|
qqi.dbsl,
|
72
|
72
|
qqi.sample_status sampleStatus,
|
73
|
73
|
qqi.sample_package_model samplePackageModel,
|
74
|
|
- qqi.jysj
|
|
74
|
+ qqi.jysj,
|
|
75
|
+ qqi.shrxm
|
75
|
76
|
FROM
|
76
|
77
|
depot_qh.business_qc_quality_inspection qqi
|
77
|
78
|
LEFT JOIN depot_qh.org_info oi ON qqi.org_id = oi.org_id
|
|
@@ -83,6 +84,8 @@
|
83
|
84
|
LEFT JOIN depot_qh.basic_enum be ON qqi.grain_variety_id = be.enumId
|
84
|
85
|
LEFT JOIN depot_qh.basic_enum be1 ON qqi.grain_nature_id = be1.enumId
|
85
|
86
|
LEFT JOIN depot_qh.basic_enum be2 ON qqi.grain_grade_id = be2.enumId
|
|
87
|
+ LEFT JOIN depot_qh.basic_enum be3 ON kkd.scnf = be3.enumId
|
|
88
|
+ LEFT JOIN depot_qh.basic_enum be4 ON kkd.gb = be4.enumId
|
86
|
89
|
WHERE
|
87
|
90
|
id = #{qualityId}
|
88
|
91
|
</select>
|