当我点击下面的查询时,我得到1行
SELECT * FROM servers WHERE Node='abc_deeh32q6610007'
但是,当我点击以下查询时,会选择0行
SELECT * FROM servers WHERE Node LIKE '%_deeh32q6610007'
我正在使用MySQL DB。
答案 0 :(得分:3)
private void loginApi() {
Retrofit retrofit = ApiLists.retrofit;
ApiLists apiList = retrofit.create(ApiLists.class);
Call<JsonElement> loginApiCall = apiList.loginApi("kjdf", "fkldngdkl", "lkfdxngl", "kjngn", "jksdgkj");
APIResponse.callRetrofit(loginApiCall, "LoginApi", LoginActivity.this, this);
}
@Override
public void success(String strApiName, Object response) {
if (strApiName.equals("LoginApi")) {
}
}
@Override
public void error(String strApiName, String error) {
if (strApiName.equals("LoginApi")) {
}
}
@Override
public void failure(String strApiName, String message) {
if (strApiName.equals("LoginApi")) {
}