Commit 5f7de824 authored by 赵啸非's avatar 赵啸非

修改固定班次考勤

parent bac5e986
...@@ -166,8 +166,8 @@ public class ApiLoginController extends BaseJsonBodyController { ...@@ -166,8 +166,8 @@ public class ApiLoginController extends BaseJsonBodyController {
return ret.toJSONString(); return ret.toJSONString();
} catch (Exception e) { } catch (Exception e) {
log.error("h5 login error ", e); log.error("h5 login error ", e);
ret.put(KEY_RESULT_CODE, VALUE_RESULT_FAILURE); ret.put(KEY_RESULT_CODE, VALUE_RESULT_FAILURE);SyncDoorsEventTaskImpl
ret.put(KEY_RESULT_MSG, super.convertException(e)); ret.put(KEY_RESULT_MSG, super.convertException(e));SyncDoorsEventTaskImpl
return ret.toJSONString(); return ret.toJSONString();
}*/ }*/
} }
......
...@@ -56,6 +56,8 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService { ...@@ -56,6 +56,8 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
String excuteParam = task.getExcuteParam(); String excuteParam = task.getExcuteParam();
if (!ObjectUtils.isEmpty(excuteParam)) { if (!ObjectUtils.isEmpty(excuteParam)) {
day = DataUtil.converStr2Int(excuteParam, 0); day = DataUtil.converStr2Int(excuteParam, 0);
}else{
day=0;
} }
syncDoorEvents(); syncDoorEvents();
//calculateAttendByDay(); //calculateAttendByDay();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment