|
@ -6,6 +6,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import org.json.JSONArray;
|
|
|
import org.json.JSONObject;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@ -66,8 +67,9 @@ public class InspectionController extends BaseController {
|
|
|
@RequestParam(value = "strSerial") String strSerial
|
|
|
) {
|
|
|
try {
|
|
|
JSONArray array = new JSONArray();
|
|
|
JSONObject array = new JSONObject();
|
|
|
//TODO 调用检查/检验报告接口
|
|
|
array = inspectionService.getHealthData(strSSID,strEvent,strCatalog,strSerial);
|
|
|
return write(200, "获取检查/检验详情成功!", "data", array);
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|