| | |
| | | package com.gkhy.safePlatform.equipment.controller; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.gkhy.safePlatform.commons.enums.ResultCodes; |
| | | import com.gkhy.safePlatform.commons.query.PageQuery; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.commons.vo.SearchResultVO; |
| | |
| | | Long id = jsonObject.getLong("id"); |
| | | return safeMaterialDetailService.queryById(id); |
| | | } |
| | | |
| | | /** |
| | | * 特殊作业批量出库接口 |
| | | * @param authentication |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/deliveryBatchSpw") |
| | | public ResultVO deliveryBatchSpw(Authentication authentication, @Validated @RequestBody MaterialSpwReq req){ |
| | | safeMaterialDetailService.deliveryBatchSpw(req); |
| | | return new ResultVO<>(ResultCodes.OK); |
| | | } |
| | | /* *//** |
| | | * 根据rfid获去数据 |
| | | * @param authentication |
| | | * @return |
| | | *//* |
| | | @PostMapping(value = "/rfid/list") |
| | | public ResultVO getListByRfid(Authentication authentication, @RequestBody String[] rfids){ |
| | | return new ResultVO(ResultCodes.OK,safeMaterialDetailService.getListByRfids(rfids)); |
| | | }*/ |
| | | } |