fix: 87832 企业标准-代替标准到实施日期后,被代替标准状态没有发生变化,也没有发消息
This commit is contained in:
+1
@@ -155,6 +155,7 @@ public class LawsReplacedStandardServiceImpl extends ServiceImpl<LawsReplacedSta
|
||||
queryWrapper.eq(LawsEnterpriseStandard::getNameCode, es.getNameCode());
|
||||
queryWrapper.eq(LawsEnterpriseStandard::getCategoryCode, es.getCategoryCode());
|
||||
queryWrapper.ne(LawsEnterpriseStandard::getYearNumber, es.getYearNumber());
|
||||
queryWrapper.ne(LawsEnterpriseStandard::getId, es.getId());
|
||||
List<LawsEnterpriseStandard> oldVersionStandard = esService.list(queryWrapper);
|
||||
if (CollUtil.isEmpty(oldVersionStandard)) {
|
||||
log.info("企业标准没有老版本,id:" + standardId);
|
||||
|
||||
Reference in New Issue
Block a user