shicf
2025-01-09 9b5da188281e5ae4b6fb6219c8813e2e02a2e617
src/main/java/com/product/mobile/core/controller/SignInController.java
@@ -45,9 +45,15 @@
            fse = reqp.getFormData();
        }
        //签到时,如果上传了uuid,表示,征对公司规定的考勤点的签到,否则表示不在公司规定的考勤点的签到(任意地点签到。)
        signInService.signIn(fse);
        return this.OK();
        try {
           signInService.signIn(fse);
           return this.OK();
       } catch (BaseException e) {
           return this.error(e);
       } catch (Exception e) {
           return this.error(MobileCoreCode.SIGN_IN_FAIL);
       }
    }
    /**
@@ -70,6 +76,7 @@
       } catch (BaseException e) {
           return this.error(e);
       } catch (Exception e) {
           return this.error(MobileCoreCode.SIGN_IN_FAIL);
       }
    }
@@ -88,7 +95,15 @@
            RequestParameterEntity reqp = (RequestParameterEntity) bean;
            fse = reqp.getFormData();
        }
        //获取当前人的公司
        return this.OK_List(signInService.signInSites(SpringMVCContextHolder.getCurrentUser().getCurrentCompany().getUUID()));
        try {
           //获取当前人的公司
           return this.OK_List(signInService.signInSites(SpringMVCContextHolder.getCurrentUser().getCurrentCompany().getUUID()));
       } catch (BaseException e) {
           return this.error(e);
       } catch (Exception e) {
           return this.error(MobileCoreCode.SIGN_IN_FAIL);
       }
    }
}