Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
78a8e01a
Commit
78a8e01a
authored
Sep 27, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corpid
parent
e39e29cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
QueryCourseResDTO.java
...a/org/rcisoft/business/bcourse/dto/QueryCourseResDTO.java
+3
-3
application-dev.yml
src/main/resources/application-dev.yml
+1
-1
BCourseMapper.xml
...esources/mapper/business/bcourse.mapper/BCourseMapper.xml
+3
-3
No files found.
src/main/java/org/rcisoft/business/bcourse/dto/QueryCourseResDTO.java
View file @
78a8e01a
...
@@ -12,12 +12,12 @@ public class QueryCourseResDTO {
...
@@ -12,12 +12,12 @@ public class QueryCourseResDTO {
@ApiModelProperty
(
value
=
"课程分类名"
)
@ApiModelProperty
(
value
=
"课程分类名"
)
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为50"
)
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为50"
)
private
String
cNam
e
;
private
String
titl
e
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"id"
)
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为50"
)
@Length
(
min
=
1
,
max
=
64
,
message
=
"长度最小为1,最大为50"
)
private
String
businessId
;
private
String
key
;
@ApiModelProperty
(
value
=
"子章节"
)
@ApiModelProperty
(
value
=
"子章节"
)
private
List
<
BCourse
>
child
List
;
private
List
<
BCourse
>
child
ren
;
}
}
src/main/resources/application-dev.yml
View file @
78a8e01a
...
@@ -13,7 +13,7 @@ server:
...
@@ -13,7 +13,7 @@ server:
# org.springframework.web: DEBUG
# org.springframework.web: DEBUG
druid
:
druid
:
# url: jdbc:mysql://127.0.0.1:3306/
edu_db0917
?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
# url: jdbc:mysql://127.0.0.1:3306/
new_edu_db
?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
url
:
jdbc:mysql://10.96.131.16:55558/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
url
:
jdbc:mysql://10.96.131.16:55558/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
#url: jdbc:mysql://120.52.179.75:13318/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
#url: jdbc:mysql://120.52.179.75:13318/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
username
:
root
username
:
root
...
...
src/main/resources/mapper/business/bcourse.mapper/BCourseMapper.xml
View file @
78a8e01a
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
</resultMap>
</resultMap>
<resultMap
id=
"BaseResultMapDTO"
type=
"org.rcisoft.business.bcourse.dto.QueryCourseResDTO"
>
<resultMap
id=
"BaseResultMapDTO"
type=
"org.rcisoft.business.bcourse.dto.QueryCourseResDTO"
>
<id
column=
"business_id"
jdbcType=
"VARCHAR"
property=
"
businessId
"
/>
<id
column=
"business_id"
jdbcType=
"VARCHAR"
property=
"
key
"
/>
<result
column=
"c_name"
jdbcType=
"VARCHAR"
property=
"
cNam
e"
/>
<result
column=
"c_name"
jdbcType=
"VARCHAR"
property=
"
titl
e"
/>
</resultMap>
</resultMap>
<resultMap
id=
"ChildListResultMap"
type=
"org.rcisoft.business.bcourse.dto.QueryCourseResDTO"
extends=
"BaseResultMapDTO"
>
<resultMap
id=
"ChildListResultMap"
type=
"org.rcisoft.business.bcourse.dto.QueryCourseResDTO"
extends=
"BaseResultMapDTO"
>
<association
column=
"business_id"
property=
"child
List
"
select=
"org.rcisoft.business.bcourse.dao.BCourseRepository.queryCoursesByPid"
></association>
<association
column=
"business_id"
property=
"child
ren
"
select=
"org.rcisoft.business.bcourse.dao.BCourseRepository.queryCoursesByPid"
></association>
</resultMap>
</resultMap>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment