后台代码提交
This commit is contained in:
parent
1a7fac7cb9
commit
0abdca2751
|
|
@ -40,6 +40,18 @@ public class RepairController extends BaseController {
|
|||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取维修任务列表
|
||||
*/
|
||||
@ApiOperation(value = "获取维修任务列表")
|
||||
@Log(title = "维修任务列表", businessType = BusinessType.QUERY)
|
||||
@GetMapping("/getAppRepairTaskList")
|
||||
public AjaxResult getAppRepairTaskList(RepairTask bean)
|
||||
{
|
||||
List<RepairTask> list = service.getRepairTaskList(bean);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取维修任务机具列表
|
||||
*/
|
||||
|
|
@ -53,6 +65,18 @@ public class RepairController extends BaseController {
|
|||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取维修任务机具列表
|
||||
*/
|
||||
@ApiOperation(value = "获取维修任务机具列表")
|
||||
@Log(title = "维修任务机具列表", businessType = BusinessType.QUERY)
|
||||
@GetMapping("/getAppRepairMaTypeList")
|
||||
public AjaxResult getAppRepairMaTypeList(RepairTaskDetails bean)
|
||||
{
|
||||
List<RepairTaskDetails> list = service.getRepairMaTypeList(bean);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增维修记录
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -33,6 +33,13 @@ public class RepairTestInputController extends BaseController {
|
|||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取修试后入库列表")
|
||||
@PostMapping("getAppRepairedList")
|
||||
public AjaxResult getAppRepairedList(@Validated @RequestBody RepairTestInputDto dto){
|
||||
List<RepairTestInputVo> list = service.getRepairedList(dto);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取修试后入库列表-详情")
|
||||
@GetMapping("getRepairedDetailList")
|
||||
public TableDataInfo getRepairedDetailList(RepairTestInputDto dto){
|
||||
|
|
@ -41,6 +48,13 @@ public class RepairTestInputController extends BaseController {
|
|||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取修试后入库列表-详情")
|
||||
@PostMapping("getAppRepairedDetailList")
|
||||
public AjaxResult getAppRepairedDetailList(@Validated @RequestBody RepairTestInputDto dto){
|
||||
List<RepairTestInputDetailVo> list = service.getRepairedDetailList(dto);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "修试后入库-入库操作")
|
||||
@PostMapping("inputByType")
|
||||
public AjaxResult inputByType(@RequestBody RepairTestInputDto dto){
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
parent_id AS parentId,
|
||||
level
|
||||
FROM ma_part_type
|
||||
WHERE del_flag = '0' and level != '4'
|
||||
WHERE del_flag = '0' and level != '3'
|
||||
ORDER BY create_time
|
||||
</select>
|
||||
<!--货架-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue