|
|
@ -9,6 +9,7 @@ |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|
|
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|
|
|
|
|
<result column="robot_task_id" jdbcType="BIGINT" property="robotTaskId" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
|
@ -69,7 +70,7 @@ |
|
|
</where> |
|
|
</where> |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, recipe_project_id, task_id, operator, create_time, update_time, rec_status |
|
|
id, recipe_project_id, task_id, operator, create_time, update_time, rec_status, robot_task_id |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecomposeExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecomposeExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
|
@ -104,10 +105,10 @@ |
|
|
<insert id="insert" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecompose"> |
|
|
<insert id="insert" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecompose"> |
|
|
insert into t_recipe_project_decompose (id, recipe_project_id, task_id, |
|
|
insert into t_recipe_project_decompose (id, recipe_project_id, task_id, |
|
|
operator, create_time, update_time, |
|
|
operator, create_time, update_time, |
|
|
rec_status) |
|
|
rec_status, robot_task_id) |
|
|
values (#{id,jdbcType=BIGINT}, #{recipeProjectId,jdbcType=BIGINT}, #{taskId,jdbcType=BIGINT}, |
|
|
values (#{id,jdbcType=BIGINT}, #{recipeProjectId,jdbcType=BIGINT}, #{taskId,jdbcType=BIGINT}, |
|
|
#{operator,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, |
|
|
#{operator,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, |
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
#{recStatus,jdbcType=TINYINT}, #{robotTaskId,jdbcType=BIGINT}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecompose"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecompose"> |
|
|
insert into t_recipe_project_decompose |
|
|
insert into t_recipe_project_decompose |
|
|
@ -133,6 +134,9 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
rec_status, |
|
|
rec_status, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="robotTaskId != null"> |
|
|
|
|
|
robot_task_id, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
@ -156,6 +160,9 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
#{recStatus,jdbcType=TINYINT}, |
|
|
#{recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="robotTaskId != null"> |
|
|
|
|
|
#{robotTaskId,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecomposeExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.recovery.bean.po.RecipeProjectDecomposeExample" resultType="java.lang.Long"> |
|
|
@ -188,6 +195,9 @@ |
|
|
<if test="record.recStatus != null"> |
|
|
<if test="record.recStatus != null"> |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.robotTaskId != null"> |
|
|
|
|
|
robot_task_id = #{record.robotTaskId,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
@ -201,7 +211,8 @@ |
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
|
|
|
robot_task_id = #{record.robotTaskId,jdbcType=BIGINT} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -227,6 +238,9 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="robotTaskId != null"> |
|
|
|
|
|
robot_task_id = #{robotTaskId,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
@ -237,7 +251,8 @@ |
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT} |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
|
|
|
robot_task_id = #{robotTaskId,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |