Commit 1f560722 by 涂亚平

临时上个版本 联调中

1 parent 62d6ca01
......@@ -26,7 +26,7 @@ public interface ClassDictService extends IService<ClassDictDO> {
String deleteClasses(ClassDictDO classDictDO);
String addClass(AddClassDTO addClassDTO);
Long addClass(AddClassDTO addClassDTO);
String updateClass(ClassDictDO classDictDO);
......
......@@ -83,7 +83,7 @@ public class ClassDictServiceImpl extends ServiceImpl<ClassDictMapper, ClassDict
return ConstantUtils.DELETE_SUCCESS;
}
public String addClass(AddClassDTO addClassDTO) {
public Long addClass(AddClassDTO addClassDTO) {
//新建一个班级
ClassDictDO classDictDO = new ClassDictDO();
......@@ -117,7 +117,7 @@ public class ClassDictServiceImpl extends ServiceImpl<ClassDictMapper, ClassDict
}
return ConstantUtils.ADD_SUCCESS;
return classDictDO.getId();
}
public String updateClass(ClassDictDO classDictDO) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!