|
@@ -8,6 +8,7 @@
|
|
<result column="JOB_CODE" property="jobCode" jdbcType="VARCHAR" />
|
|
<result column="JOB_CODE" property="jobCode" jdbcType="VARCHAR" />
|
|
<result column="TYPE" property="type" jdbcType="CHAR" />
|
|
<result column="TYPE" property="type" jdbcType="CHAR" />
|
|
<result column="CACHE_FOLDER" property="cacheFolder" jdbcType="VARCHAR" />
|
|
<result column="CACHE_FOLDER" property="cacheFolder" jdbcType="VARCHAR" />
|
|
|
|
+ <result column="CACHE_USE" property="cacheUse" jdbcType="CHAR" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
delete from DSP_TASK
|
|
delete from DSP_TASK
|
|
@@ -17,7 +18,7 @@
|
|
insert into DSP_TASK (ID, NAME, CODE,
|
|
insert into DSP_TASK (ID, NAME, CODE,
|
|
JOB_CODE, TYPE,CACHE_FOLDER)
|
|
JOB_CODE, TYPE,CACHE_FOLDER)
|
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR},
|
|
- #{jobCode,jdbcType=VARCHAR}, #{type,jdbcType=CHAR},#{cacheFolder,jdbcType=VARCHAR})
|
|
|
|
|
|
+ #{jobCode,jdbcType=VARCHAR}, #{type,jdbcType=CHAR},#{cacheFolder,jdbcType=VARCHAR},#{cacheUse,jdbcType=CHAR})
|
|
</insert>
|
|
</insert>
|
|
<update id="updateByPrimaryKey" parameterType="com.xt.dsp.model.TaskBean" >
|
|
<update id="updateByPrimaryKey" parameterType="com.xt.dsp.model.TaskBean" >
|
|
update DSP_TASK
|
|
update DSP_TASK
|
|
@@ -25,21 +26,22 @@
|
|
CODE = #{code,jdbcType=VARCHAR},
|
|
CODE = #{code,jdbcType=VARCHAR},
|
|
JOB_CODE = #{jobCode,jdbcType=VARCHAR},
|
|
JOB_CODE = #{jobCode,jdbcType=VARCHAR},
|
|
TYPE = #{type,jdbcType=CHAR},
|
|
TYPE = #{type,jdbcType=CHAR},
|
|
- CACHE_FOLDER = #{cacheFolder,jdbcType=VARCHAR}
|
|
|
|
|
|
+ CACHE_FOLDER = #{cacheFolder,jdbcType=VARCHAR},
|
|
|
|
+ CACHE_USE = #{cacheUse,jdbcType=CHAR}
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
- select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER
|
|
|
|
|
|
+ select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER,CACHE_USE
|
|
from DSP_TASK
|
|
from DSP_TASK
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
</select>
|
|
</select>
|
|
<select id="selectByJobCode" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
<select id="selectByJobCode" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
- select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER
|
|
|
|
|
|
+ select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER,CACHE_USE
|
|
from DSP_TASK
|
|
from DSP_TASK
|
|
where JOB_CODE = #{jobcode,jdbcType=VARCHAR}
|
|
where JOB_CODE = #{jobcode,jdbcType=VARCHAR}
|
|
</select>
|
|
</select>
|
|
<select id="selectAll" resultMap="BaseResultMap" >
|
|
<select id="selectAll" resultMap="BaseResultMap" >
|
|
- select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER
|
|
|
|
|
|
+ select ID, NAME, CODE, JOB_CODE, TYPE,CACHE_FOLDER,CACHE_USE
|
|
from DSP_TASK
|
|
from DSP_TASK
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|