mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 20:39:37 +08:00
修改了小程序的接口
This commit is contained in:
parent
38a200d313
commit
1dc50388a9
@ -31,6 +31,9 @@ public class RepairDeviceAddressApiController extends BaseController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IRepairDeviceTypeService repairDeviceTypeService;
|
private IRepairDeviceTypeService repairDeviceTypeService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IRepairFailureTypeService repairFailureTypeService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IRepairRelationalService repairRelationalService;
|
private IRepairRelationalService repairRelationalService;
|
||||||
|
|
||||||
@ -64,6 +67,12 @@ public class RepairDeviceAddressApiController extends BaseController {
|
|||||||
public R deviceTypeList(RepairDeviceType repairType) {
|
public R deviceTypeList(RepairDeviceType repairType) {
|
||||||
return result(repairDeviceTypeService.selectRepairDeviceTypeList(repairType));
|
return result(repairDeviceTypeService.selectRepairDeviceTypeList(repairType));
|
||||||
}
|
}
|
||||||
|
//故障类型接口
|
||||||
|
@RequiresPermissions("member:center:view")
|
||||||
|
@GetMapping("faultTypeList")
|
||||||
|
public R faultTypeList(RepairFailureType failureType) {
|
||||||
|
return result(repairFailureTypeService.selectRepairFailureTypeList(failureType));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据设备类型查询维修人员
|
* 根据设备类型查询维修人员
|
||||||
|
Loading…
x
Reference in New Issue
Block a user