fix: 国内标准编辑后标准体系丢失问题
This commit is contained in:
+7
@@ -3261,6 +3261,13 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
if (StringUtils.isNotBlank(standSystem)) {
|
if (StringUtils.isNotBlank(standSystem)) {
|
||||||
List<String> list = Arrays.asList(standSystem.split("/"));
|
List<String> list = Arrays.asList(standSystem.split("/"));
|
||||||
standSystem = list.get(list.size() - 1);
|
standSystem = list.get(list.size() - 1);
|
||||||
|
LambdaQueryWrapper<SarMenuStandard> wrapper = new LambdaQueryWrapper<>();
|
||||||
|
wrapper.eq(SarMenuStandard::getMenuName, standSystem);
|
||||||
|
wrapper.eq(SarMenuStandard::getDicId, "9m4qqqaansxmox5e82zm");
|
||||||
|
List<SarMenuStandard> list1 = sarMenuStandardService.list(wrapper);
|
||||||
|
if (list1.size() > 0) {
|
||||||
|
sarStandardsInfoEO.setStandSystemId(list1.get(0).getId());
|
||||||
|
}
|
||||||
// 配置体系类别
|
// 配置体系类别
|
||||||
String txlbBussLevel = getParentNodePathRecursive(standSystem);
|
String txlbBussLevel = getParentNodePathRecursive(standSystem);
|
||||||
sarStandardsInfoEO.setStandSystem(txlbBussLevel);
|
sarStandardsInfoEO.setStandSystem(txlbBussLevel);
|
||||||
|
|||||||
Reference in New Issue
Block a user