Просмотр исходного кода

· 修复通知时间显示bug
· 修复待办时间显示bug
· 修复已处理熏蒸显示不正确bug

mq лет назад: 5
Родитель
Сommit
bce08276c9

+ 4 - 4
app/src/main/java/com/unis/sxzcl/ui/notice/NoticeListAdapter.java

@@ -52,28 +52,28 @@ public class NoticeListAdapter extends BaseQuickAdapter<NoticeBean, BaseViewHold
52 52
                 tvType.setTextColor(color);
53 53
                 tvFlag.setBackgroundColor(color);
54 54
 //                tvTitle.append(" 去处理>");
55
-                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getTitle() + " " + item.getContent());
55
+                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getContent());
56 56
                 break;
57 57
             case "30":
58 58
                 // 审批通过
59 59
                 color = Color.parseColor("#037D41");
60 60
                 tvType.setTextColor(color);
61 61
                 tvFlag.setBackgroundColor(color);
62
-                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getTitle() + " 审批已通过,请知晓");
62
+                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getContent());
63 63
                 break;
64 64
             case "40":
65 65
                 // 审批不通过
66 66
                 color = Color.parseColor("#EC6013");
67 67
                 tvType.setTextColor(color);
68 68
                 tvFlag.setBackgroundColor(color);
69
-                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getTitle() + " 审批不通过,请知晓");
69
+                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getContent());
70 70
                 break;
71 71
             case "50":
72 72
                 // 警告
73 73
                 color = Color.parseColor("#EC6013");
74 74
                 tvType.setTextColor(color);
75 75
                 tvFlag.setBackgroundColor(color);
76
-                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getTitle() + " " + item.getContent());
76
+                tvTitle.setText("亲爱的" + item.getUserName() + ",您的" + item.getContent());
77 77
                 break;
78 78
             default:
79 79
                 color = Color.parseColor("#20A1E7");

+ 2 - 2
version_info.json

@@ -3,10 +3,10 @@
3 3
     {
4 4
       "versionName": "1.24",
5 5
       "versionCode": 24,
6
-      "content": " · 修复通知时间显示bug\n · 修复待办时间显示bug\n · 修复已处理熏蒸显示不正确bug",
6
+      "content": " · 修复通知时间显示bug\n · 修复待办时间显示bug\n · 修复已处理熏蒸显示不正确bug\n · 修复通知内容显示错误bug",
7 7
       "fileName": "sxzcl_release_1.24_24.apk",
8 8
       "must": true,
9
-      "time": "2020-03-22"
9
+      "time": "2020-03-23"
10 10
     },
11 11
     {
12 12
       "versionName": "1.23",