|
|
@@ -24,8 +24,7 @@
|
|
|
<result column="mcur_code" property="code" jdbcType="VARCHAR" />
|
|
|
<result column="mcur_term_name" property="termName" jdbcType="VARCHAR" />
|
|
|
<result column="mcur_name" property="name" jdbcType="VARCHAR" />
|
|
|
- <result column="mcur_term_start" property="termStart" jdbcType="TIMESTAMP" />
|
|
|
- <result column="mcur_term_end" property="termEnd" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="mcur_term_part" property="termPart" jdbcType="VARCHAR" />
|
|
|
<result column="mcur_weeknum" property="weekNum" jdbcType="INTEGER" />
|
|
|
<result column="creatorName" property="creatorName" jdbcType="VARCHAR" />
|
|
|
<result column="createTime" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
@@ -39,7 +38,7 @@
|
|
|
|
|
|
<select id="selectByCondition" resultType="com.usoftchina.smartschool.school.dto.CurriculumListDTO">
|
|
|
select mcur.id id, school.school_name schoolName, grade.grade_name gradeName, clazz.clazz_name clazzName, mcur_status status, mcur.school_id schoolId, mcur.clazz_id clazzId, clazz.grade_id gradeId,
|
|
|
- mcur.mcur_term_name termName, mcur.mcur_name name, mcur.mcur_term_start termStart, mcur.mcur_term_end termEnd
|
|
|
+ mcur.mcur_term_name termName, mcur.mcur_name name, mcur.mcur_term_part termPart
|
|
|
from clazz_main_curriculum mcur
|
|
|
left join sys_clazz clazz on mcur.clazz_id = clazz.clazz_id
|
|
|
left join sys_grade grade on clazz.grade_id = grade.grade_id
|
|
|
@@ -96,11 +95,8 @@
|
|
|
<if test="name != null">
|
|
|
mcur_name,
|
|
|
</if>
|
|
|
- <if test="termStart != null">
|
|
|
- mcur_term_start,
|
|
|
- </if>
|
|
|
- <if test="termEnd != null">
|
|
|
- mcur_term_end,
|
|
|
+ <if test="termPart != null">
|
|
|
+ mcur_term_part,
|
|
|
</if>
|
|
|
<if test="weekNum != null">
|
|
|
mcur_weeknum,
|
|
|
@@ -134,11 +130,8 @@
|
|
|
<if test="name != null">
|
|
|
#{name, jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="termStart != null">
|
|
|
- #{termStart, jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="termEnd != null">
|
|
|
- #{termEnd, jdbcType=TIMESTAMP},
|
|
|
+ <if test="termPart != null">
|
|
|
+ #{termPart, jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="weekNum != null">
|
|
|
#{weekNum, jdbcType=INTEGER},
|
|
|
@@ -192,11 +185,8 @@
|
|
|
<if test="name != null" >
|
|
|
mcur_name = #{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="termStart != null" >
|
|
|
- mcur_term_start = #{termStart,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="termEnd != null" >
|
|
|
- mcur_term_end = #{termEnd,jdbcType=VARCHAR},
|
|
|
+ <if test="termPart != null" >
|
|
|
+ mcur_term_part = #{termPart,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="weekNum != null" >
|
|
|
mcur_weeknum = #{weekNum,jdbcType=INTEGER},
|