|
|
@@ -11,6 +11,7 @@ import android.support.v7.widget.LinearLayoutManager;
|
|
|
import android.support.v7.widget.RecyclerView;
|
|
|
import android.text.Html;
|
|
|
import android.text.Spanned;
|
|
|
+import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.widget.ImageView;
|
|
|
@@ -117,7 +118,7 @@ public class SigninFragment extends EasyFragment implements View.OnClickListener
|
|
|
switch (msg.what) {
|
|
|
case 0x11://获取班次
|
|
|
JSONObject jsonObject = parseObject(message);//返回对象
|
|
|
- Log.i("handleMessage11: ",jsonObject.toString());
|
|
|
+ Log.i("handleMessage11: ", jsonObject.toString());
|
|
|
|
|
|
if (jsonObject.containsKey("comaddressset") ? jsonObject.getBoolean("comaddressset") : false) {//如果有分配公司
|
|
|
companyDistance = Integer.parseInt(jsonObject.containsKey("distance") ? (StringUtils.isEmpty(jsonObject.getString("distance")) ? "-1" : jsonObject.getString("distance")) : "-1");
|