Commit 3a4bc999 authored by 赵啸非's avatar 赵啸非

修改导出动态列

parent 0dc3e548
...@@ -323,12 +323,12 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle ...@@ -323,12 +323,12 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
String busiDesc = this.getModuleDesc() + "统计"; String busiDesc = this.getModuleDesc() + "统计";
try { try {
Rest<AttendStatInfo> rest = this.service.statByDay(getContext()); // Rest<AttendStatInfo> rest = this.service.statByDay(getContext());
if (rest.getCode() == YesNoEnum.NO.getValue()) { // if (rest.getCode() == YesNoEnum.NO.getValue()) {
throw new AppException("统计异常!"); // throw new AppException("统计异常!");
} else { // } else {
jsonObject.put(KEY_RESULT_DATA, rest.getData()); // jsonObject.put(KEY_RESULT_DATA, rest.getData());
} // }
recordSysLog(request, busiDesc + " 【成功】"); recordSysLog(request, busiDesc + " 【成功】");
jsonObject.put(KEY_RESULT_CODE, VALUE_RESULT_SUCCESS); jsonObject.put(KEY_RESULT_CODE, VALUE_RESULT_SUCCESS);
} catch (Exception e) { } catch (Exception e) {
......
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