mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 18:19:36 +08:00
修改了小程序的接口
This commit is contained in:
parent
38a200d313
commit
1dc50388a9
@ -31,6 +31,9 @@ public class RepairDeviceAddressApiController extends BaseController {
|
||||
@Autowired
|
||||
private IRepairDeviceTypeService repairDeviceTypeService;
|
||||
|
||||
@Autowired
|
||||
private IRepairFailureTypeService repairFailureTypeService;
|
||||
|
||||
@Autowired
|
||||
private IRepairRelationalService repairRelationalService;
|
||||
|
||||
@ -64,6 +67,12 @@ public class RepairDeviceAddressApiController extends BaseController {
|
||||
public R deviceTypeList(RepairDeviceType 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