| | |
| | | import org.jeecg.modules.tms.entity.OutboundOrder; |
| | | import org.jeecg.modules.tms.entity.ToolsLossBound; |
| | | import org.jeecg.modules.tms.entity.ToolsLossBoundDetail; |
| | | import org.jeecg.modules.tms.entity.dto.LossBoundFlowDto; |
| | | import org.jeecg.modules.tms.entity.dto.OutBoundOrderFlowDto; |
| | | import org.jeecg.modules.tms.entity.vo.OutboundDetailVo; |
| | | import org.jeecg.modules.tms.enums.OutBillStatus; |
| | | import org.jeecg.modules.tms.service.IToolsLossBoundDetailService; |
| | |
| | | return Result.OK("提交成功"); |
| | | } |
| | | |
| | | |
| | | |
| | | @AutoLog(value = "审批流程") |
| | | @ApiOperation(value = "报损单-审批流程", notes = "报损单-审批流程") |
| | | @PostMapping("/approval") |
| | | public Result<?> approval(@RequestBody LossBoundFlowDto lossBoundFlowDto) { |
| | | toolsLossBoundService.approvalProcess(lossBoundFlowDto); |
| | | return Result.OK("操作成功"); |
| | | } |
| | | /** |
| | | * 批量删除 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "出库申请单明细-批量删除") |
| | | @ApiOperation(value="出库申请单明细-批量删除", notes="出库申请单明细-批量删除") |
| | | @AutoLog(value = "报损单明细-批量删除") |
| | | @ApiOperation(value="报损单明细-批量删除", notes="报损单明细-批量删除") |
| | | @DeleteMapping(value = "/deleteBatchLossboundDetail") |
| | | public Result<String> deleteBatchLossboundDetail(@RequestParam(name="ids",required=true) String ids) { |
| | | this.toolsLossBoundDetailService.removeByIds(Arrays.asList(ids.split(","))); |
| | |
| | | } |
| | | |
| | | |
| | | /*--------------------------------子表处理-出库申请单明细-begin----------------------------------------------*/ |
| | | |
| | | /** |
| | | * 通过主表ID查询 |
| | | * @return |
| | | */ |
| | | //@AutoLog(value = "出库申请单明细-通过主表ID查询") |
| | | @ApiOperation(value="出报损申请单明细-通过主表ID查询", notes="出报损申请单明细-通过主表ID查询") |
| | | |
| | | @ApiOperation(value="报损申请单明细-通过主表ID查询", notes="报损申请单明细-通过主表ID查询") |
| | | @GetMapping(value = "/listlossboundDetailByMainId") |
| | | public Result<IPage<ToolsLossBoundDetail>> listlossboundDetailByMainId(ToolsLossBoundDetail toolsLossBoundDetail, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |