|
@@ -953,7 +953,7 @@ public class WmScorePackageServiceImpl extends ServiceImpl<WmScorePackageMapper,
|
|
|
} else {
|
|
|
if (wmScorePackage.getPackageType1().equals("1") || wmScorePackage.getPackageType1().equals("5")) {//定额
|
|
|
int sum;
|
|
|
- if (wmScorePackage.getRelatedService() == null){
|
|
|
+ if (wmScorePackage.getRelationScoreId() == null){
|
|
|
sum = taskList1.stream().mapToInt(WmTask::getScore).sum();
|
|
|
res = Integer.parseInt(wmScorePackageStatus.getUserScore()) - sum;
|
|
|
if (res > 0) {//个人积分包值大于任务积分值
|