| | |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Map; |
| | |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | @GetMapping("{labelid}") |
| | | @PreAuthorize("hasAuthority('empAccessory:delete')") |
| | | public FebsResponse getLabelCount(@PathVariable(value = "labelid") String labelid) throws FebsException { |
| | | try { |
| | | return new FebsResponse().data(empAccessoryService.getLabelCount(Long.valueOf(labelid))); |
| | | } catch (Exception e) { |
| | | String message = "修改Label失败"; |
| | | log.error(message, e); |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | } |