Merge branch 'jkasrs' of http://47.97.1.152:5880/r/zy-asrs into jkasrs
| | |
| | | return R.ok(matService.selectById(String.valueOf(id))); |
| | | } |
| | | |
| | | @RequestMapping(value = "/matCode/auth0") |
| | | @RequestMapping(value = "/mat/auth") |
| | | @ManagerAuth |
| | | public R find(@RequestParam("matnr") String matnr) { |
| | | return R.ok(matService.selectOne(new EntityWrapper<Mat>().eq("matnr", matnr))); |
| | |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | url: baseUrl + "/matCode/auth", |
| | | url: baseUrl + "/mat/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: { |
| | | id: el.value |
| | | matnr: el.value |
| | | }, |
| | | method: 'POST', |
| | | success: function (res) { |