|
@ -254,13 +254,15 @@ public class PointApplyServiceImpl extends BaseServiceImpl<PointApplyDao, PointA |
|
|
record.setStatement(dto.getStatement()); |
|
|
record.setStatement(dto.getStatement()); |
|
|
if (NumConstant.TWO_STR.equals(formDTO.getStatus())) { |
|
|
if (NumConstant.TWO_STR.equals(formDTO.getStatus())) { |
|
|
record.setPointValue(dto.getPointValue()); |
|
|
record.setPointValue(dto.getPointValue()); |
|
|
|
|
|
record.setBusinessCode(CommonConstant.POINT_APPLY); |
|
|
} else { |
|
|
} else { |
|
|
record.setPointValue(NumConstant.ZERO); |
|
|
record.setPointValue(NumConstant.ZERO); |
|
|
|
|
|
record.setBusinessCode(CommonConstant.POINT_REJECT); |
|
|
} |
|
|
} |
|
|
record.setCategoryCode(dto.getCategoryCode()); |
|
|
record.setCategoryCode(dto.getCategoryCode()); |
|
|
record.setSubjectId(subjectId); |
|
|
record.setSubjectId(subjectId); |
|
|
record.setBusinessId(dto.getId()); |
|
|
record.setBusinessId(dto.getId()); |
|
|
record.setBusinessCode(CommonConstant.POINT_APPLY); |
|
|
|
|
|
pointAditiveRecordDao.insert(record); |
|
|
pointAditiveRecordDao.insert(record); |
|
|
if (NumConstant.TWO_STR.equals(formDTO.getStatus())) { |
|
|
if (NumConstant.TWO_STR.equals(formDTO.getStatus())) { |
|
|
//重新计算总分
|
|
|
//重新计算总分
|
|
|