修改 质检判定

master
wangh 7 months ago
parent 6140048236
commit c9522c01d3

@ -43,8 +43,8 @@ import okhttp3.MediaType;
public class BaseActivity extends AppCompatActivity { public class BaseActivity extends AppCompatActivity {
public static final int CAMERA_PHOTO = 1; public static final int CAMERA_PHOTO = 1;
// public static String url = "http://175.27.215.92:7018/prod-api"; public static String url = "http://175.27.215.92:7018/prod-api";
public static String url = "http://10.11.40.120:7018/dev-api"; // public static String url = "http://10.11.40.120:7018/dev-api";
public ProgressDialog dialog; public ProgressDialog dialog;
public Gson gson; public Gson gson;
public MediaType JSON = MediaType.parse("application/json; charset=utf-8"); public MediaType JSON = MediaType.parse("application/json; charset=utf-8");

@ -253,7 +253,7 @@ public class CheckResultDetal extends BaseObservable {
public void textChanged(Editable s){ public void textChanged(Editable s){
double result=Double.parseDouble(s.toString()); double result=Double.parseDouble(s.toString());
checkProjectResult=result; checkProjectResult=result;
if (result>downDiff && result< upperDiff){ if (result>=downDiff && result<= upperDiff){
setCheckProjectStatus("1"); setCheckProjectStatus("1");
}else { }else {

Loading…
Cancel
Save