From 6b67dd8a0db57ad1f9ae82fd3e3a970f1d12fa82 Mon Sep 17 00:00:00 2001 From: yuqh <123456> Date: Wed, 15 May 2024 14:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dao/IIntegrationTaskLogDetailsDao.java | 15 - .../IntegrationTaskLogDetailsDaoImpl.java | 17 - .../IntegrationTaskLogDetailsEntity.java | 246 ---------- .../IntegrationTaskLogDetailsEntity.xml | 443 ------------------ .../IIntegrationTaskLogDetailsService.java | 12 - .../IntegrationTaskLogDetailsServiceImpl.java | 26 - 6 files changed, 759 deletions(-) delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/IIntegrationTaskLogDetailsDao.java delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/impl/IntegrationTaskLogDetailsDaoImpl.java delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.java delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.xml delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/IIntegrationTaskLogDetailsService.java delete mode 100644 service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/impl/IntegrationTaskLogDetailsServiceImpl.java diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/IIntegrationTaskLogDetailsDao.java b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/IIntegrationTaskLogDetailsDao.java deleted file mode 100644 index 15d13bff..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/IIntegrationTaskLogDetailsDao.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.hzya.frame.sysnew.integrationTaskLogDetails.dao; - -import com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity; -import com.hzya.frame.basedao.dao.IBaseDao; - -/** - * 集成任务-日志详情(integration_task_log_details: table)表数据库访问层 - * - * @author makejava - * @since 2024-05-15 10:14:46 - */ -public interface IIntegrationTaskLogDetailsDao extends IBaseDao<IntegrationTaskLogDetailsEntity, String> { - -} - diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/impl/IntegrationTaskLogDetailsDaoImpl.java b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/impl/IntegrationTaskLogDetailsDaoImpl.java deleted file mode 100644 index 3710503c..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/dao/impl/IntegrationTaskLogDetailsDaoImpl.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.hzya.frame.sysnew.integrationTaskLogDetails.dao.impl; - -import com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity; -import com.hzya.frame.sysnew.integrationTaskLogDetails.dao.IIntegrationTaskLogDetailsDao; -import org.springframework.stereotype.Repository; -import com.hzya.frame.basedao.dao.MybatisGenericDao; -/** - * 集成任务-日志详情(IntegrationTaskLogDetails)表数据库访问层 - * - * @author makejava - * @since 2024-05-15 10:14:46 - */ -@Repository(value = "IntegrationTaskLogDetailsDaoImpl") -public class IntegrationTaskLogDetailsDaoImpl extends MybatisGenericDao<IntegrationTaskLogDetailsEntity, String> implements IIntegrationTaskLogDetailsDao{ - -} - diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.java b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.java deleted file mode 100644 index 0fa40134..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.java +++ /dev/null @@ -1,246 +0,0 @@ -package com.hzya.frame.sysnew.integrationTaskLogDetails.entity; - -import java.util.Date; -import com.hzya.frame.web.entity.BaseEntity; -/** - * 集成任务-日志详情(IntegrationTaskLogDetails)实体类 - * - * @author makejava - * @since 2024-05-15 10:14:46 - */ -public class IntegrationTaskLogDetailsEntity extends BaseEntity { - - /** 集成任务-实例_id */ - private String taskLinvingId; - /** 返回结果 */ - private String result; - /** 原始查询条件 */ - private String queryCondition; - /** 源系统主键 */ - private String rootAppPk; - /** 原系统单据 */ - private String rootAppBill; - /** 最新源系统数据详情 */ - private String rootAppNewData; - /** 最新传输信息 */ - private String newTransmitInfo; - /** 最新推送时间 */ - private Date newPushDate; - /** 源系统编码 */ - private String rootAppCode; - /** 业务日期 */ - private String businessTime; - /** 最新推送状态 */ - private String newPushState; - /** 处理人 */ - private String processor; - /** 处理时间 */ - private String processorTime; - /** 处理备注 */ - private String processorRemark; - /** 最新元数据 */ - private String newMetadata; - /** 是否补推(Y是N不是) */ - private String repairPust; - /** 公司id */ - private String companyId; - /** 备注 */ - private String remark; - /** 扩展1 */ - private String def1; - /** 扩展2 */ - private String def2; - /** 扩展3 */ - private String def3; - /** 扩展4 */ - private String def4; - /** 扩展5 */ - private String def5; - - - public String getTaskLinvingId() { - return taskLinvingId; - } - - public void setTaskLinvingId(String taskLinvingId) { - this.taskLinvingId = taskLinvingId; - } - - public String getResult() { - return result; - } - - public void setResult(String result) { - this.result = result; - } - - public String getQueryCondition() { - return queryCondition; - } - - public void setQueryCondition(String queryCondition) { - this.queryCondition = queryCondition; - } - - public String getRootAppPk() { - return rootAppPk; - } - - public void setRootAppPk(String rootAppPk) { - this.rootAppPk = rootAppPk; - } - - public String getRootAppBill() { - return rootAppBill; - } - - public void setRootAppBill(String rootAppBill) { - this.rootAppBill = rootAppBill; - } - - public String getRootAppNewData() { - return rootAppNewData; - } - - public void setRootAppNewData(String rootAppNewData) { - this.rootAppNewData = rootAppNewData; - } - - public String getNewTransmitInfo() { - return newTransmitInfo; - } - - public void setNewTransmitInfo(String newTransmitInfo) { - this.newTransmitInfo = newTransmitInfo; - } - - public Date getNewPushDate() { - return newPushDate; - } - - public void setNewPushDate(Date newPushDate) { - this.newPushDate = newPushDate; - } - - public String getRootAppCode() { - return rootAppCode; - } - - public void setRootAppCode(String rootAppCode) { - this.rootAppCode = rootAppCode; - } - - public String getBusinessTime() { - return businessTime; - } - - public void setBusinessTime(String businessTime) { - this.businessTime = businessTime; - } - - public String getNewPushState() { - return newPushState; - } - - public void setNewPushState(String newPushState) { - this.newPushState = newPushState; - } - - public String getProcessor() { - return processor; - } - - public void setProcessor(String processor) { - this.processor = processor; - } - - public String getProcessorTime() { - return processorTime; - } - - public void setProcessorTime(String processorTime) { - this.processorTime = processorTime; - } - - public String getProcessorRemark() { - return processorRemark; - } - - public void setProcessorRemark(String processorRemark) { - this.processorRemark = processorRemark; - } - - public String getNewMetadata() { - return newMetadata; - } - - public void setNewMetadata(String newMetadata) { - this.newMetadata = newMetadata; - } - - public String getRepairPust() { - return repairPust; - } - - public void setRepairPust(String repairPust) { - this.repairPust = repairPust; - } - - public String getCompanyId() { - return companyId; - } - - public void setCompanyId(String companyId) { - this.companyId = companyId; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getDef1() { - return def1; - } - - public void setDef1(String def1) { - this.def1 = def1; - } - - public String getDef2() { - return def2; - } - - public void setDef2(String def2) { - this.def2 = def2; - } - - public String getDef3() { - return def3; - } - - public void setDef3(String def3) { - this.def3 = def3; - } - - public String getDef4() { - return def4; - } - - public void setDef4(String def4) { - this.def4 = def4; - } - - public String getDef5() { - return def5; - } - - public void setDef5(String def5) { - this.def5 = def5; - } - -} - diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.xml b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.xml deleted file mode 100644 index 7489df86..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/entity/IntegrationTaskLogDetailsEntity.xml +++ /dev/null @@ -1,443 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.hzya.frame.sysnew.integrationTaskLogDetails.dao.impl.IntegrationTaskLogDetailsDaoImpl"> - - <resultMap id="get-IntegrationTaskLogDetailsEntity-result" type="com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" > - <result property="id" column="id" jdbcType="VARCHAR"/> - <result property="taskLinvingId" column="task_linving_id" jdbcType="VARCHAR"/> - <result property="result" column="result" jdbcType="VARCHAR"/> - <result property="queryCondition" column="query_condition" jdbcType="VARCHAR"/> - <result property="rootAppPk" column="root_app_pk" jdbcType="VARCHAR"/> - <result property="rootAppBill" column="root_app_bill" jdbcType="VARCHAR"/> - <result property="rootAppNewData" column="root_app_new_data" jdbcType="VARCHAR"/> - <result property="newTransmitInfo" column="new_transmit_info" jdbcType="VARCHAR"/> - <result property="newPushDate" column="new_push_date" jdbcType="TIMESTAMP"/> - <result property="rootAppCode" column="root_app_code" jdbcType="VARCHAR"/> - <result property="businessTime" column="business_time" jdbcType="VARCHAR"/> - <result property="newPushState" column="new_push_state" jdbcType="VARCHAR"/> - <result property="processor" column="processor" jdbcType="VARCHAR"/> - <result property="processorTime" column="processor_time" jdbcType="VARCHAR"/> - <result property="processorRemark" column="processor_remark" jdbcType="VARCHAR"/> - <result property="newMetadata" column="new_metadata" jdbcType="VARCHAR"/> - <result property="repairPust" column="repair_pust" jdbcType="VARCHAR"/> - <result property="sorts" column="sorts" jdbcType="INTEGER"/> - <result property="create_user_id" column="create_user_id" jdbcType="VARCHAR"/> - <result property="create_time" column="create_time" jdbcType="TIMESTAMP"/> - <result property="modify_user_id" column="modify_user_id" jdbcType="VARCHAR"/> - <result property="modify_time" column="modify_time" jdbcType="TIMESTAMP"/> - <result property="sts" column="sts" jdbcType="VARCHAR"/> - <result property="org_id" column="org_id" jdbcType="VARCHAR"/> - <result property="companyId" column="company_id" jdbcType="VARCHAR"/> - <result property="remark" column="remark" jdbcType="VARCHAR"/> - <result property="def1" column="def1" jdbcType="VARCHAR"/> - <result property="def2" column="def2" jdbcType="VARCHAR"/> - <result property="def3" column="def3" jdbcType="VARCHAR"/> - <result property="def4" column="def4" jdbcType="VARCHAR"/> - <result property="def5" column="def5" jdbcType="VARCHAR"/> - </resultMap> - <!-- 查询的字段--> - <sql id = "IntegrationTaskLogDetailsEntity_Base_Column_List"> - id - ,task_linving_id - ,result - ,query_condition - ,root_app_pk - ,root_app_bill - ,root_app_new_data - ,new_transmit_info - ,new_push_date - ,root_app_code - ,business_time - ,new_push_state - ,processor - ,processor_time - ,processor_remark - ,new_metadata - ,repair_pust - ,sorts - ,create_user_id - ,create_time - ,modify_user_id - ,modify_time - ,sts - ,org_id - ,company_id - ,remark - ,def1 - ,def2 - ,def3 - ,def4 - ,def5 - </sql> - <!-- 查询 采用==查询 --> - <select id="entity_list_base" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity"> - select - <include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" /> - from integration_task_log_details - <trim prefix="where" prefixOverrides="and"> - <if test="id != null and id != ''"> and id = #{id} </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if> - <if test="result != null and result != ''"> and result = #{result} </if> - <if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if> - <if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if> - <if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if> - <if test="newPushDate != null"> and new_push_date = #{newPushDate} </if> - <if test="rootAppCode != null and rootAppCode != ''"> and root_app_code = #{rootAppCode} </if> - <if test="businessTime != null and businessTime != ''"> and business_time = #{businessTime} </if> - <if test="newPushState != null and newPushState != ''"> and new_push_state = #{newPushState} </if> - <if test="processor != null and processor != ''"> and processor = #{processor} </if> - <if test="processorTime != null and processorTime != ''"> and processor_time = #{processorTime} </if> - <if test="processorRemark != null and processorRemark != ''"> and processor_remark = #{processorRemark} </if> - <if test="newMetadata != null and newMetadata != ''"> and new_metadata = #{newMetadata} </if> - <if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if> - <if test="sorts != null"> and sorts = #{sorts} </if> - <if test="create_user_id != null and create_user_id != ''"> and create_user_id = #{create_user_id} </if> - <if test="create_time != null"> and create_time = #{create_time} </if> - <if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id = #{modify_user_id} </if> - <if test="modify_time != null"> and modify_time = #{modify_time} </if> - <if test="sts != null and sts != ''"> and sts = #{sts} </if> - <if test="org_id != null and org_id != ''"> and org_id = #{org_id} </if> - <if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if> - <if test="remark != null and remark != ''"> and remark = #{remark} </if> - <if test="def1 != null and def1 != ''"> and def1 = #{def1} </if> - <if test="def2 != null and def2 != ''"> and def2 = #{def2} </if> - <if test="def3 != null and def3 != ''"> and def3 = #{def3} </if> - <if test="def4 != null and def4 != ''"> and def4 = #{def4} </if> - <if test="def5 != null and def5 != ''"> and def5 = #{def5} </if> - and sts='Y' - </trim> - <if test=" sort == null or sort == ''.toString() "> order by sorts asc</if> - <if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if> -</select> - -<!-- 查询符合条件的数量 --> -<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity"> - select count(1) from integration_task_log_details - <trim prefix="where" prefixOverrides="and"> - <if test="id != null and id != ''"> and id = #{id} </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if> - <if test="result != null and result != ''"> and result = #{result} </if> - <if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if> - <if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if> - <if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if> - <if test="newPushDate != null"> and new_push_date = #{newPushDate} </if> - <if test="rootAppCode != null and rootAppCode != ''"> and root_app_code = #{rootAppCode} </if> - <if test="businessTime != null and businessTime != ''"> and business_time = #{businessTime} </if> - <if test="newPushState != null and newPushState != ''"> and new_push_state = #{newPushState} </if> - <if test="processor != null and processor != ''"> and processor = #{processor} </if> - <if test="processorTime != null and processorTime != ''"> and processor_time = #{processorTime} </if> - <if test="processorRemark != null and processorRemark != ''"> and processor_remark = #{processorRemark} </if> - <if test="newMetadata != null and newMetadata != ''"> and new_metadata = #{newMetadata} </if> - <if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if> - <if test="sorts != null"> and sorts = #{sorts} </if> - <if test="create_user_id != null and create_user_id != ''"> and create_user_id = #{create_user_id} </if> - <if test="create_time != null"> and create_time = #{create_time} </if> - <if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id = #{modify_user_id} </if> - <if test="modify_time != null"> and modify_time = #{modify_time} </if> - <if test="sts != null and sts != ''"> and sts = #{sts} </if> - <if test="org_id != null and org_id != ''"> and org_id = #{org_id} </if> - <if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if> - <if test="remark != null and remark != ''"> and remark = #{remark} </if> - <if test="def1 != null and def1 != ''"> and def1 = #{def1} </if> - <if test="def2 != null and def2 != ''"> and def2 = #{def2} </if> - <if test="def3 != null and def3 != ''"> and def3 = #{def3} </if> - <if test="def4 != null and def4 != ''"> and def4 = #{def4} </if> - <if test="def5 != null and def5 != ''"> and def5 = #{def5} </if> - and sts='Y' - </trim> - <if test=" sort == null or sort == ''.toString() "> order by sorts asc</if> - <if test=" sort !='' and sort!=null and order !='' and order!=null "> order by ${sort} ${order}</if> - </select> - - <!-- 分页查询列表 采用like格式 --> -<select id="entity_list_like" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity"> - select - <include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" /> - from integration_task_log_details - <trim prefix="where" prefixOverrides="and"> - <if test="id != null and id != ''"> and id like concat('%',#{id},'%') </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id like concat('%',#{taskLinvingId},'%') </if> - <if test="result != null and result != ''"> and result like concat('%',#{result},'%') </if> - <if test="queryCondition != null and queryCondition != ''"> and query_condition like concat('%',#{queryCondition},'%') </if> - <if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk like concat('%',#{rootAppPk},'%') </if> - <if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill like concat('%',#{rootAppBill},'%') </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data like concat('%',#{rootAppNewData},'%') </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info like concat('%',#{newTransmitInfo},'%') </if> - <if test="newPushDate != null"> and new_push_date like concat('%',#{newPushDate},'%') </if> - <if test="rootAppCode != null and rootAppCode != ''"> and root_app_code like concat('%',#{rootAppCode},'%') </if> - <if test="businessTime != null and businessTime != ''"> and business_time like concat('%',#{businessTime},'%') </if> - <if test="newPushState != null and newPushState != ''"> and new_push_state like concat('%',#{newPushState},'%') </if> - <if test="processor != null and processor != ''"> and processor like concat('%',#{processor},'%') </if> - <if test="processorTime != null and processorTime != ''"> and processor_time like concat('%',#{processorTime},'%') </if> - <if test="processorRemark != null and processorRemark != ''"> and processor_remark like concat('%',#{processorRemark},'%') </if> - <if test="newMetadata != null and newMetadata != ''"> and new_metadata like concat('%',#{newMetadata},'%') </if> - <if test="repairPust != null and repairPust != ''"> and repair_pust like concat('%',#{repairPust},'%') </if> - <if test="sorts != null"> and sorts like concat('%',#{sorts},'%') </if> - <if test="create_user_id != null and create_user_id != ''"> and create_user_id like concat('%',#{create_user_id},'%') </if> - <if test="create_time != null"> and create_time like concat('%',#{create_time},'%') </if> - <if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id like concat('%',#{modify_user_id},'%') </if> - <if test="modify_time != null"> and modify_time like concat('%',#{modify_time},'%') </if> - <if test="sts != null and sts != ''"> and sts like concat('%',#{sts},'%') </if> - <if test="org_id != null and org_id != ''"> and org_id like concat('%',#{org_id},'%') </if> - <if test="companyId != null and companyId != ''"> and company_id like concat('%',#{companyId},'%') </if> - <if test="remark != null and remark != ''"> and remark like concat('%',#{remark},'%') </if> - <if test="def1 != null and def1 != ''"> and def1 like concat('%',#{def1},'%') </if> - <if test="def2 != null and def2 != ''"> and def2 like concat('%',#{def2},'%') </if> - <if test="def3 != null and def3 != ''"> and def3 like concat('%',#{def3},'%') </if> - <if test="def4 != null and def4 != ''"> and def4 like concat('%',#{def4},'%') </if> - <if test="def5 != null and def5 != ''"> and def5 like concat('%',#{def5},'%') </if> - and sts='Y' - </trim> - <if test=" sort == null or sort == ''.toString() "> order by sorts asc</if> - <if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if> -</select> - -<!-- 查询列表 字段采用or格式 --> -<select id="IntegrationTaskLogDetailsentity_list_or" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity"> - select - <include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" /> - from integration_task_log_details - <trim prefix="where" prefixOverrides="and"> - <if test="id != null and id != ''"> or id = #{id} </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> or task_linving_id = #{taskLinvingId} </if> - <if test="result != null and result != ''"> or result = #{result} </if> - <if test="queryCondition != null and queryCondition != ''"> or query_condition = #{queryCondition} </if> - <if test="rootAppPk != null and rootAppPk != ''"> or root_app_pk = #{rootAppPk} </if> - <if test="rootAppBill != null and rootAppBill != ''"> or root_app_bill = #{rootAppBill} </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> or root_app_new_data = #{rootAppNewData} </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> or new_transmit_info = #{newTransmitInfo} </if> - <if test="newPushDate != null"> or new_push_date = #{newPushDate} </if> - <if test="rootAppCode != null and rootAppCode != ''"> or root_app_code = #{rootAppCode} </if> - <if test="businessTime != null and businessTime != ''"> or business_time = #{businessTime} </if> - <if test="newPushState != null and newPushState != ''"> or new_push_state = #{newPushState} </if> - <if test="processor != null and processor != ''"> or processor = #{processor} </if> - <if test="processorTime != null and processorTime != ''"> or processor_time = #{processorTime} </if> - <if test="processorRemark != null and processorRemark != ''"> or processor_remark = #{processorRemark} </if> - <if test="newMetadata != null and newMetadata != ''"> or new_metadata = #{newMetadata} </if> - <if test="repairPust != null and repairPust != ''"> or repair_pust = #{repairPust} </if> - <if test="sorts != null"> or sorts = #{sorts} </if> - <if test="create_user_id != null and create_user_id != ''"> or create_user_id = #{create_user_id} </if> - <if test="create_time != null"> or create_time = #{create_time} </if> - <if test="modify_user_id != null and modify_user_id != ''"> or modify_user_id = #{modify_user_id} </if> - <if test="modify_time != null"> or modify_time = #{modify_time} </if> - <if test="sts != null and sts != ''"> or sts = #{sts} </if> - <if test="org_id != null and org_id != ''"> or org_id = #{org_id} </if> - <if test="companyId != null and companyId != ''"> or company_id = #{companyId} </if> - <if test="remark != null and remark != ''"> or remark = #{remark} </if> - <if test="def1 != null and def1 != ''"> or def1 = #{def1} </if> - <if test="def2 != null and def2 != ''"> or def2 = #{def2} </if> - <if test="def3 != null and def3 != ''"> or def3 = #{def3} </if> - <if test="def4 != null and def4 != ''"> or def4 = #{def4} </if> - <if test="def5 != null and def5 != ''"> or def5 = #{def5} </if> - and sts='Y' - </trim> - <if test=" sort == null or sort == ''.toString() "> order by sorts asc</if> - <if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if> -</select> - -<!--新增所有列--> -<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" > - insert into integration_task_log_details( - <trim suffix="" suffixOverrides=","> - <if test="id != null and id != ''"> id , </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> task_linving_id , </if> - <if test="result != null and result != ''"> result , </if> - <if test="queryCondition != null and queryCondition != ''"> query_condition , </if> - <if test="rootAppPk != null and rootAppPk != ''"> root_app_pk , </if> - <if test="rootAppBill != null and rootAppBill != ''"> root_app_bill , </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data , </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info , </if> - <if test="newPushDate != null"> new_push_date , </if> - <if test="rootAppCode != null and rootAppCode != ''"> root_app_code , </if> - <if test="businessTime != null and businessTime != ''"> business_time , </if> - <if test="newPushState != null and newPushState != ''"> new_push_state , </if> - <if test="processor != null and processor != ''"> processor , </if> - <if test="processorTime != null and processorTime != ''"> processor_time , </if> - <if test="processorRemark != null and processorRemark != ''"> processor_remark , </if> - <if test="newMetadata != null and newMetadata != ''"> new_metadata , </if> - <if test="repairPust != null and repairPust != ''"> repair_pust , </if> - <if test="sorts != null"> sorts , </if> - <if test="create_user_id != null and create_user_id != ''"> create_user_id , </if> - <if test="create_time != null"> create_time , </if> - <if test="modify_user_id != null and modify_user_id != ''"> modify_user_id , </if> - <if test="modify_time != null"> modify_time , </if> - <if test="sts != null and sts != ''"> sts , </if> - <if test="org_id != null and org_id != ''"> org_id , </if> - <if test="companyId != null and companyId != ''"> company_id , </if> - <if test="remark != null and remark != ''"> remark , </if> - <if test="def1 != null and def1 != ''"> def1 , </if> - <if test="def2 != null and def2 != ''"> def2 , </if> - <if test="def3 != null and def3 != ''"> def3 , </if> - <if test="def4 != null and def4 != ''"> def4 , </if> - <if test="def5 != null and def5 != ''"> def5 , </if> - <if test="sorts == null ">sorts,</if> - <if test="sts == null ">sts,</if> - </trim> - )values( - <trim suffix="" suffixOverrides=","> - <if test="id != null and id != ''"> #{id} ,</if> - <if test="taskLinvingId != null and taskLinvingId != ''"> #{taskLinvingId} ,</if> - <if test="result != null and result != ''"> #{result} ,</if> - <if test="queryCondition != null and queryCondition != ''"> #{queryCondition} ,</if> - <if test="rootAppPk != null and rootAppPk != ''"> #{rootAppPk} ,</if> - <if test="rootAppBill != null and rootAppBill != ''"> #{rootAppBill} ,</if> - <if test="rootAppNewData != null and rootAppNewData != ''"> #{rootAppNewData} ,</if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> #{newTransmitInfo} ,</if> - <if test="newPushDate != null"> #{newPushDate} ,</if> - <if test="rootAppCode != null and rootAppCode != ''"> #{rootAppCode} ,</if> - <if test="businessTime != null and businessTime != ''"> #{businessTime} ,</if> - <if test="newPushState != null and newPushState != ''"> #{newPushState} ,</if> - <if test="processor != null and processor != ''"> #{processor} ,</if> - <if test="processorTime != null and processorTime != ''"> #{processorTime} ,</if> - <if test="processorRemark != null and processorRemark != ''"> #{processorRemark} ,</if> - <if test="newMetadata != null and newMetadata != ''"> #{newMetadata} ,</if> - <if test="repairPust != null and repairPust != ''"> #{repairPust} ,</if> - <if test="sorts != null"> #{sorts} ,</if> - <if test="create_user_id != null and create_user_id != ''"> #{create_user_id} ,</if> - <if test="create_time != null"> #{create_time} ,</if> - <if test="modify_user_id != null and modify_user_id != ''"> #{modify_user_id} ,</if> - <if test="modify_time != null"> #{modify_time} ,</if> - <if test="sts != null and sts != ''"> #{sts} ,</if> - <if test="org_id != null and org_id != ''"> #{org_id} ,</if> - <if test="companyId != null and companyId != ''"> #{companyId} ,</if> - <if test="remark != null and remark != ''"> #{remark} ,</if> - <if test="def1 != null and def1 != ''"> #{def1} ,</if> - <if test="def2 != null and def2 != ''"> #{def2} ,</if> - <if test="def3 != null and def3 != ''"> #{def3} ,</if> - <if test="def4 != null and def4 != ''"> #{def4} ,</if> - <if test="def5 != null and def5 != ''"> #{def5} ,</if> - <if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from integration_task_log_details a WHERE a.sts = 'Y' ),</if> - <if test="sts == null ">'Y',</if> - </trim> - ) -</insert> -<!-- 批量新增 --> -<insert id="entityInsertBatch" > - insert into integration_task_log_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, root_app_code, business_time, new_push_state, processor, processor_time, processor_remark, new_metadata, repair_pust, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, remark, def1, def2, def3, def4, def5, sts) - values - <foreach collection="entities" item="entity" separator=","> - (#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.rootAppCode},#{entity.businessTime},#{entity.newPushState},#{entity.processor},#{entity.processorTime},#{entity.processorRemark},#{entity.newMetadata},#{entity.repairPust},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5}, 'Y') - </foreach> -</insert> -<!-- 批量新增或者修改--> -<insert id="entityInsertOrUpdateBatch" > - insert into integration_task_log_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, root_app_code, business_time, new_push_state, processor, processor_time, processor_remark, new_metadata, repair_pust, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, remark, def1, def2, def3, def4, def5) - values - <foreach collection="entities" item="entity" separator=","> - (#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.rootAppCode},#{entity.businessTime},#{entity.newPushState},#{entity.processor},#{entity.processorTime},#{entity.processorRemark},#{entity.newMetadata},#{entity.repairPust},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5}) - </foreach> - on duplicate key update - task_linving_id = values(task_linving_id), - result = values(result), - query_condition = values(query_condition), - root_app_pk = values(root_app_pk), - root_app_bill = values(root_app_bill), - root_app_new_data = values(root_app_new_data), - new_transmit_info = values(new_transmit_info), - new_push_date = values(new_push_date), - root_app_code = values(root_app_code), - business_time = values(business_time), - new_push_state = values(new_push_state), - processor = values(processor), - processor_time = values(processor_time), - processor_remark = values(processor_remark), - new_metadata = values(new_metadata), - repair_pust = values(repair_pust), - create_user_id = values(create_user_id), - create_time = values(create_time), - modify_user_id = values(modify_user_id), - modify_time = values(modify_time), - sts = values(sts), - org_id = values(org_id), - company_id = values(company_id), - remark = values(remark), - def1 = values(def1), - def2 = values(def2), - def3 = values(def3), - def4 = values(def4), - def5 = values(def5)</insert> -<!--通过主键修改方法--> -<update id="entity_update" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" > -update integration_task_log_details set -<trim suffix="" suffixOverrides=","> - <if test="taskLinvingId != null and taskLinvingId != ''"> task_linving_id = #{taskLinvingId},</if> - <if test="result != null and result != ''"> result = #{result},</if> - <if test="queryCondition != null and queryCondition != ''"> query_condition = #{queryCondition},</if> - <if test="rootAppPk != null and rootAppPk != ''"> root_app_pk = #{rootAppPk},</if> - <if test="rootAppBill != null and rootAppBill != ''"> root_app_bill = #{rootAppBill},</if> - <if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data = #{rootAppNewData},</if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info = #{newTransmitInfo},</if> - <if test="newPushDate != null"> new_push_date = #{newPushDate},</if> - <if test="rootAppCode != null and rootAppCode != ''"> root_app_code = #{rootAppCode},</if> - <if test="businessTime != null and businessTime != ''"> business_time = #{businessTime},</if> - <if test="newPushState != null and newPushState != ''"> new_push_state = #{newPushState},</if> - <if test="processor != null and processor != ''"> processor = #{processor},</if> - <if test="processorTime != null and processorTime != ''"> processor_time = #{processorTime},</if> - <if test="processorRemark != null and processorRemark != ''"> processor_remark = #{processorRemark},</if> - <if test="newMetadata != null and newMetadata != ''"> new_metadata = #{newMetadata},</if> - <if test="repairPust != null and repairPust != ''"> repair_pust = #{repairPust},</if> - <if test="create_user_id != null and create_user_id != ''"> create_user_id = #{create_user_id},</if> - <if test="create_time != null"> create_time = #{create_time},</if> - <if test="modify_user_id != null and modify_user_id != ''"> modify_user_id = #{modify_user_id},</if> - <if test="modify_time != null"> modify_time = #{modify_time},</if> - <if test="sts != null and sts != ''"> sts = #{sts},</if> - <if test="org_id != null and org_id != ''"> org_id = #{org_id},</if> - <if test="companyId != null and companyId != ''"> company_id = #{companyId},</if> - <if test="remark != null and remark != ''"> remark = #{remark},</if> - <if test="def1 != null and def1 != ''"> def1 = #{def1},</if> - <if test="def2 != null and def2 != ''"> def2 = #{def2},</if> - <if test="def3 != null and def3 != ''"> def3 = #{def3},</if> - <if test="def4 != null and def4 != ''"> def4 = #{def4},</if> - <if test="def5 != null and def5 != ''"> def5 = #{def5},</if> -</trim> -where id = #{id} -</update> -<!-- 逻辑删除 --> -<update id="entity_logicDelete" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" > -update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id} -where id = #{id} -</update> -<!-- 多条件逻辑删除 --> -<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" > -update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id} - <trim prefix="where" prefixOverrides="and"> - <if test="id != null and id != ''"> and id = #{id} </if> - <if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if> - <if test="result != null and result != ''"> and result = #{result} </if> - <if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if> - <if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if> - <if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if> - <if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if> - <if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if> - <if test="newPushDate != null"> and new_push_date = #{newPushDate} </if> - <if test="rootAppCode != null and rootAppCode != ''"> and root_app_code = #{rootAppCode} </if> - <if test="businessTime != null and businessTime != ''"> and business_time = #{businessTime} </if> - <if test="newPushState != null and newPushState != ''"> and new_push_state = #{newPushState} </if> - <if test="processor != null and processor != ''"> and processor = #{processor} </if> - <if test="processorTime != null and processorTime != ''"> and processor_time = #{processorTime} </if> - <if test="processorRemark != null and processorRemark != ''"> and processor_remark = #{processorRemark} </if> - <if test="newMetadata != null and newMetadata != ''"> and new_metadata = #{newMetadata} </if> - <if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if> - <if test="sorts != null"> and sorts = #{sorts} </if> - <if test="sts != null and sts != ''"> and sts = #{sts} </if> - <if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if> - <if test="remark != null and remark != ''"> and remark = #{remark} </if> - <if test="def1 != null and def1 != ''"> and def1 = #{def1} </if> - <if test="def2 != null and def2 != ''"> and def2 = #{def2} </if> - <if test="def3 != null and def3 != ''"> and def3 = #{def3} </if> - <if test="def4 != null and def4 != ''"> and def4 = #{def4} </if> - <if test="def5 != null and def5 != ''"> and def5 = #{def5} </if> - and sts='Y' - </trim> -</update> -<!--通过主键删除--> -<delete id="entity_delete"> - delete from integration_task_log_details where id = #{id} -</delete> - -</mapper> - diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/IIntegrationTaskLogDetailsService.java b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/IIntegrationTaskLogDetailsService.java deleted file mode 100644 index ca025460..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/IIntegrationTaskLogDetailsService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.hzya.frame.sysnew.integrationTaskLogDetails.service; - -import com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity; -import com.hzya.frame.basedao.service.IBaseService; -/** - * 集成任务-日志详情(IntegrationTaskLogDetails)表服务接口 - * - * @author makejava - * @since 2024-05-15 10:14:46 - */ -public interface IIntegrationTaskLogDetailsService extends IBaseService<IntegrationTaskLogDetailsEntity, String>{ -} diff --git a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/impl/IntegrationTaskLogDetailsServiceImpl.java b/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/impl/IntegrationTaskLogDetailsServiceImpl.java deleted file mode 100644 index 7e5f70e0..00000000 --- a/service/src/main/java/com/hzya/frame/sysnew/integrationTaskLogDetails/service/impl/IntegrationTaskLogDetailsServiceImpl.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.hzya.frame.sysnew.integrationTaskLogDetails.service.impl; - -import com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity; -import com.hzya.frame.sysnew.integrationTaskLogDetails.dao.IIntegrationTaskLogDetailsDao; -import com.hzya.frame.sysnew.integrationTaskLogDetails.service.IIntegrationTaskLogDetailsService; -import org.springframework.stereotype.Service; -import org.springframework.beans.factory.annotation.Autowired; -import javax.annotation.Resource; -import com.hzya.frame.basedao.service.impl.BaseService; -/** - * 集成任务-日志详情(IntegrationTaskLogDetails)表服务实现类 - * - * @author makejava - * @since 2024-05-15 10:14:46 - */ -@Service(value = "integrationTaskLogDetailsService") -public class IntegrationTaskLogDetailsServiceImpl extends BaseService<IntegrationTaskLogDetailsEntity, String> implements IIntegrationTaskLogDetailsService { - - private IIntegrationTaskLogDetailsDao integrationTaskLogDetailsDao; - - @Autowired - public void setIntegrationTaskLogDetailsDao(IIntegrationTaskLogDetailsDao dao) { - this.integrationTaskLogDetailsDao = dao; - this.dao = dao; - } -}