diff --git a/attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java b/attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java index fa4510b2cdd2f78bf4abdd6f008a8c544fad91aa..14f644589c8c21dec75746747a0842406d6d61ac 100644 --- a/attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java +++ b/attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java @@ -49,13 +49,13 @@ public class WindowPerformSummaryServiceImpl extends AbstractCRUDServiceImpl<Win protected void validData(WindowPerformSummaryEntity entity, Context context) throws AppException { BigDecimal sum = BigDecimal.ZERO; if(entity.getCkjsdf()!=null){ - sum.add(entity.getCkjsdf()); + sum = sum.add(entity.getCkjsdf()); } if(entity.getZdrwdf()!=null){ - sum.add(entity.getZdrwdf()); + sum = sum.add(entity.getZdrwdf()); } if(entity.getAddTotalScore()!=null){ - sum.add(entity.getAddTotalScore()); + sum = sum.add(entity.getAddTotalScore()); } entity.setSumScore(sum); }