| | |
| | | , param.get("matnr") |
| | | , param.get("maktx") |
| | | , param.get("specs") |
| | | , param.get("mat_type") |
| | | ) |
| | | ); |
| | | |
| | |
| | | |
| | | @RequestMapping(value = "/mat/covert/{id}/auth") |
| | | @ManagerAuth |
| | | public R covert(@PathVariable("id") String id) { |
| | | Mat mat = matService.selectByMatnr(String.valueOf(id)); |
| | | public R covert(@PathVariable("id") String id) throws UnsupportedEncodingException{ |
| | | byte[] decode = Base64.getDecoder().decode(id); |
| | | String id2 = new String(decode, "utf-8"); |
| | | Mat mat = matService.selectByMatnr(id2); |
| | | if (mat == null) { |
| | | return R.ok(); |
| | | } |