Commit 56688d36 authored by 吴俊凯's avatar 吴俊凯

bug修改提交

parent a787a8e6
......@@ -704,7 +704,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
List<Long> failIds = Lists.newArrayList();
List<Long> successIds = Lists.newArrayList();
fmeaPointInputitems.forEach(fmeaPointInputitem -> {
CheckInputItemRo checkInputItemRo = map.get(fmeaPointInputitem.getInputItemId());
CheckInputItemRo checkInputItemRo = map.get(fmeaPointInputitem.getPointInputitemId());
if (checkInputItemRo.getStatus().equals("2")) {
failIds.add(fmeaPointInputitem.getId());
fmeaIds.add(fmeaPointInputitem.getFmeaId());
......
......@@ -104,7 +104,7 @@
where
b.point_id = #{pointId}
and
b.input_item_id in
b.id in
<foreach collection="inputIds" item="item" index="index" separator="," open="(" close=")">
#{item}
</foreach>
......
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