| | |
| | | * @param productionProductMainDto |
| | | * @return |
| | | */ |
| | | @ApiOperation("报工台账汇总分页(当前登录人)") |
| | | @ApiOperation("报工台账汇总分页") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "current", value = "页码", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "size", value = "每页数量", dataType = "long", paramType = "query"), |
| | |
| | | /** |
| | | * 报工明细查询(每条报工记录) |
| | | */ |
| | | @ApiOperation("报工明细分页(每条报工记录, 当前登录人)") |
| | | @ApiOperation("报工明细分页(每条报工记录)") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "current", value = "页码", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "size", value = "每页数量", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "workOrderId", value = "工单ID(建议必传)", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "workOrderId", value = "工单ID", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "startDate", value = "开始日期(按结束时间过滤, yyyy-MM-dd)", dataType = "string", paramType = "query"), |
| | | @ApiImplicitParam(name = "endDate", value = "结束日期(按结束时间过滤, yyyy-MM-dd)", dataType = "string", paramType = "query") |
| | | }) |
| | |
| | | return R.ok(productionProductMainService.listPageProductionProductMainDetailDto(page, productionProductMainDto)); |
| | | } |
| | | |
| | | /** |
| | | * 报工明细汇总(每个人员每天) |
| | | */ |
| | | @ApiOperation("报工每日汇总分页(每人每天, 当前登录人)") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "current", value = "页码", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "size", value = "每页数量", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "workOrderId", value = "工单ID(建议必传)", dataType = "long", paramType = "query"), |
| | | @ApiImplicitParam(name = "startDate", value = "开始日期(report_date, yyyy-MM-dd)", dataType = "string", paramType = "query"), |
| | | @ApiImplicitParam(name = "endDate", value = "结束日期(report_date, yyyy-MM-dd)", dataType = "string", paramType = "query") |
| | | }) |
| | | @GetMapping("listPageDaily") |
| | | public R<?> pageDaily(Page<ProductionProductMainDto> page, ProductionProductMainDto productionProductMainDto) { |
| | | return R.ok(productionProductMainService.listPageProductionProductMainDailyDto(page, productionProductMainDto)); |
| | | } |
| | | |
| | | /** |
| | | * 报工新增更新 |