|
|
|
@ -117,7 +117,7 @@ public class LoadScanActivity extends BaseActivity implements CargoListAdapter.C
|
|
|
|
|
public void clickCargoInfo(int index) {
|
|
|
|
|
|
|
|
|
|
cargoInfoTag = cargoInfoList.get(index);
|
|
|
|
|
Log.e("TAG", "clickCargoInfo:" + cargoInfoTag.toString());
|
|
|
|
|
// Log.e("TAG", "clickCargoInfo:" + cargoInfoTag.toString());
|
|
|
|
|
loadOperations = LitePal.where("cargoId =? and type = ? and (state IS NULL or state = '修改') ",
|
|
|
|
|
String.valueOf(cargoInfoTag.getId()), "正常")
|
|
|
|
|
.find(LoadOperation.class);
|
|
|
|
@ -149,6 +149,13 @@ public class LoadScanActivity extends BaseActivity implements CargoListAdapter.C
|
|
|
|
|
loadInfoAdapter.notifyDataSetChanged();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void loadOverupdate(View view) {
|
|
|
|
|
CargoInfo cargoInfo=new CargoInfo();
|
|
|
|
|
cargoInfo.setState("装载中");
|
|
|
|
|
cargoInfo.updateAll();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 装载完毕
|
|
|
|
|
@SuppressLint("NotifyDataSetChanged")
|
|
|
|
|
public void loadOver(View view) {
|
|
|
|
|