Merge remote-tracking branch 'origin/develop_master' into develop_master

This commit is contained in:
CD
2022-11-07 15:16:22 +08:00
@@ -555,11 +555,11 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
p.setTextStatus(s.getTextStatus());
if (s.getUnCount()==0L && s.getCounts()>0L) {
p.setUnCount(s.getUnCount());
p.setUnCount(s.getUnCount()); // uncount==0
}else if (s.getUnCount() == 0L && s.getCounts()==0L){
p.setUnCount(2L);
}else {
p.setUnCount(1L);
p.setUnCount(1L); // 不符合
}
p.setEndTimes(s.getEndTimes());
for (SarStandAttrInfo a:list2){
@@ -575,10 +575,9 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
}
if (0L == s.getUnCount()) {
if (s.getIsCount() != 0L) {
p.setUnCount(0L);
}
if (s.getIsOverCount() != 0L) {
p.setUnCount(-1L);
p.setUnCount(0L); // 符合
} else if (s.getIsOverCount() != 0L) {
p.setUnCount(-1L); // 不涉及
}
}
list.add(p);