Browse Source

汪新超的一个接口

main
kami 1 year ago
parent
commit
3d1f5a80bc
  1. 2
      pom.xml
  2. 2
      src/main/java/com/biutag/supervision/flow/action/ApplyCompletionAction.java

2
pom.xml

@ -187,7 +187,7 @@
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<filtering>false</filtering> <filtering>true</filtering>
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>

2
src/main/java/com/biutag/supervision/flow/action/ApplyCompletionAction.java

@ -90,7 +90,7 @@ public class ApplyCompletionAction implements Action {
.filter(leader -> leader.getBlameIdCodes().contains(item.getBlameIdCode())) .filter(leader -> leader.getBlameIdCodes().contains(item.getBlameIdCode()))
.toList(); .toList();
if(!blameLeaders.isEmpty()) { if(!blameLeaders.isEmpty()) {
BeanUtil.copyProperties(blameLeaders.getFirst(), negativeBlame); BeanUtil.copyProperties(blameLeaders.get(0), negativeBlame);
} }
} }

Loading…
Cancel
Save