From 17eb1d06e104bc1cd93498fe3a3eaecf14c9d734 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 12 十一月 2020 13:57:35 +0800
Subject: [PATCH] 1. 修复现场整改时,问题状态是‘问题审核通过’而不是“整改未审核”的问题; 2. 修改任意拍照界面的多图片展示方式为Glide,减少内存溢出的可能性; 3. 新增图片类型枚举类,罗列原有的图片类型,并新增“铭牌”和“监测设备”; 4. 修复导航功能可能导致空指针的问题; 5. 任意拍界面新增按分类拍摄功能; 6. 修复现场整改界面打开崩溃问题;

---
 app/src/main/java/cn/flightfeather/thirdapp/httpservice/ProblemListService.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/app/src/main/java/cn/flightfeather/thirdapp/httpservice/ProblemListService.java b/app/src/main/java/cn/flightfeather/thirdapp/httpservice/ProblemListService.java
index f91e634..d23aa4b 100644
--- a/app/src/main/java/cn/flightfeather/thirdapp/httpservice/ProblemListService.java
+++ b/app/src/main/java/cn/flightfeather/thirdapp/httpservice/ProblemListService.java
@@ -1,18 +1,24 @@
 package cn.flightfeather.thirdapp.httpservice;
 
+import java.util.ArrayList;
 import java.util.List;
 
 import cn.flightfeather.thirdapp.bean.vo.AreaVo;
 import cn.flightfeather.thirdapp.bean.vo.ChargeInfoVo;
+import cn.flightfeather.thirdapp.bean.vo.ProblemDetailVo;
 import cn.flightfeather.thirdapp.bean.vo.ProblemlistVo;
 import cn.flightfeather.thirdapp.bean.vo.StatisticsVo;
+import cn.flightfeather.thirdapp.model.bean.BaseResponse;
+import io.reactivex.Observable;
 import okhttp3.ResponseBody;
 import retrofit2.Call;
+import retrofit2.Response;
 import retrofit2.http.Body;
 import retrofit2.http.Field;
 import retrofit2.http.FormUrlEncoded;
 import retrofit2.http.GET;
 import retrofit2.http.POST;
+import retrofit2.http.Path;
 import retrofit2.http.Query;
 
 /**
@@ -41,4 +47,13 @@
     //鏇存柊闂
     @POST("problemlist/")
     Call<ResponseBody> updateProblemList(@Body ProblemlistVo problemlistVo);
+
+    @GET("problemtype/byScene")
+    Observable<Response<ArrayList<ProblemDetailVo>>> getBySceneType(@Query("sceneTypeId") int sceneTypeId);
+
+    /**
+     * 璁剧疆闂涓哄垹闄ょ姸鎬�
+     */
+    @POST("problemlist/{id}")
+    Call<BaseResponse<Integer>> deleteProblem(@Path("id") String problemId);
 }

--
Gitblit v1.9.3