|
|
@@ -2,6 +2,7 @@ package com.chinaitop.depot.rp.controller;
|
|
2
|
2
|
|
|
3
|
3
|
|
|
4
|
4
|
import com.chinaitop.depot.business.model.OrgInfo;
|
|
|
5
|
+import com.chinaitop.depot.rp.model.BusinessQcQualityInspection;
|
|
5
|
6
|
import com.chinaitop.depot.rp.model.BusinessRpBiweeklyReport;
|
|
6
|
7
|
import com.chinaitop.depot.rp.model.BusinessRpReport;
|
|
7
|
8
|
import com.chinaitop.depot.rp.model.vo.BusinessRpOutboundVO;
|
|
|
@@ -160,9 +161,49 @@ public class BusinessRpReportController {
|
|
160
|
161
|
*/
|
|
161
|
162
|
@RequestMapping(value="/getRpReportFindByById",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.GET)
|
|
162
|
163
|
@ApiOperation(value="新增时得到轮换计划详情", notes = "新增时得到轮换计划详情")
|
|
163
|
|
- public BusinessRpReportVO getRpReportDetailsByAdd(Integer rpReportId) throws Exception {
|
|
|
164
|
+ public BusinessRpReportRecVO getRpReportDetailsByAdd(String rpReportId) throws Exception {
|
|
164
|
165
|
|
|
165
|
|
- BusinessRpReportVO list = businessRpReportService.getRpReportFindByById(rpReportId);
|
|
|
166
|
+ BusinessRpReportRecVO list = businessRpReportService.getRpReportFindByById(rpReportId);
|
|
|
167
|
+ return list;
|
|
|
168
|
+ }
|
|
|
169
|
+
|
|
|
170
|
+ /**
|
|
|
171
|
+ * 查询质检报告
|
|
|
172
|
+ * @return
|
|
|
173
|
+ * @throws Exception
|
|
|
174
|
+ */
|
|
|
175
|
+// @RequestMapping(value="/getQualityInspectionFindById",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.GET)
|
|
|
176
|
+// @ApiOperation(value="新增时得到查询质检报告", notes = "新增时得到查询质检报告")
|
|
|
177
|
+// @ApiImplicitParams({
|
|
|
178
|
+// @ApiImplicitParam(name = "rpReportId", value = "轮换计划上报id", paramType = "form"),
|
|
|
179
|
+// @ApiImplicitParam(name = "warehouseId", value = "货位id", paramType = "form"),
|
|
|
180
|
+// @ApiImplicitParam(name = "jylb", value = "检验类别", paramType = "form"),
|
|
|
181
|
+// @ApiImplicitParam(name = "inspectionReportId", value = "质检报告id", paramType = "form")
|
|
|
182
|
+//
|
|
|
183
|
+//
|
|
|
184
|
+// })
|
|
|
185
|
+// public List<BusinessQcQualityInspection> getRpReportDetailsByAdd(String rpReportId, Integer warehouseId, String jylb,Integer inspectionReportId) throws Exception {
|
|
|
186
|
+//
|
|
|
187
|
+// List<BusinessQcQualityInspection> list = businessRpReportService.getQualityInspectionFindById(rpReportId,warehouseId,jylb,inspectionReportId);
|
|
|
188
|
+// return list;
|
|
|
189
|
+// }
|
|
|
190
|
+
|
|
|
191
|
+ /**
|
|
|
192
|
+ * 根据货位查询粮情卡质检报告
|
|
|
193
|
+ * @return
|
|
|
194
|
+ * @throws
|
|
|
195
|
+ */
|
|
|
196
|
+ @RequestMapping(value="/getQualityInspectionFindByWarehouseId",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.GET)
|
|
|
197
|
+ @ApiOperation(value="根据货位查询粮情卡质检报告", notes = "根据货位查询粮情卡质检报告")
|
|
|
198
|
+ @ApiImplicitParams({
|
|
|
199
|
+ @ApiImplicitParam(name = "jylb", value = "检验类别", paramType = "form"),
|
|
|
200
|
+ @ApiImplicitParam(name = "warehouseId", value = "货位id", paramType = "form")
|
|
|
201
|
+
|
|
|
202
|
+
|
|
|
203
|
+ })
|
|
|
204
|
+ public List<BusinessQcQualityInspection> getQualityInspectionFindByWarehouseId(String jylb,Integer warehouseId) throws Exception {
|
|
|
205
|
+
|
|
|
206
|
+ List<BusinessQcQualityInspection> list = businessRpReportService.getQualityInspectionFindByWarehouseId(jylb,warehouseId);
|
|
166
|
207
|
return list;
|
|
167
|
208
|
}
|
|
168
|
209
|
|