|
@@ -9,12 +9,9 @@ import com.usky.iot.service.vo.CrmDeviceRepairScoreVO;
|
|
import com.usky.iot.service.vo.CrmDeviceRepairVO;
|
|
import com.usky.iot.service.vo.CrmDeviceRepairVO;
|
|
import com.usky.iot.service.vo.PhoneVerifyVO;
|
|
import com.usky.iot.service.vo.PhoneVerifyVO;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
@@ -51,6 +48,17 @@ public class CrmDeviceRepairController {
|
|
return ApiResult.success(crmDeviceRepairService.page(crmDeviceRepairVO));
|
|
return ApiResult.success(crmDeviceRepairService.page(crmDeviceRepairVO));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param id
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @DeleteMapping("/{id}")
|
|
|
|
+ ApiResult<Void> remove(@PathVariable("id") Integer id){
|
|
|
|
+ crmDeviceRepairService.remove(id);
|
|
|
|
+ return ApiResult.success();
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 填报
|
|
* 填报
|
|
* @param crmDeviceRepair
|
|
* @param crmDeviceRepair
|