bug修复
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
|
|||||||
QueryWrapper<SarStandProjectLibrary> updateCondition = new QueryWrapper<SarStandProjectLibrary>();
|
QueryWrapper<SarStandProjectLibrary> updateCondition = new QueryWrapper<SarStandProjectLibrary>();
|
||||||
updateCondition.eq("project_number",projectInfo.getProjectNumber());
|
updateCondition.eq("project_number",projectInfo.getProjectNumber());
|
||||||
SarStandProjectLibrary res=this.getOne(updateCondition);
|
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");
|
projectInfo.setFlag("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user