|
|
@@ -223,7 +223,7 @@ public class ArchiveController {
|
|
223
|
223
|
* @return
|
|
224
|
224
|
*/
|
|
225
|
225
|
@RequestMapping(value = "/getArchiveDataList", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
226
|
|
- @ApiOperation(value="根据单位查找单位下的所有仓房信息(统一对外接口)", notes = "根据单位查找单位下的所有仓房信息(统一对外接口)")
|
|
|
226
|
+ @ApiOperation(value="归档仓房下拉", notes = "归档仓房下拉")
|
|
227
|
227
|
@ApiImplicitParams({
|
|
228
|
228
|
@ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query")
|
|
229
|
229
|
})
|
|
|
@@ -232,26 +232,4 @@ public class ArchiveController {
|
|
232
|
232
|
map = archiveService.getArchiveDataList(orgId);
|
|
233
|
233
|
return map;
|
|
234
|
234
|
}
|
|
235
|
|
-
|
|
236
|
|
- @RequestMapping(value = "/getCRKArchiveList", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
237
|
|
- @ApiOperation(value="出入库用归档接口(统一对外接口)", notes = "出入库用归档接口(统一对外接口)")
|
|
238
|
|
- @ApiImplicitParams({
|
|
239
|
|
- @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query")
|
|
240
|
|
- })
|
|
241
|
|
- public Map<String,Object> getCRKArchiveList(String orgId) throws Exception {
|
|
242
|
|
- Map<String,Object> map = new HashMap<String, Object>();
|
|
243
|
|
- try {
|
|
244
|
|
- //执行任务
|
|
245
|
|
- List<Map<String, Object>> archiveList = archiveService.getCRKArchiveList(orgId);
|
|
246
|
|
- map.put("success",true);
|
|
247
|
|
- map.put("msg","查询成功!");
|
|
248
|
|
- map.put("rows",archiveList);
|
|
249
|
|
- map.put("totalCount",archiveList.size());
|
|
250
|
|
- } catch (Exception e) {
|
|
251
|
|
- map.put("success",false);
|
|
252
|
|
- map.put("msg","查询失败!");
|
|
253
|
|
- return map;
|
|
254
|
|
- }
|
|
255
|
|
- return map;
|
|
256
|
|
- }
|
|
257
|
235
|
}
|