[EDIT] ///
This commit is contained in:
@@ -5,6 +5,6 @@ import java.util.List;
|
|||||||
import com.example.demo.app.domain.model.CourseInfoModel;
|
import com.example.demo.app.domain.model.CourseInfoModel;
|
||||||
|
|
||||||
public interface CourseInfoService {
|
public interface CourseInfoService {
|
||||||
|
//
|
||||||
public List<CourseInfoModel> findAll();
|
public List<CourseInfoModel> findAll();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public class CourseInfoForm {
|
|||||||
|
|
||||||
|
|
||||||
public static CourseInfoForm convertFrom(CourseInfoModel courseInfoModel ) {
|
public static CourseInfoForm convertFrom(CourseInfoModel courseInfoModel ) {
|
||||||
return new CourseInfoForm(courseInfoModel.getCategoryId(), courseInfoModel.getCourseName(), courseInfoModel.getCategoryId(), courseInfoModel.getCategoryName(), courseInfoModel.getAllocationRatio());
|
return new CourseInfoForm(courseInfoModel.getCourseId(), courseInfoModel.getCourseName(), courseInfoModel.getCategoryId(), courseInfoModel.getCategoryName(), courseInfoModel.getAllocationRatio());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<CourseInfoForm> convertFrom(List<CourseInfoModel> courseInfoModelList ) {
|
public static List<CourseInfoForm> convertFrom(List<CourseInfoModel> courseInfoModelList ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user