kangwei:批量审批请求方式改为GET
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
... | @@ -323,7 +323,7 @@ public class MaterialINController { | ... | @@ -323,7 +323,7 @@ public class MaterialINController { |
323 | 323 | ||
324 | @AutoLog(value = "erp--物料(药剂)入库-批量送审") | 324 | @AutoLog(value = "erp--物料(药剂)入库-批量送审") |
325 | @ApiOperation(value="erp--物料(药剂)入库-批量送审", notes="erp--物料(药剂)入库-批量送审") | 325 | @ApiOperation(value="erp--物料(药剂)入库-批量送审", notes="erp--物料(药剂)入库-批量送审") |
326 | @DeleteMapping(value = "/batchSendAudit") | 326 | @GetMapping(value = "/batchSendAudit") |
327 | public Result<MaterialIN> batchSendAudit(@RequestParam(name="ids",required=true) String ids) { | 327 | public Result<MaterialIN> batchSendAudit(@RequestParam(name="ids",required=true) String ids) { |
328 | Result<MaterialIN> result = new Result<MaterialIN>(); | 328 | Result<MaterialIN> result = new Result<MaterialIN>(); |
329 | if(ids==null || "".equals(ids.trim())) { | 329 | if(ids==null || "".equals(ids.trim())) { |
... | @@ -331,7 +331,7 @@ public class MaterialINController { | ... | @@ -331,7 +331,7 @@ public class MaterialINController { |
331 | }else { | 331 | }else { |
332 | String auditStatus = "1"; | 332 | String auditStatus = "1"; |
333 | this.materialINService.batchSendAudit(JSUtils.quoteEach(ids,","),auditStatus); | 333 | this.materialINService.batchSendAudit(JSUtils.quoteEach(ids,","),auditStatus); |
334 | result.success("删除成功!"); | 334 | result.success("批量送审成功!"); |
335 | } | 335 | } |
336 | return result; | 336 | return result; |
337 | } | 337 | } | ... | ... |
-
请 注册 或 登录 后发表评论