|
|
@@ -84,38 +84,38 @@ public class StorageQualitycheckServiceImpl implements StorageQualitycheckServic
|
|
84
|
84
|
|
|
85
|
85
|
List<StorageQualitycheck> list = qualitycheckMapper.getQualitycheckListByFoodbasicinfoCheck(qualitycheck);
|
|
86
|
86
|
|
|
87
|
|
- if(list.size()>0){
|
|
88
|
|
- int i = 0;
|
|
89
|
|
- for(;i<list.size();i++){
|
|
90
|
|
- List<StorageQualitycheckSon> QualitycheckdList = qualitycheckSonService.selectByQualitycheckId(list.get(i).getId());
|
|
91
|
|
- for(StorageQualitycheckSon qc : QualitycheckdList){
|
|
92
|
|
- if(qc.getNumbering()== 2789 ){
|
|
93
|
|
- list.get(i).setEatScore(qc.getSetValue());
|
|
94
|
|
- continue;
|
|
95
|
|
- }
|
|
96
|
|
- if(qc.getNumbering() == 2790 ){
|
|
97
|
|
- list.get(i).setGlutenWaterCount(qc.getSetValue());
|
|
98
|
|
- continue;
|
|
99
|
|
- }
|
|
100
|
|
- if(qc.getNumbering() == 2798 ){
|
|
101
|
|
- list.get(i).setFatIndex(qc.getSetValue());
|
|
102
|
|
- continue;
|
|
103
|
|
- }
|
|
104
|
|
- if(qc.getNumbering() == 2797 ){
|
|
105
|
|
- list.get(i).setEatScore(qc.getSetValue());
|
|
106
|
|
- continue;
|
|
107
|
|
- }
|
|
108
|
|
- if(qc.getNumbering() == 2796 ){
|
|
109
|
|
- list.get(i).setColorsmell(qc.getSetValue());
|
|
110
|
|
- continue;
|
|
111
|
|
- }
|
|
112
|
|
- if(qc.getNumbering() == 2795 ){
|
|
113
|
|
- list.get(i).setMildewCount(qc.getSetValue());
|
|
114
|
|
- continue;
|
|
115
|
|
- }
|
|
116
|
|
- }
|
|
117
|
|
- }
|
|
118
|
|
- }
|
|
|
87
|
+// if(list.size()>0){
|
|
|
88
|
+// int i = 0;
|
|
|
89
|
+// for(;i<list.size();i++){
|
|
|
90
|
+// List<StorageQualitycheckSon> QualitycheckdList = qualitycheckSonService.selectByQualitycheckId(list.get(i).getId());
|
|
|
91
|
+// for(StorageQualitycheckSon qc : QualitycheckdList){
|
|
|
92
|
+// if(qc.getNumbering()== 2791 ){
|
|
|
93
|
+// list.get(i).setWater(qc.getSetValue());
|
|
|
94
|
+// continue;
|
|
|
95
|
+// }
|
|
|
96
|
+// if(qc.getNumbering() == 2790 ){
|
|
|
97
|
+// list.get(i).setGlutenWaterCount(qc.getSetValue());
|
|
|
98
|
+// continue;
|
|
|
99
|
+// }
|
|
|
100
|
+// if(qc.getNumbering() == 2798 ){
|
|
|
101
|
+// list.get(i).setFatIndex(qc.getSetValue());
|
|
|
102
|
+// continue;
|
|
|
103
|
+// }
|
|
|
104
|
+// if(qc.getNumbering() == 2797 ){
|
|
|
105
|
+// list.get(i).setEatScore(qc.getSetValue());
|
|
|
106
|
+// continue;
|
|
|
107
|
+// }
|
|
|
108
|
+// if(qc.getNumbering() == 2796 ){
|
|
|
109
|
+// list.get(i).setColorsmell(qc.getSetValue());
|
|
|
110
|
+// continue;
|
|
|
111
|
+// }
|
|
|
112
|
+// if(qc.getNumbering() == 2795 ){
|
|
|
113
|
+// list.get(i).setMildewCount(qc.getSetValue());
|
|
|
114
|
+// continue;
|
|
|
115
|
+// }
|
|
|
116
|
+// }
|
|
|
117
|
+// }
|
|
|
118
|
+// }
|
|
119
|
119
|
return list;
|
|
120
|
120
|
}
|
|
121
|
121
|
|