bug修复

This commit is contained in:
yuezhihang
2022-03-19 15:19:19 +08:00
parent 86b618eac3
commit 47ebd2a685
@@ -115,7 +115,7 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
QueryWrapper<SarStandProjectLibrary> updateCondition = new QueryWrapper<SarStandProjectLibrary>();
updateCondition.eq("project_number",projectInfo.getProjectNumber());
SarStandProjectLibrary res=this.getOne(updateCondition);
if (strings.contains(projectInfo.getCurrentNode().trim()) && res.getCurrentNode().trim().equals(projectInfo.getCurrentNode())){
if (strings.contains(projectInfo.getCurrentNode().trim()) && !res.getCurrentNode().trim().equals(projectInfo.getCurrentNode())){
projectInfo.setFlag("0");
}