Commit 641d4b70 authored by 廖旭伟's avatar 廖旭伟

部门窗口绩效汇总bug修改

parent 4a948478
......@@ -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);
}
......
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