From 798128053bb17ed293aa8d5424db3b5ed007d375 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 23 十二月 2024 10:20:57 +0800 Subject: [PATCH] 1.优化订单列表框架,升级为viewPager2,提升性能。 2.添加收到新工单后的红点提醒。 3.修复查询数据为空时报错。 4.优化修改经纬度的流程。 5.修复mqtt的CLIENT_ID一致导致的连接错误。 6.修复收到新工单后点击消息通知栏跳转详情时不更新数据的bug。 --- app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java | 46 +++++++++++++++++++++++++++++++--------------- 1 files changed, 31 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java index 17ec2bf..2980e4b 100644 --- a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java +++ b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java @@ -1,6 +1,8 @@ package com.dayu.pipirrapp.bean.net; -import java.io.File; +import com.dayu.pipirrapp.net.BaseResponse; + +import retrofit2.Call; /** * Copyright (C), 2023, @@ -10,9 +12,19 @@ */ public class UplodFileState { int state = 0;//0姝e湪涓婁紶 1涓婁紶瀹屾垚 2涓婁紶澶辫触 - File file;//涓婁紶鐨勬枃浠� - String url;//涓婁紶鏂囦欢鍚庤繑鍥炵殑url + String filePath;//涓婁紶鐨勬枃浠� int number;//澶辫触鍚庨噸璇曠殑娆℃暟 + String id;//涓婁紶鍚庣殑id + String webPath;//涓婁紶鍚庣殑鍦板潃 + Call<BaseResponse> thisCall;//褰撳墠璇锋眰 + + public Call<BaseResponse> getThisCall() { + return thisCall; + } + + public void setThisCall(Call<BaseResponse> thisCall) { + this.thisCall = thisCall; + } public int getNumber() { return number; @@ -26,10 +38,6 @@ } - public UplodFileState(File file) { - this.file = file; - } - public int getState() { return state; } @@ -38,19 +46,27 @@ this.state = state; } - public File getFile() { - return file; + public String getFilePath() { + return filePath; } - public void setFile(File file) { - this.file = file; + public void setFilePath(String filePath) { + this.filePath = filePath; } - public String getUrl() { - return url; + public String getId() { + return id; } - public void setUrl(String url) { - this.url = url; + public void setId(String id) { + this.id = id; + } + + public String getWebPath() { + return webPath; + } + + public void setWebPath(String webPath) { + this.webPath = webPath; } } -- Gitblit v1.8.0