Browse Source

bug修复

xujuanning 4 months ago
parent
commit
b6a7525e83

+ 7 - 0
ims-service/ims-eval/src/main/java/com/ims/eval/service/impl/OrganizationEvaluationServiceImpl.java

@@ -790,6 +790,13 @@ public class OrganizationEvaluationServiceImpl extends ServiceImpl<OrganizationE
 			throw new CustomException("已发起流程不允许删除");
 		}
 		boolean b = super.removeByIds(idList);
+		List<String> ls = new ArrayList<>();
+		for (Serializable id : idList) {
+			String s = id + "_dwpj";
+			ls.add(s);
+		}
+		boolean b1 = super.removeByIds(ls);
+		boolean b2 = iOrganizationRatingService.removeByIds(ls);
 		if (!b) {
 			throw new CustomException("删除失败");
 		}