|
|
@@ -87,24 +87,25 @@ public class StorageQualitycheckServiceImpl implements StorageQualitycheckServic
|
|
87
|
87
|
|
|
88
|
88
|
@Override
|
|
89
|
89
|
public List<StorageQualitycheck> getQualitycheckListByFoodbasicinfoCheck(StorageQualitycheck qualitycheck,Integer foodbasicinfoId) {
|
|
90
|
|
- //获取春秋普查
|
|
91
|
90
|
List<StorageQualitycheck> list = qualitycheckMapper.getQualitycheckListByFoodbasicinfoCheck(qualitycheck);
|
|
92
|
|
- if(list.size()>0){
|
|
93
|
|
- int i = 0;
|
|
94
|
|
- for(;i<list.size();i++){
|
|
95
|
|
- List<StorageQualitycheckSon> QualitycheckdList = qualitycheckSonService.selectByQualitycheckId(list.get(i).getId());
|
|
96
|
|
- for(StorageQualitycheckSon qc : QualitycheckdList){
|
|
97
|
|
- if(qc.getNumbering()== 2789 ){
|
|
98
|
|
- list.get(i).setEatScore(qc.getSetValue());
|
|
99
|
|
- continue;
|
|
100
|
|
- }
|
|
101
|
|
- if(qc.getNumbering() == 2790 ){
|
|
102
|
|
- list.get(i).setGlutenWaterCount(qc.getSetValue());
|
|
103
|
|
- continue;
|
|
104
|
|
- }
|
|
105
|
|
- }
|
|
106
|
|
- }
|
|
107
|
|
- }
|
|
|
91
|
+// //获取春秋普查
|
|
|
92
|
+// List<StorageQualitycheck> list = qualitycheckMapper.getQualitycheckListByFoodbasicinfoCheck(qualitycheck);
|
|
|
93
|
+// if(list.size()>0){
|
|
|
94
|
+// int i = 0;
|
|
|
95
|
+// for(;i<list.size();i++){
|
|
|
96
|
+// List<StorageQualitycheckSon> QualitycheckdList = qualitycheckSonService.selectByQualitycheckId(list.get(i).getId());
|
|
|
97
|
+// for(StorageQualitycheckSon qc : QualitycheckdList){
|
|
|
98
|
+// if(qc.getNumbering()== 2789 ){
|
|
|
99
|
+// list.get(i).setEatScore(qc.getSetValue());
|
|
|
100
|
+// continue;
|
|
|
101
|
+// }
|
|
|
102
|
+// if(qc.getNumbering() == 2790 ){
|
|
|
103
|
+// list.get(i).setGlutenWaterCount(qc.getSetValue());
|
|
|
104
|
+// continue;
|
|
|
105
|
+// }
|
|
|
106
|
+// }
|
|
|
107
|
+// }
|
|
|
108
|
+// }
|
|
108
|
109
|
return list;
|
|
109
|
110
|
}
|
|
110
|
111
|
|