| | |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("basic/inout-report") |
| | | @RequestMapping("basic/inout/report") |
| | | public class InoutReportController { |
| | | |
| | | @Autowired |
| | |
| | | * @param data |
| | | * @return |
| | | */ |
| | | @RequestMapping("/inout-bill-weight") |
| | | @RequestMapping("/bill-weight") |
| | | public PageResponse<String> inoutWeightBill(@RequestBody InoutData data) { |
| | | try { |
| | | String html; |
| | |
| | | return new PageResponse<>(RespCodeEnum.CODE_0000, html); |
| | | } catch (Exception e) { |
| | | log.error("后台异常:{}", e); |
| | | return new PageResponse<String>(RespCodeEnum.CODE_1111.getCode(), |
| | | return new PageResponse<>(RespCodeEnum.CODE_1111.getCode(), |
| | | "后台异常:" + e.getMessage()); |
| | | } |
| | | } |