farm模块-企业图片互转,新增大屏接口

This commit is contained in:
顾君禹
2025-08-26 21:49:24 +08:00
parent 9820d8d9ab
commit 5dc67fe5b5

View File

@@ -91,7 +91,7 @@ public class InputLibraryServiceImpl implements InputLibraryService {
// 投入品名称查重
InputLibraryDO aDo = inputLibraryMapper.selectOne("asset_name", updateReqVO.getAssetName());
if (ObjectUtils.isNotEmpty(aDo)) {
return ;
return;
}
// 更新
InputLibraryDO updateObj = BeanUtils.toBean(updateReqVO, InputLibraryDO.class);
@@ -124,14 +124,15 @@ public class InputLibraryServiceImpl implements InputLibraryService {
}
@Override
@Override
public void deleteInputLibrary(String id) {
// 校验存在
validateInputLibraryExists(id);
// 删除
inputLibraryMapper.deleteById(id);
// 同步
this.syncDeleteDict(id);
// 删除
inputLibraryMapper.deleteById(id);
}