Browse Source

现场修改8

tags/old_version_1
fyf 1 year ago
parent
commit
307b3c6b92
2 changed files with 10 additions and 6 deletions
  1. +7
    -4
      app/src/main/java/com/bonait/bnframework/business/ConfigData.java
  2. +3
    -2
      app/src/main/java/com/bonait/bnframework/common/image/MyBitmapUtils.java

+ 7
- 4
app/src/main/java/com/bonait/bnframework/business/ConfigData.java View File

@@ -609,10 +609,13 @@ public class ConfigData {
boolean iswl = false;
List<ActionJsonMode> gyActions = new Json<List<ActionJsonMode>>().jsonToListobject(ActionJsonMode.class, ((String) k.actionJson));
for (ActionJsonMode m : gyActions) {
data += m.ActionName + "," + m.ActionValue + "|";
desc += m.ActionValue + ",";
if (!m.BatchingId.isEmpty()) {
iswl = true;
if(m.ActionName!=null && m.ActionValue!="")
{
data += m.ActionName + "," + m.ActionValue + "|";
desc += m.ActionValue + ",";
if (!m.BatchingId.isEmpty()) {
iswl = true;
}
}
}
if (data.contains("|")) {


+ 3
- 2
app/src/main/java/com/bonait/bnframework/common/image/MyBitmapUtils.java View File

@@ -31,7 +31,8 @@ public class MyBitmapUtils {
Bitmap bitmap;
//内存缓存
String name="";
if(url.contains("https://hbl-test-1305371387.cos.ap-chengdu.myqcloud.com/"))
//https://hbl-1305371387.cos.ap-chengdu.myqcloud.com/Franchisee/jccy@163.com/goods/133381212328681942.jpg
if(url.contains("http"))
{
name=url.substring(url.lastIndexOf('/')+1);
}else
@@ -56,7 +57,7 @@ public class MyBitmapUtils {
return;
}
//网络缓存
if(url.contains("https://hbl-test-1305371387.cos.ap-chengdu.myqcloud.com/"))
if(url.contains("http"))
{
mNetCacheUtils.getBitmapFromNet(ivPic,url);
}


Loading…
Cancel
Save