法规清单-归档后合规情况修改

This commit is contained in:
liyawei
2022-11-07 14:36:57 +08:00
parent 02a3b6cc55
commit 1403ca6b91
@@ -555,11 +555,11 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
p.setTextStatus(s.getTextStatus()); p.setTextStatus(s.getTextStatus());
if (s.getUnCount()==0L && s.getCounts()>0L) { 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){ }else if (s.getUnCount() == 0L && s.getCounts()==0L){
p.setUnCount(2L); p.setUnCount(2L);
}else { }else {
p.setUnCount(1L); p.setUnCount(1L); // 不符合
} }
p.setEndTimes(s.getEndTimes()); p.setEndTimes(s.getEndTimes());
for (SarStandAttrInfo a:list2){ for (SarStandAttrInfo a:list2){
@@ -575,10 +575,9 @@ public class SarStandProjectLibraryServiceImpl extends ServiceImpl<SarStandProje
} }
if (0L == s.getUnCount()) { if (0L == s.getUnCount()) {
if (s.getIsCount() != 0L) { if (s.getIsCount() != 0L) {
p.setUnCount(0L); p.setUnCount(0L); // 符合
} } else if (s.getIsOverCount() != 0L) {
if (s.getIsOverCount() != 0L) { p.setUnCount(-1L); // 不涉及
p.setUnCount(-1L);
} }
} }
list.add(p); list.add(p);