提交 c6c58a56 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 ec79385a
......@@ -71,7 +71,7 @@ public class AcupointLibrarySerivceImpl extends BaseServiceImpl<AcupointLibrary,
* 添加或修改穴位库
*/
@Override
public boolean saveOrUpdate(SaveUpdateAcupointLibraryForm form) {
public String saveOrUpdate(SaveUpdateAcupointLibraryForm form) {
AcupointLibrary entity = new AcupointLibrary();
BeanUtils.copyProperties(form, entity);
if(StringUtils.isNotBlank(form.getMeridianId())) {
......@@ -139,7 +139,7 @@ public class AcupointLibrarySerivceImpl extends BaseServiceImpl<AcupointLibrary,
acupointLibrary.setVideoId(videoId);
mapper.updateByPrimaryKeySelective(acupointLibrary);
}
return true;
return entity.getId();
}
/**
......
......@@ -24,7 +24,7 @@ public interface AcupointLibraryService extends BaseService<AcupointLibrary,Stri
* @param form
* @return
*/
boolean saveOrUpdate(SaveUpdateAcupointLibraryForm form);
String saveOrUpdate(SaveUpdateAcupointLibraryForm form);
/**
* 批量删除穴位库
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论