|
|
|
@ -66,7 +66,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
private List<XSJJHXZDataBean> noCheckeListBA = new ArrayList<>();
|
|
|
|
private List<XSJJHXZDataBean> noCheckeListBA = new ArrayList<>();
|
|
|
|
private List<String> qybh = new ArrayList<>();
|
|
|
|
private List<String> qybh = new ArrayList<>();
|
|
|
|
private ArrayList<XSJJHDataBean> xsjjhDataBeanArrayList = new ArrayList<>();//点检记录列表
|
|
|
|
private ArrayList<XSJJHDataBean> xsjjhDataBeanArrayList = new ArrayList<>();//点检记录列表
|
|
|
|
String nfcValue = null;
|
|
|
|
//String nfcValue = null;
|
|
|
|
String lastNfcbm = null;
|
|
|
|
String lastNfcbm = null;
|
|
|
|
private String type = null;
|
|
|
|
private String type = null;
|
|
|
|
private String username;
|
|
|
|
private String username;
|
|
|
|
@ -93,6 +93,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
|
|
|
|
|
|
|
|
private void goScan() {
|
|
|
|
private void goScan() {
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, MipcaActivityCapture.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, MipcaActivityCapture.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
startActivityForResult(intent, 1);
|
|
|
|
startActivityForResult(intent, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -108,7 +109,12 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
|
|
|
|
|
|
|
|
Intent intent = getIntent();
|
|
|
|
Intent intent = getIntent();
|
|
|
|
type = intent.getStringExtra("type");
|
|
|
|
type = intent.getStringExtra("type");
|
|
|
|
|
|
|
|
|
|
|
|
username = (String) SPUtils.get(context, Contans.USERID, "");
|
|
|
|
username = (String) SPUtils.get(context, Contans.USERID, "");
|
|
|
|
|
|
|
|
// showLog(type);
|
|
|
|
|
|
|
|
// showLog(username);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lv.setEmptyView(tvNodata);
|
|
|
|
lv.setEmptyView(tvNodata);
|
|
|
|
headView = View.inflate(this, R.layout.xsgz_item, null);
|
|
|
|
headView = View.inflate(this, R.layout.xsgz_item, null);
|
|
|
|
headView.findViewById(R.id.head).setVisibility(View.VISIBLE);
|
|
|
|
headView.findViewById(R.id.head).setVisibility(View.VISIBLE);
|
|
|
|
@ -136,6 +142,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, CheckedListActivity.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, CheckedListActivity.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
// bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
// bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
// bundle.putBoolean("edit", false);
|
|
|
|
// bundle.putBoolean("edit", false);
|
|
|
|
// bundle.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
// bundle.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
@ -152,6 +159,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, NoCheckedListActivity.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, NoCheckedListActivity.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
// bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
// bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
// bundle.putBoolean("edit", false);
|
|
|
|
// bundle.putBoolean("edit", false);
|
|
|
|
// bundle.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
// bundle.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
@ -182,57 +190,54 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
setListData();
|
|
|
|
setListData();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void handleNfc(String result) {
|
|
|
|
|
|
|
|
super.handleNfc(result);
|
|
|
|
|
|
|
|
handleNfcCheck(result);
|
|
|
|
|
|
|
|
//handleNfcCheck("04B46E8AF36780");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//加载数据库中已经下载的计划
|
|
|
|
//加载数据库中已经下载的计划
|
|
|
|
private void getDataInSqlite() {
|
|
|
|
private void getDataInSqlite() {
|
|
|
|
xsjjhxzDataBeanList.clear();
|
|
|
|
if(type!=null&&username!=null){
|
|
|
|
checkedListBA.clear();
|
|
|
|
xsjjhxzDataBeanList.clear();
|
|
|
|
noCheckeListBA.clear();
|
|
|
|
checkedListBA.clear();
|
|
|
|
checkedList.clear();
|
|
|
|
noCheckeListBA.clear();
|
|
|
|
noCheckeList.clear();
|
|
|
|
checkedList.clear();
|
|
|
|
List<XSJJHXZDataBean> planTemp = where("mk = ? and username = ?", type, username).find(XSJJHXZDataBean.class);
|
|
|
|
noCheckeList.clear();
|
|
|
|
//DataSupport.findAll(XSJJHXZDataBean.class);
|
|
|
|
List<XSJJHXZDataBean> planTemp = where("mk = ? and username = ?", type, username).find(XSJJHXZDataBean.class);
|
|
|
|
List<XSJJHXZDataBean> planTemp1 = this.removeDuplicate(planTemp);
|
|
|
|
//DataSupport.findAll(XSJJHXZDataBean.class);
|
|
|
|
xsjjhxzDataBeanList.addAll(planTemp1);
|
|
|
|
List<XSJJHXZDataBean> planTemp1 = this.removeDuplicate(planTemp);
|
|
|
|
Log.i("app", String.valueOf(xsjjhxzDataBeanList.size()));
|
|
|
|
xsjjhxzDataBeanList.addAll(planTemp1);
|
|
|
|
for (int i = 0; i < xsjjhxzDataBeanList.size(); i++) {
|
|
|
|
//showLog(String.valueOf(String.valueOf(xsjjhxzDataBeanList.size())));
|
|
|
|
XSJJHXZDataBean item = xsjjhxzDataBeanList.get(i);
|
|
|
|
for (int i = 0; i < xsjjhxzDataBeanList.size(); i++) {
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
XSJJHXZDataBean item = xsjjhxzDataBeanList.get(i);
|
|
|
|
if(item.isBAChecked()){
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
checkedListBA.add(item);
|
|
|
|
//showLog(GsonUtils.GsonString(item));
|
|
|
|
|
|
|
|
if(item.isBAChecked()){
|
|
|
|
|
|
|
|
checkedListBA.add(item);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
noCheckeListBA.add(item);
|
|
|
|
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
noCheckeListBA.add(item);
|
|
|
|
int checkedCount = 0;
|
|
|
|
}
|
|
|
|
List<XSJJHDataBean> xsjjhdatabean = DataSupport.where("qybh = ? and mk = ? and username = ?", item.getQybh(), type, username).find(XSJJHDataBean.class);
|
|
|
|
}else{
|
|
|
|
for (int j = 0; j< xsjjhdatabean.size(); j++) {
|
|
|
|
int checkedCount = 0;
|
|
|
|
if (xsjjhdatabean.get(j).isChecked()) {
|
|
|
|
List<XSJJHDataBean> xsjjhdatabean = DataSupport.where("qybh = ? and mk = ? and username = ?", item.getQybh(), type, username).find(XSJJHDataBean.class);
|
|
|
|
checkedCount++;
|
|
|
|
for (int j = 0; j< xsjjhdatabean.size(); j++) {
|
|
|
|
}
|
|
|
|
if (xsjjhdatabean.get(j).isChecked()) {
|
|
|
|
}
|
|
|
|
checkedCount++;
|
|
|
|
int a = checkedCount;
|
|
|
|
|
|
|
|
int b = xsjjhdatabean.size();
|
|
|
|
|
|
|
|
if (a == b) {
|
|
|
|
|
|
|
|
checkedList.add(item);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
noCheckeList.add(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
int a = checkedCount;
|
|
|
|
|
|
|
|
int b = xsjjhdatabean.size();
|
|
|
|
|
|
|
|
if (a == b) {
|
|
|
|
|
|
|
|
checkedList.add(item);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
noCheckeList.add(item);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
total_point.setText(String.valueOf(xsjjhxzDataBeanList.size()));
|
|
|
|
total_point.setText(String.valueOf(xsjjhxzDataBeanList.size()));
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
total_no_check.setText(String.valueOf(noCheckeListBA.size()));
|
|
|
|
total_no_check.setText(String.valueOf(noCheckeListBA.size()));
|
|
|
|
total_checked.setText(String.valueOf(checkedListBA.size()));
|
|
|
|
total_checked.setText(String.valueOf(checkedListBA.size()));
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
total_no_check.setText(String.valueOf(noCheckeList.size()));
|
|
|
|
total_no_check.setText(String.valueOf(noCheckeList.size()));
|
|
|
|
total_checked.setText(String.valueOf(checkedList.size()));
|
|
|
|
total_checked.setText(String.valueOf(checkedList.size()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -324,7 +329,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
showToast("请使用NFC进行巡检");
|
|
|
|
showToast("请使用NFC进行巡检");
|
|
|
|
nfcValue = "click";
|
|
|
|
//nfcValue = "click";
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
//List<XSJJHDataBean> xsjjhdatabean = DataSupport.where("qybh = ?",xsjjhxzDataBeanList.get(postion - 1).getQybh()).find( XSJJHDataBean.class);
|
|
|
|
//List<XSJJHDataBean> xsjjhdatabean = DataSupport.where("qybh = ?",xsjjhxzDataBeanList.get(postion - 1).getQybh()).find( XSJJHDataBean.class);
|
|
|
|
xsjjhDataBeanArrayList.addAll(where("qybh = ? and mk = ? and username = ?", xsjjhxzDataBeanList.get(postion - 1).getQybh(), type, username).find(XSJJHDataBean.class));
|
|
|
|
xsjjhDataBeanArrayList.addAll(where("qybh = ? and mk = ? and username = ?", xsjjhxzDataBeanList.get(postion - 1).getQybh(), type, username).find(XSJJHDataBean.class));
|
|
|
|
@ -333,6 +338,7 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
if (xsjjhDataBeanArrayList.size() != 0) {
|
|
|
|
if (xsjjhDataBeanArrayList.size() != 0) {
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Bundle bundle = new Bundle();
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle.putBoolean("edit", false);
|
|
|
|
bundle.putBoolean("edit", false);
|
|
|
|
// bundle.putBoolean("edit", true);
|
|
|
|
// bundle.putBoolean("edit", true);
|
|
|
|
@ -363,10 +369,16 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
|
|
|
|
|
|
|
|
//处理NFC的数据
|
|
|
|
//处理NFC的数据
|
|
|
|
public void handleNfcCheck(String result) {
|
|
|
|
public void handleNfcCheck(String result) {
|
|
|
|
|
|
|
|
// showLog(type);
|
|
|
|
|
|
|
|
// showLog(username);
|
|
|
|
|
|
|
|
// showLog(result);
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
if (type != null && type.equals("BA")) {
|
|
|
|
|
|
|
|
//showLog("BA");
|
|
|
|
//保安巡检
|
|
|
|
//保安巡检
|
|
|
|
List<XSJJHXZDataBean> planNFC = where("nfcbm = ? and mk = ? and username = ?", result, type, username).find(XSJJHXZDataBean.class);
|
|
|
|
List<XSJJHXZDataBean> planNFC = where("nfcbm = ? and mk = ? and username = ?", result, type, username).find(XSJJHXZDataBean.class);
|
|
|
|
|
|
|
|
//showLog(String.valueOf(planNFC.size()));
|
|
|
|
if (planNFC != null && planNFC.size() > 0) {
|
|
|
|
if (planNFC != null && planNFC.size() > 0) {
|
|
|
|
|
|
|
|
showLog("planNFC != null");
|
|
|
|
XSJJHXZDataBean itemQY = planNFC.get(0);
|
|
|
|
XSJJHXZDataBean itemQY = planNFC.get(0);
|
|
|
|
String content = null;
|
|
|
|
String content = null;
|
|
|
|
String notice = null;
|
|
|
|
String notice = null;
|
|
|
|
@ -395,22 +407,38 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
auditDialog.show();
|
|
|
|
auditDialog.show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
nfcValue = null;
|
|
|
|
//showLog("planNFC == null");
|
|
|
|
|
|
|
|
BaCheckDialog auditDialog = new BaCheckDialog(context, "无数据请联系管理员", new BaCheckDialog.AuditDialogListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void confirm(String notice) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
auditDialog.setTvTitle("提示");
|
|
|
|
|
|
|
|
auditDialog.setNotice("");
|
|
|
|
|
|
|
|
auditDialog.hideNotice("");
|
|
|
|
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
|
|
|
|
auditDialog.hideBottomClick();
|
|
|
|
|
|
|
|
auditDialog.show();
|
|
|
|
|
|
|
|
//nfcValue = null;
|
|
|
|
//getLastUploadUser(result);
|
|
|
|
//getLastUploadUser(result);
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
//showToast("无数据请联系管理员");
|
|
|
|
|
|
|
|
//toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
//showLog("运行,燃料巡检");
|
|
|
|
//运行,燃料巡检
|
|
|
|
//运行,燃料巡检
|
|
|
|
List<XSJJHDataBean> xsjjhDataBeen = DataSupport.where("nfcbm = ? and mk = ? and username = ?", result, type, username).find(XSJJHDataBean.class);
|
|
|
|
List<XSJJHDataBean> xsjjhDataBeen = DataSupport.where("nfcbm = ? and mk = ? and username = ?", result, type, username).find(XSJJHDataBean.class);
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
xsjjhDataBeanArrayList.addAll(xsjjhDataBeen);
|
|
|
|
xsjjhDataBeanArrayList.addAll(xsjjhDataBeen);
|
|
|
|
if (xsjjhDataBeen.size() == 0) {
|
|
|
|
if (xsjjhDataBeen.size() == 0) {
|
|
|
|
nfcValue = null;
|
|
|
|
//nfcValue = null;
|
|
|
|
//getLastUploadUser(result);
|
|
|
|
//getLastUploadUser(result);
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Bundle bundle3 = new Bundle();
|
|
|
|
Bundle bundle3 = new Bundle();
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
bundle3.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle3.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle3.putBoolean("edit", true);
|
|
|
|
bundle3.putBoolean("edit", true);
|
|
|
|
bundle3.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
bundle3.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
@ -538,8 +566,20 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
auditDialog.show();
|
|
|
|
auditDialog.show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
nfcValue = null;
|
|
|
|
//nfcValue = null;
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
BaCheckDialog auditDialog = new BaCheckDialog(context, "无数据请联系管理员", new BaCheckDialog.AuditDialogListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void confirm(String notice) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
auditDialog.setTvTitle("提示");
|
|
|
|
|
|
|
|
auditDialog.setNotice("");
|
|
|
|
|
|
|
|
auditDialog.hideNotice("");
|
|
|
|
|
|
|
|
auditDialog.setCancelable(true);
|
|
|
|
|
|
|
|
auditDialog.hideBottomClick();
|
|
|
|
|
|
|
|
auditDialog.show();
|
|
|
|
|
|
|
|
//toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
List<XSJJHXZDataBean> scranTwoCodeList = where("txm = ? and txm_zt = 1 and mk = ? and username = ?", result, type, username).find(XSJJHXZDataBean.class);
|
|
|
|
List<XSJJHXZDataBean> scranTwoCodeList = where("txm = ? and txm_zt = 1 and mk = ? and username = ?", result, type, username).find(XSJJHXZDataBean.class);
|
|
|
|
@ -552,11 +592,12 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
xsjjhDataBeanArrayList.clear();
|
|
|
|
xsjjhDataBeanArrayList.addAll(xsjjhDataBeen);
|
|
|
|
xsjjhDataBeanArrayList.addAll(xsjjhDataBeen);
|
|
|
|
if (xsjjhDataBeen.size() == 0) {
|
|
|
|
if (xsjjhDataBeen.size() == 0) {
|
|
|
|
nfcValue = null;
|
|
|
|
//nfcValue = null;
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
toastviewbymyself.makeText(SxgzActivity.this, "无数据请联系管理员", Toast.LENGTH_SHORT).show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Bundle bundle3 = new Bundle();
|
|
|
|
Bundle bundle3 = new Bundle();
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
Intent intent = new Intent(SxgzActivity.this, XjYulActivity.class);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
|
bundle3.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle3.putParcelableArrayList("xsjjhDataBeanArrayList", xsjjhDataBeanArrayList);
|
|
|
|
bundle3.putBoolean("edit", true);
|
|
|
|
bundle3.putBoolean("edit", true);
|
|
|
|
bundle3.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
bundle3.putInt(Contans.KEY_ITEM, 0);
|
|
|
|
@ -689,6 +730,14 @@ public class SxgzActivity extends BaseActivity3 {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void onResume() {
|
|
|
|
protected void onResume() {
|
|
|
|
super.onResume();
|
|
|
|
super.onResume();
|
|
|
|
nfcValue = null;
|
|
|
|
//nfcValue = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void handleNfc(String result) {
|
|
|
|
|
|
|
|
// showLog("-------------");
|
|
|
|
|
|
|
|
// showLog(result);
|
|
|
|
|
|
|
|
handleNfcCheck(result);
|
|
|
|
|
|
|
|
//handleNfcCheck("SGP-AB001");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|