fix: 87553 市场法规清单-查看标准库中已删除的数据,提示操作失败
This commit is contained in:
+11
@@ -161,6 +161,10 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
private ILawsPartNameStandardService partNameStandardService;
|
||||
@Resource
|
||||
private ISysBaseAPI sysBaseAPI;
|
||||
@Resource
|
||||
private ILawsEnterpriseStandardService esService;
|
||||
@Resource
|
||||
private ILawsDomesticStandardService fbService;
|
||||
|
||||
public static boolean ENCRYPT_ENABLE;
|
||||
public static String DECRYPT_URL;
|
||||
@@ -1258,11 +1262,18 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
ManyStandardSelectionBox singleStandard;
|
||||
if (StrUtil.isNotBlank(id)) {
|
||||
singleStandard = getSingleStandard(null, id);
|
||||
if (singleStandard == null) {
|
||||
throw new JeroBootException(ResultCommon.NOT_EXIST_STANDARD);
|
||||
}
|
||||
standardNumber = singleStandard.getStandardNumber();
|
||||
} else {
|
||||
singleStandard = getSingleStandard(standardNumber, null);
|
||||
if (singleStandard == null) {
|
||||
throw new JeroBootException(ResultCommon.NOT_EXIST_STANDARD);
|
||||
}
|
||||
id = singleStandard.getId();
|
||||
}
|
||||
|
||||
// 获取要操作的表名
|
||||
String tableName = TableNameEnum.getTableName(module);
|
||||
// 获取全部字段
|
||||
|
||||
Reference in New Issue
Block a user