|
|
@ -86,7 +86,8 @@ public class CheckActivity extends BaseActivity implements CheckAdapter.CheckIte
|
|
|
|
private void initStationSum() {
|
|
|
|
private void initStationSum() {
|
|
|
|
OkGo.<Result>post(url + "/api/pdaQueryQuantityNumber").tag(this)
|
|
|
|
OkGo.<Result>post(url + "/api/pdaQueryQuantityNumber").tag(this)
|
|
|
|
.headers("Authorization", SharedPreferencesUtils.getstring("token", ""))
|
|
|
|
.headers("Authorization", SharedPreferencesUtils.getstring("token", ""))
|
|
|
|
.params("stationCode", stationCode).execute(new MyRecultCall(dialog, this) {
|
|
|
|
.params("stationCode", stationCode)
|
|
|
|
|
|
|
|
.execute(new MyRecultCall(dialog, this) {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onSuccess(Response<Result> response) {
|
|
|
|
public void onSuccess(Response<Result> response) {
|
|
|
|
super.onSuccess(response);
|
|
|
|
super.onSuccess(response);
|
|
|
@ -107,9 +108,11 @@ public class CheckActivity extends BaseActivity implements CheckAdapter.CheckIte
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void sanInfo(String code) {
|
|
|
|
protected void sanInfo(String code) {
|
|
|
|
checkViewModel.setCode(code);
|
|
|
|
checkViewModel.setCode(code);
|
|
|
|
OkGo.<Result>post(url + "/api/check/select").tag(this)
|
|
|
|
OkGo.<Result>post(url + "/api/check/query").tag(this)
|
|
|
|
.headers("Authorization", SharedPreferencesUtils.getstring("token", ""))
|
|
|
|
.headers("Authorization", SharedPreferencesUtils.getstring("token", ""))
|
|
|
|
.params("code", code).execute(new MyRecultCall(dialog, this) {
|
|
|
|
.params("code", code)
|
|
|
|
|
|
|
|
.params("station", stationCode)
|
|
|
|
|
|
|
|
.execute(new MyRecultCall(dialog, this) {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onSuccess(Response<Result> response) {
|
|
|
|
public void onSuccess(Response<Result> response) {
|
|
|
|
super.onSuccess(response);
|
|
|
|
super.onSuccess(response);
|
|
|
|