fix: 78646 国内和海外的已置空,但企标的删除该标准体系后,该企业标准也查不到了看看是不是删错了
This commit is contained in:
+1
-1
@@ -142,6 +142,6 @@ public interface SarBussionessStandDao extends BaseMapper<SarBussionessStand> {
|
|||||||
|
|
||||||
List<StandSystemDTO> getESSystemData(@Param("param") StandSystemDTO standSystemDTO);
|
List<StandSystemDTO> getESSystemData(@Param("param") StandSystemDTO standSystemDTO);
|
||||||
|
|
||||||
void deleteStandSystem(String menuName);
|
void deleteStandSystem(@Param("menuName") String menuName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -425,9 +425,10 @@ public class SarMenuStandardNewServiceNewImpl extends ServiceImpl<SarMenuStandar
|
|||||||
sarStandMenuService.remove(gbWrapper);
|
sarStandMenuService.remove(gbWrapper);
|
||||||
log.info("删除国标外标主表中的相应字段成功");
|
log.info("删除国标外标主表中的相应字段成功");
|
||||||
// 删除企标体系关联关系
|
// 删除企标体系关联关系
|
||||||
LambdaUpdateWrapper<SarBussStandMenu> esWrapper = new LambdaUpdateWrapper<>();
|
// 企标的不用删 删了标准法规库里面就搜不到这条企标了
|
||||||
esWrapper.eq(SarBussStandMenu::getMenuId, menuId);
|
// LambdaUpdateWrapper<SarBussStandMenu> esWrapper = new LambdaUpdateWrapper<>();
|
||||||
sarBussStandMenuService.remove(esWrapper);
|
// esWrapper.eq(SarBussStandMenu::getMenuId, menuId);
|
||||||
|
// sarBussStandMenuService.remove(esWrapper);
|
||||||
log.info("删除企标主表中的相应字段成功");
|
log.info("删除企标主表中的相应字段成功");
|
||||||
// 删除国标外标企标主表中的中文字段
|
// 删除国标外标企标主表中的中文字段
|
||||||
sarStandardInfoDao.deleteStandSystem(menuName);
|
sarStandardInfoDao.deleteStandSystem(menuName);
|
||||||
|
|||||||
Reference in New Issue
Block a user