修改表名及引用地方
This commit is contained in:
parent
9d264af585
commit
ccfa93488c
|
@ -4,7 +4,7 @@ import com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity;
|
||||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 集成任务-实例详情(integration_task_living_details: table)表数据库访问层
|
* 集成任务-实例详情(integration_task_log: table)表数据库访问层
|
||||||
*
|
*
|
||||||
* @author makejava
|
* @author makejava
|
||||||
* @since 2024-05-06 15:37:55
|
* @since 2024-05-06 15:37:55
|
||||||
|
|
|
@ -48,14 +48,14 @@
|
||||||
<select id="entity_get" resultMap="get-IntegrationTaskLogEntity-result">
|
<select id="entity_get" resultMap="get-IntegrationTaskLogEntity-result">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
||||||
from integration_task_living_details where id = #{id} and sts = 'Y'
|
from integration_task_log where id = #{id} and sts = 'Y'
|
||||||
</select>
|
</select>
|
||||||
<!-- 查询 采用==查询 -->
|
<!-- 查询 采用==查询 -->
|
||||||
<select id="entity_list_base" resultMap="get-IntegrationTaskLogEntity-result"
|
<select id="entity_list_base" resultMap="get-IntegrationTaskLogEntity-result"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
||||||
from integration_task_living_details
|
from integration_task_log
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''">and id = #{id}</if>
|
<if test="id != null and id != ''">and id = #{id}</if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
<!-- 查询符合条件的数量 -->
|
<!-- 查询符合条件的数量 -->
|
||||||
<select id="entity_count" resultType="Integer"
|
<select id="entity_count" resultType="Integer"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
select count(1) from integration_task_living_details
|
select count(1) from integration_task_log
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''">and id = #{id}</if>
|
<if test="id != null and id != ''">and id = #{id}</if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
||||||
from integration_task_living_details
|
from integration_task_log
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''">and id like concat('%',#{id},'%')</if>
|
<if test="id != null and id != ''">and id like concat('%',#{id},'%')</if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id like
|
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id like
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
||||||
from integration_task_living_details
|
from integration_task_log
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''">or id = #{id}</if>
|
<if test="id != null and id != ''">or id = #{id}</if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">or task_linving_id = #{taskLinvingId}</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''">or task_linving_id = #{taskLinvingId}</if>
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
<!--新增所有列-->
|
<!--新增所有列-->
|
||||||
<insert id="entity_insert"
|
<insert id="entity_insert"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
insert into integration_task_living_details(
|
insert into integration_task_log(
|
||||||
<trim suffix="" suffixOverrides=",">
|
<trim suffix="" suffixOverrides=",">
|
||||||
<if test="id != null and id != ''">id ,</if>
|
<if test="id != null and id != ''">id ,</if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">task_linving_id ,</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''">task_linving_id ,</if>
|
||||||
|
@ -230,7 +230,7 @@
|
||||||
</insert>
|
</insert>
|
||||||
<!-- 批量新增 -->
|
<!-- 批量新增 -->
|
||||||
<insert id="entityInsertBatch" >
|
<insert id="entityInsertBatch" >
|
||||||
insert into integration_task_living_details(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
insert into integration_task_log(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
||||||
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
||||||
company_id, sts)
|
company_id, sts)
|
||||||
values
|
values
|
||||||
|
@ -241,7 +241,7 @@
|
||||||
</insert>
|
</insert>
|
||||||
<!-- 批量新增或者修改-->
|
<!-- 批量新增或者修改-->
|
||||||
<insert id="entityInsertOrUpdateBatch" >
|
<insert id="entityInsertOrUpdateBatch" >
|
||||||
insert into integration_task_living_details(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
insert into integration_task_log(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
||||||
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
||||||
company_id)
|
company_id)
|
||||||
values
|
values
|
||||||
|
@ -270,7 +270,7 @@
|
||||||
<!--通过主键修改方法-->
|
<!--通过主键修改方法-->
|
||||||
<update id="entity_update"
|
<update id="entity_update"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
update integration_task_living_details set
|
update integration_task_log set
|
||||||
<trim suffix="" suffixOverrides=",">
|
<trim suffix="" suffixOverrides=",">
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">task_linving_id = #{taskLinvingId},</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''">task_linving_id = #{taskLinvingId},</if>
|
||||||
<if test="taskId != null and taskId != ''">task_id = #{taskId},</if>
|
<if test="taskId != null and taskId != ''">task_id = #{taskId},</if>
|
||||||
|
@ -295,13 +295,13 @@
|
||||||
<!-- 逻辑删除 -->
|
<!-- 逻辑删除 -->
|
||||||
<update id="entity_logicDelete"
|
<update id="entity_logicDelete"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
update integration_task_living_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
update integration_task_log set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<!-- 多条件逻辑删除 -->
|
<!-- 多条件逻辑删除 -->
|
||||||
<update id="entity_logicDelete_Multi_Condition"
|
<update id="entity_logicDelete_Multi_Condition"
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
||||||
update integration_task_living_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id =
|
update integration_task_log set sts= 'N' ,modify_time = #{modify_time},modify_user_id =
|
||||||
#{modify_user_id}
|
#{modify_user_id}
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="id != null and id != ''">and id = #{id}</if>
|
<if test="id != null and id != ''">and id = #{id}</if>
|
||||||
|
@ -322,7 +322,7 @@ where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<!--通过主键删除-->
|
<!--通过主键删除-->
|
||||||
<delete id="entity_delete">
|
<delete id="entity_delete">
|
||||||
delete from integration_task_living_details where id = #{id}
|
delete from integration_task_log where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue