|
|
@@ -223,7 +223,6 @@ public class AutoErpSigninUitl implements HttpHandler.OnResultListener {
|
|
|
form.put("emcode", CommonUtil.getSharedPreferences(MyApplication.getInstance().getApplicationContext(), "b2b_uu"));
|
|
|
}
|
|
|
String formStore = StringUtils.mapToJson(form);
|
|
|
-
|
|
|
param.put("formStore", formStore);
|
|
|
param.put("emcode", getSharedPreferences(ct, "erp_username"));
|
|
|
if (!isB2b)
|
|
|
@@ -305,7 +304,7 @@ public class AutoErpSigninUitl implements HttpHandler.OnResultListener {
|
|
|
param, bunder, this);
|
|
|
}
|
|
|
|
|
|
- //判断是否有
|
|
|
+ //判断是否需要打卡,现在不需要了
|
|
|
public void loadIsCompany() {
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("emcode", CommonUtil.getSharedPreferences(MyApplication.getInstance(), "erp_username"));
|
|
|
@@ -377,6 +376,8 @@ public class AutoErpSigninUitl implements HttpHandler.OnResultListener {
|
|
|
public void loadMissionPlan() {
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("emcode", CommonUtil.getSharedPreferences(MyApplication.getInstance(), "erp_username"));
|
|
|
+
|
|
|
+
|
|
|
if (isB2b) {
|
|
|
String url = ApiConfig.getInstance(ApiUtils.getApiModel()).getmApiBase().getOutPlan;
|
|
|
HttpHandler.getInstance().loadB2BByNet(LOAD_PLAN, url, param, null, this, "get");
|
|
|
@@ -392,7 +393,6 @@ public class AutoErpSigninUitl implements HttpHandler.OnResultListener {
|
|
|
case MAC_VAL://判断mac地址
|
|
|
if (isJSON && JSON.parseObject(message).containsKey("success") &&
|
|
|
JSON.parseObject(message).getBoolean("success")) {
|
|
|
- //TODo 修改接口回调
|
|
|
CommonInterface.getInstance().getCodeByNet("CardLog", new CommonInterface.OnResultListener() {
|
|
|
@Override
|
|
|
public void result(boolean isOk, int result, String message) {
|