Commit 38badfd8 authored by 赵啸非's avatar 赵啸非

添加申诉统计业务

parent ba29d248
...@@ -211,22 +211,22 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -211,22 +211,22 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
if (PerformTypeEnum.考勤绩效.getValue().equals(req.getPerformType())) { if (PerformTypeEnum.考勤绩效.getValue().equals(req.getPerformType())) {
boolean bool = attend(req); boolean bool = attend(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else if (PerformTypeEnum.评价差评绩效.getValue().equals(req.getPerformType())) { } else if (PerformTypeEnum.评价差评绩效.getValue().equals(req.getPerformType())) {
boolean bool = review(req); boolean bool = review(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else if (PerformTypeEnum.评价投诉绩效.getValue().equals(req.getPerformType())) { } else if (PerformTypeEnum.评价投诉绩效.getValue().equals(req.getPerformType())) {
boolean bool = complain(req); boolean bool = complain(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else if (PerformTypeEnum.办件绩效.getValue().equals(req.getPerformType())) { } else if (PerformTypeEnum.办件绩效.getValue().equals(req.getPerformType())) {
boolean bool = gowork(req); boolean bool = gowork(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else if (PerformTypeEnum.效能绩效.getValue().equals(req.getPerformType())) { } else if (PerformTypeEnum.效能绩效.getValue().equals(req.getPerformType())) {
boolean bool = effect(req); boolean bool = effect(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else if (PerformTypeEnum.其它绩效.getValue().equals(req.getPerformType())) { } else if (PerformTypeEnum.其它绩效.getValue().equals(req.getPerformType())) {
boolean bool = other(req); boolean bool = other(req);
if (!bool) throw new AppException(busiDesc + "失败!"); if (bool) throw new AppException(busiDesc + "失败!");
} else { } else {
throw new AppException("不支持当前绩效类型"); throw new AppException("不支持当前绩效类型");
} }
......
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