| | |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | |
| | | /** |
| | | * @Description: 批次过程趋势 |
| | | * @Description: 工单过程趋势 |
| | | * @Author: jeecg-boot |
| | | * @Date: 2023-03-08 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Api(tags="批次过程趋势") |
| | | @Api(tags="工单过程趋势") |
| | | @RestController |
| | | @RequestMapping("/dry/dryOrderTrend") |
| | | @Slf4j |
| | |
| | | * @param req |
| | | * @return |
| | | */ |
| | | //@AutoLog(value = "批次过程趋势-分页列表查询") |
| | | @ApiOperation(value="批次过程趋势-分页列表查询", notes="批次过程趋势-分页列表查询") |
| | | //@AutoLog(value = "工单过程趋势-分页列表查询") |
| | | @ApiOperation(value="工单过程趋势-分页列表查询", notes="工单过程趋势-分页列表查询") |
| | | @GetMapping(value = "/list") |
| | | public Result<IPage<DryOrderTrend>> queryPageList(DryOrderTrend dryOrderTrend, |
| | | @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
| | |
| | | * @param dryOrderTrend |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "批次过程趋势-添加") |
| | | @ApiOperation(value="批次过程趋势-添加", notes="批次过程趋势-添加") |
| | | @AutoLog(value = "工单过程趋势-添加") |
| | | @ApiOperation(value="工单过程趋势-添加", notes="工单过程趋势-添加") |
| | | @RequiresPermissions("dry:dry_order_trend:add") |
| | | @PostMapping(value = "/add") |
| | | public Result<String> add(@RequestBody DryOrderTrend dryOrderTrend) { |
| | |
| | | * @param dryOrderTrend |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "批次过程趋势-编辑") |
| | | @ApiOperation(value="批次过程趋势-编辑", notes="批次过程趋势-编辑") |
| | | @AutoLog(value = "工单过程趋势-编辑") |
| | | @ApiOperation(value="工单过程趋势-编辑", notes="工单过程趋势-编辑") |
| | | @RequiresPermissions("dry:dry_order_trend:edit") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) |
| | | public Result<String> edit(@RequestBody DryOrderTrend dryOrderTrend) { |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "批次过程趋势-通过id删除") |
| | | @ApiOperation(value="批次过程趋势-通过id删除", notes="批次过程趋势-通过id删除") |
| | | @AutoLog(value = "工单过程趋势-通过id删除") |
| | | @ApiOperation(value="工单过程趋势-通过id删除", notes="工单过程趋势-通过id删除") |
| | | @RequiresPermissions("dry:dry_order_trend:delete") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<String> delete(@RequestParam(name="id",required=true) String id) { |
| | |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "批次过程趋势-批量删除") |
| | | @ApiOperation(value="批次过程趋势-批量删除", notes="批次过程趋势-批量删除") |
| | | @AutoLog(value = "工单过程趋势-批量删除") |
| | | @ApiOperation(value="工单过程趋势-批量删除", notes="工单过程趋势-批量删除") |
| | | @RequiresPermissions("dry:dry_order_trend:deleteBatch") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) { |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | //@AutoLog(value = "批次过程趋势-通过id查询") |
| | | @ApiOperation(value="批次过程趋势-通过id查询", notes="批次过程趋势-通过id查询") |
| | | //@AutoLog(value = "工单过程趋势-通过id查询") |
| | | @ApiOperation(value="工单过程趋势-通过id查询", notes="工单过程趋势-通过id查询") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<DryOrderTrend> queryById(@RequestParam(name="id",required=true) String id) { |
| | | DryOrderTrend dryOrderTrend = dryOrderTrendService.getById(id); |
| | |
| | | @RequiresPermissions("dry:dry_order_trend:exportXls") |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, DryOrderTrend dryOrderTrend) { |
| | | return super.exportXls(request, dryOrderTrend, DryOrderTrend.class, "批次过程趋势"); |
| | | return super.exportXls(request, dryOrderTrend, DryOrderTrend.class, "工单过程趋势"); |
| | | } |
| | | |
| | | /** |