Merge branch 'dev' of http://192.168.2.237:3000/root/kangarooDataCenterV3 into lvleigang
This commit is contained in:
commit
a201e2193a
|
@ -69,6 +69,12 @@
|
||||||
<profile.active>llg</profile.active>
|
<profile.active>llg</profile.active>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>yuqh</id> <!--于群辉-->
|
||||||
|
<properties>
|
||||||
|
<profile.active>yuqh</profile.active>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>xel</id> <!--相二林-->
|
<id>xel</id> <!--相二林-->
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -13,12 +13,11 @@ import org.springframework.context.annotation.Import;
|
||||||
import org.springframework.context.annotation.ImportResource;
|
import org.springframework.context.annotation.ImportResource;
|
||||||
|
|
||||||
@EnableCaching
|
@EnableCaching
|
||||||
@ServletComponentScan(basePackages = {"com.hzya.frame"})
|
@ServletComponentScan(basePackages = {"com.hzya.frame" ,"org.jeecg.modules.jmreport","com.jimureport.demo"})
|
||||||
@ImportResource(locations = {"classpath:cfgHome/**/spring/spring-*.xml"})
|
@ImportResource(locations = {"classpath:cfgHome/**/spring/spring-*.xml"})
|
||||||
@Import({DruidDynamicDataSourceConfiguration.class, DynamicDataSourceCreatorAutoConfiguration.class, DynamicDataSourceAssistConfiguration.class})
|
@Import({DruidDynamicDataSourceConfiguration.class, DynamicDataSourceCreatorAutoConfiguration.class, DynamicDataSourceAssistConfiguration.class})
|
||||||
|
|
||||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
|
||||||
//@SpringBootApplication(scanBasePackages = {"com.hzya.frame"})
|
|
||||||
public class WebappApplication {
|
public class WebappApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#######################本地环境#######################
|
||||||
|
logging:
|
||||||
|
#日志级别 指定目录级别
|
||||||
|
level:
|
||||||
|
root: info
|
||||||
|
encodings: UTF-8
|
||||||
|
file:
|
||||||
|
# 日志保存路径
|
||||||
|
path: E:\yongansystem\log
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
dynamic:
|
||||||
|
datasource:
|
||||||
|
master:
|
||||||
|
url: jdbc:mysql://hzya.ufyct.com:9096/businesscenternew?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
|
||||||
|
username: root
|
||||||
|
password: bd993088e8a7c3dc5f44441617f9b4bf
|
||||||
|
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
||||||
|
savefile:
|
||||||
|
# 文件保存路径
|
||||||
|
path: E:\yongansystem\log
|
||||||
|
ax:
|
||||||
|
url: http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface
|
|
@ -72,6 +72,34 @@ mybatis-plus:
|
||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
id-type: auto # 主键策略
|
id-type: auto # 主键策略
|
||||||
ax:
|
# 积木报表工具
|
||||||
url:
|
#JimuReport[minidao配置]
|
||||||
|
minidao :
|
||||||
|
base-package: org.jeecg.modules.jmreport.desreport.dao*
|
||||||
|
db-type: mysql
|
||||||
|
#JimuReport[上传配置]
|
||||||
|
jeecg :
|
||||||
|
jmreport:
|
||||||
|
# 自动保存
|
||||||
|
autoSave: true
|
||||||
|
# 单位毫秒 默认5*60*1000
|
||||||
|
interval: 10000
|
||||||
|
# local|minio|alioss
|
||||||
|
uploadType: local
|
||||||
|
# local
|
||||||
|
path :
|
||||||
|
#文件路径
|
||||||
|
upload: D:\images
|
||||||
|
# alioss
|
||||||
|
oss:
|
||||||
|
endpoint: oss-cn-beijing.aliyuncs.com
|
||||||
|
accessKey: ??
|
||||||
|
secretKey: ??
|
||||||
|
staticDomain: ??
|
||||||
|
bucketName: ??
|
||||||
|
# minio
|
||||||
|
minio:
|
||||||
|
minio_url: http://minio.jeecg.com
|
||||||
|
minio_name: ??
|
||||||
|
minio_pass: ??
|
||||||
|
bucketName: ??
|
||||||
|
|
46
pom.xml
46
pom.xml
|
@ -59,7 +59,9 @@
|
||||||
<unit.version>4.12</unit.version>
|
<unit.version>4.12</unit.version>
|
||||||
<quartz.version>2.3.0</quartz.version>
|
<quartz.version>2.3.0</quartz.version>
|
||||||
<org.springframework.version>5.3.23</org.springframework.version>
|
<org.springframework.version>5.3.23</org.springframework.version>
|
||||||
|
<minio.version>8.0.3</minio.version>
|
||||||
|
<postgresql.version>42.2.6</postgresql.version>
|
||||||
|
<jimureport.version>1.7.4</jimureport.version>
|
||||||
</properties>
|
</properties>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
@ -326,11 +328,34 @@
|
||||||
<version>1.6.1</version>
|
<version>1.6.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 缓存-->
|
<!-- 缓存-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-cache</artifactId>
|
<artifactId>spring-boot-starter-cache</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- JimuReport 积木报表 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jeecgframework.jimureport</groupId>
|
||||||
|
<artifactId>jimureport-spring-boot-starter</artifactId>
|
||||||
|
<version>${jimureport.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- minio oss-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.minio</groupId>
|
||||||
|
<artifactId>minio</artifactId>
|
||||||
|
<version>${minio.version}</version>
|
||||||
|
<optional>true</optional>
|
||||||
|
</dependency>
|
||||||
|
<!-- postgresql驱动 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
<version>${postgresql.version}</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -419,6 +444,23 @@
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>aliyun</id>
|
||||||
|
<name>aliyun Repository</name>
|
||||||
|
<url>https://maven.aliyun.com/repository/public</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>jeecg</id>
|
||||||
|
<name>jeecg Repository</name>
|
||||||
|
<url>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -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> {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -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{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -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>{
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
package com.hzya.frame.sysnew.integtationTaskLivingDetails.dao;
|
||||||
|
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity;
|
||||||
|
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 集成任务-实例详情(integration_task_living_details: table)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2024-05-15 14:06:30
|
||||||
|
*/
|
||||||
|
public interface IIntegrationTaskLivingDetailsDao extends IBaseDao<IntegrationTaskLivingDetailsEntity, String> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
package com.hzya.frame.sysnew.integtationTaskLivingDetails.dao.impl;
|
||||||
|
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity;
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.dao.IIntegrationTaskLivingDetailsDao;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
||||||
|
/**
|
||||||
|
* 集成任务-实例详情(IntegrationTaskLivingDetails)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2024-05-15 14:06:34
|
||||||
|
*/
|
||||||
|
@Repository(value = "IntegrationTaskLivingDetailsDaoImpl")
|
||||||
|
public class IntegrationTaskLivingDetailsDaoImpl extends MybatisGenericDao<IntegrationTaskLivingDetailsEntity, String> implements IIntegrationTaskLivingDetailsDao{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package com.hzya.frame.sysnew.integrationTaskLogDetails.entity;
|
package com.hzya.frame.sysnew.integtationTaskLivingDetails.entity;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import com.hzya.frame.web.entity.BaseEntity;
|
import com.hzya.frame.web.entity.BaseEntity;
|
||||||
/**
|
/**
|
||||||
* 集成任务-日志详情(IntegrationTaskLogDetails)实体类
|
* 集成任务-实例详情(IntegrationTaskLivingDetails)实体类
|
||||||
*
|
*
|
||||||
* @author makejava
|
* @author makejava
|
||||||
* @since 2024-05-15 10:14:46
|
* @since 2024-05-15 14:06:41
|
||||||
*/
|
*/
|
||||||
public class IntegrationTaskLogDetailsEntity extends BaseEntity {
|
public class IntegrationTaskLivingDetailsEntity extends BaseEntity {
|
||||||
|
|
||||||
/** 集成任务-实例_id */
|
/** 集成任务-实例_id */
|
||||||
private String taskLinvingId;
|
private String taskLinvingId;
|
||||||
|
@ -26,24 +26,28 @@ public class IntegrationTaskLogDetailsEntity extends BaseEntity {
|
||||||
private String newTransmitInfo;
|
private String newTransmitInfo;
|
||||||
/** 最新推送时间 */
|
/** 最新推送时间 */
|
||||||
private Date newPushDate;
|
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不是) */
|
/** 是否补推(Y是N不是) */
|
||||||
private String repairPust;
|
private String repairPust;
|
||||||
/** 公司id */
|
/** 场景id */
|
||||||
private String companyId;
|
private String senceId;
|
||||||
|
/** 最新推送状态 */
|
||||||
|
private String newState;
|
||||||
|
/** 单据业务日期 */
|
||||||
|
private String businessDate;
|
||||||
|
/** 插件id */
|
||||||
|
private String pluginId;
|
||||||
|
/** 处理时间 */
|
||||||
|
private Date processingTime;
|
||||||
|
/** 处理备注 */
|
||||||
|
private String processingRemarks;
|
||||||
|
/** 处理⼈名称 */
|
||||||
|
private String processorName;
|
||||||
|
/** 处理⼈ */
|
||||||
|
private String processor;
|
||||||
|
/** 下游系统单号 */
|
||||||
|
private String newSystemNumber;
|
||||||
|
/** 下游系统主键 */
|
||||||
|
private String newSystemPrimary;
|
||||||
/** 备注 */
|
/** 备注 */
|
||||||
private String remark;
|
private String remark;
|
||||||
/** 扩展1 */
|
/** 扩展1 */
|
||||||
|
@ -122,28 +126,68 @@ public class IntegrationTaskLogDetailsEntity extends BaseEntity {
|
||||||
this.newPushDate = newPushDate;
|
this.newPushDate = newPushDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getRootAppCode() {
|
public String getRepairPust() {
|
||||||
return rootAppCode;
|
return repairPust;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setRootAppCode(String rootAppCode) {
|
public void setRepairPust(String repairPust) {
|
||||||
this.rootAppCode = rootAppCode;
|
this.repairPust = repairPust;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getBusinessTime() {
|
public String getSenceId() {
|
||||||
return businessTime;
|
return senceId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBusinessTime(String businessTime) {
|
public void setSenceId(String senceId) {
|
||||||
this.businessTime = businessTime;
|
this.senceId = senceId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getNewPushState() {
|
public String getNewState() {
|
||||||
return newPushState;
|
return newState;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNewPushState(String newPushState) {
|
public void setNewState(String newState) {
|
||||||
this.newPushState = newPushState;
|
this.newState = newState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessDate() {
|
||||||
|
return businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessDate(String businessDate) {
|
||||||
|
this.businessDate = businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPluginId() {
|
||||||
|
return pluginId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPluginId(String pluginId) {
|
||||||
|
this.pluginId = pluginId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getProcessingTime() {
|
||||||
|
return processingTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessingTime(Date processingTime) {
|
||||||
|
this.processingTime = processingTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProcessingRemarks() {
|
||||||
|
return processingRemarks;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessingRemarks(String processingRemarks) {
|
||||||
|
this.processingRemarks = processingRemarks;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProcessorName() {
|
||||||
|
return processorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessorName(String processorName) {
|
||||||
|
this.processorName = processorName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getProcessor() {
|
public String getProcessor() {
|
||||||
|
@ -154,44 +198,20 @@ public class IntegrationTaskLogDetailsEntity extends BaseEntity {
|
||||||
this.processor = processor;
|
this.processor = processor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getProcessorTime() {
|
public String getNewSystemNumber() {
|
||||||
return processorTime;
|
return newSystemNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProcessorTime(String processorTime) {
|
public void setNewSystemNumber(String newSystemNumber) {
|
||||||
this.processorTime = processorTime;
|
this.newSystemNumber = newSystemNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getProcessorRemark() {
|
public String getNewSystemPrimary() {
|
||||||
return processorRemark;
|
return newSystemPrimary;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProcessorRemark(String processorRemark) {
|
public void setNewSystemPrimary(String newSystemPrimary) {
|
||||||
this.processorRemark = processorRemark;
|
this.newSystemPrimary = newSystemPrimary;
|
||||||
}
|
|
||||||
|
|
||||||
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() {
|
public String getRemark() {
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!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">
|
<mapper namespace="com.hzya.frame.sysnew.integtationTaskLivingDetails.dao.impl.IntegrationTaskLivingDetailsDaoImpl">
|
||||||
|
|
||||||
<resultMap id="get-IntegrationTaskLogDetailsEntity-result" type="com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" >
|
<resultMap id="get-IntegrationTaskLivingDetailsEntity-result" type="com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity" >
|
||||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
<result property="taskLinvingId" column="task_linving_id" jdbcType="VARCHAR"/>
|
<result property="taskLinvingId" column="task_linving_id" jdbcType="VARCHAR"/>
|
||||||
<result property="result" column="result" jdbcType="VARCHAR"/>
|
<result property="result" column="result" jdbcType="VARCHAR"/>
|
||||||
|
@ -12,22 +12,23 @@
|
||||||
<result property="rootAppNewData" column="root_app_new_data" jdbcType="VARCHAR"/>
|
<result property="rootAppNewData" column="root_app_new_data" jdbcType="VARCHAR"/>
|
||||||
<result property="newTransmitInfo" column="new_transmit_info" jdbcType="VARCHAR"/>
|
<result property="newTransmitInfo" column="new_transmit_info" jdbcType="VARCHAR"/>
|
||||||
<result property="newPushDate" column="new_push_date" jdbcType="TIMESTAMP"/>
|
<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="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="create_time" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
<result property="modify_user_id" column="modify_user_id" jdbcType="VARCHAR"/>
|
<result property="create_user_id" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
<result property="modify_time" column="modify_time" jdbcType="TIMESTAMP"/>
|
<result property="modify_time" column="modify_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="modify_user_id" column="modify_user_id" jdbcType="VARCHAR"/>
|
||||||
<result property="sts" column="sts" jdbcType="VARCHAR"/>
|
<result property="sts" column="sts" jdbcType="VARCHAR"/>
|
||||||
<result property="org_id" column="org_id" jdbcType="VARCHAR"/>
|
<result property="sorts" column="sorts" jdbcType="INTEGER"/>
|
||||||
<result property="companyId" column="company_id" jdbcType="VARCHAR"/>
|
<result property="senceId" column="sence_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="newState" column="new_state" jdbcType="VARCHAR"/>
|
||||||
|
<result property="businessDate" column="business_date" jdbcType="VARCHAR"/>
|
||||||
|
<result property="pluginId" column="plugin_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processingTime" column="processing_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="processingRemarks" column="processing_remarks" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processorName" column="processor_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processor" column="processor" jdbcType="VARCHAR"/>
|
||||||
|
<result property="newSystemNumber" column="new_system_number" jdbcType="VARCHAR"/>
|
||||||
|
<result property="newSystemPrimary" column="new_system_primary" jdbcType="VARCHAR"/>
|
||||||
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
<result property="def1" column="def1" jdbcType="VARCHAR"/>
|
<result property="def1" column="def1" jdbcType="VARCHAR"/>
|
||||||
<result property="def2" column="def2" jdbcType="VARCHAR"/>
|
<result property="def2" column="def2" jdbcType="VARCHAR"/>
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
<result property="def5" column="def5" jdbcType="VARCHAR"/>
|
<result property="def5" column="def5" jdbcType="VARCHAR"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<!-- 查询的字段-->
|
<!-- 查询的字段-->
|
||||||
<sql id = "IntegrationTaskLogDetailsEntity_Base_Column_List">
|
<sql id = "IntegrationTaskLivingDetailsEntity_Base_Column_List">
|
||||||
id
|
id
|
||||||
,task_linving_id
|
,task_linving_id
|
||||||
,result
|
,result
|
||||||
|
@ -46,22 +47,23 @@
|
||||||
,root_app_new_data
|
,root_app_new_data
|
||||||
,new_transmit_info
|
,new_transmit_info
|
||||||
,new_push_date
|
,new_push_date
|
||||||
,root_app_code
|
|
||||||
,business_time
|
|
||||||
,new_push_state
|
|
||||||
,processor
|
|
||||||
,processor_time
|
|
||||||
,processor_remark
|
|
||||||
,new_metadata
|
|
||||||
,repair_pust
|
,repair_pust
|
||||||
,sorts
|
|
||||||
,create_user_id
|
|
||||||
,create_time
|
,create_time
|
||||||
,modify_user_id
|
,create_user_id
|
||||||
,modify_time
|
,modify_time
|
||||||
|
,modify_user_id
|
||||||
,sts
|
,sts
|
||||||
,org_id
|
,sorts
|
||||||
,company_id
|
,sence_id
|
||||||
|
,new_state
|
||||||
|
,business_date
|
||||||
|
,plugin_id
|
||||||
|
,processing_time
|
||||||
|
,processing_remarks
|
||||||
|
,processor_name
|
||||||
|
,processor
|
||||||
|
,new_system_number
|
||||||
|
,new_system_primary
|
||||||
,remark
|
,remark
|
||||||
,def1
|
,def1
|
||||||
,def2
|
,def2
|
||||||
|
@ -70,10 +72,10 @@
|
||||||
,def5
|
,def5
|
||||||
</sql>
|
</sql>
|
||||||
<!-- 查询 采用==查询 -->
|
<!-- 查询 采用==查询 -->
|
||||||
<select id="entity_list_base" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity">
|
<select id="entity_list_base" resultMap="get-IntegrationTaskLivingDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" />
|
<include refid="IntegrationTaskLivingDetailsEntity_Base_Column_List" />
|
||||||
from integration_task_log_details
|
from integration_task_living_details
|
||||||
<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,22 +86,23 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </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="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </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="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="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="create_user_id != null and create_user_id != ''"> and create_user_id = #{create_user_id} </if>
|
||||||
<if test="modify_time != null"> and modify_time = #{modify_time} </if>
|
<if test="modify_time != null"> and modify_time = #{modify_time} </if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id = #{modify_user_id} </if>
|
||||||
<if test="sts != null and sts != ''"> and sts = #{sts} </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="sorts != null"> and sorts = #{sorts} </if>
|
||||||
<if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if>
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </if>
|
||||||
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
||||||
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
||||||
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
||||||
|
@ -113,8 +116,8 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询符合条件的数量 -->
|
<!-- 查询符合条件的数量 -->
|
||||||
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity">
|
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity">
|
||||||
select count(1) from integration_task_log_details
|
select count(1) from integration_task_living_details
|
||||||
<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>
|
||||||
|
@ -125,22 +128,23 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </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="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </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="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="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="create_user_id != null and create_user_id != ''"> and create_user_id = #{create_user_id} </if>
|
||||||
<if test="modify_time != null"> and modify_time = #{modify_time} </if>
|
<if test="modify_time != null"> and modify_time = #{modify_time} </if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id = #{modify_user_id} </if>
|
||||||
<if test="sts != null and sts != ''"> and sts = #{sts} </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="sorts != null"> and sorts = #{sorts} </if>
|
||||||
<if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if>
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </if>
|
||||||
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
||||||
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
||||||
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
||||||
|
@ -154,10 +158,10 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 分页查询列表 采用like格式 -->
|
<!-- 分页查询列表 采用like格式 -->
|
||||||
<select id="entity_list_like" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity">
|
<select id="entity_list_like" resultMap="get-IntegrationTaskLivingDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" />
|
<include refid="IntegrationTaskLivingDetailsEntity_Base_Column_List" />
|
||||||
from integration_task_log_details
|
from integration_task_living_details
|
||||||
<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 concat('%',#{taskLinvingId},'%') </if>
|
<if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id like concat('%',#{taskLinvingId},'%') </if>
|
||||||
|
@ -168,22 +172,23 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data like concat('%',#{rootAppNewData},'%') </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="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="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="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="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="create_user_id != null and create_user_id != ''"> and create_user_id like concat('%',#{create_user_id},'%') </if>
|
||||||
<if test="modify_time != null"> and modify_time like concat('%',#{modify_time},'%') </if>
|
<if test="modify_time != null"> and modify_time like concat('%',#{modify_time},'%') </if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id like concat('%',#{modify_user_id},'%') </if>
|
||||||
<if test="sts != null and sts != ''"> and sts like concat('%',#{sts},'%') </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="sorts != null"> and sorts like concat('%',#{sorts},'%') </if>
|
||||||
<if test="companyId != null and companyId != ''"> and company_id like concat('%',#{companyId},'%') </if>
|
<if test="senceId != null and senceId != ''"> and sence_id like concat('%',#{senceId},'%') </if>
|
||||||
|
<if test="newState != null and newState != ''"> and new_state like concat('%',#{newState},'%') </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> and business_date like concat('%',#{businessDate},'%') </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id like concat('%',#{pluginId},'%') </if>
|
||||||
|
<if test="processingTime != null"> and processing_time like concat('%',#{processingTime},'%') </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks like concat('%',#{processingRemarks},'%') </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name like concat('%',#{processorName},'%') </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor like concat('%',#{processor},'%') </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number like concat('%',#{newSystemNumber},'%') </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary like concat('%',#{newSystemPrimary},'%') </if>
|
||||||
<if test="remark != null and remark != ''"> and remark like concat('%',#{remark},'%') </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="def1 != null and def1 != ''"> and def1 like concat('%',#{def1},'%') </if>
|
||||||
<if test="def2 != null and def2 != ''"> and def2 like concat('%',#{def2},'%') </if>
|
<if test="def2 != null and def2 != ''"> and def2 like concat('%',#{def2},'%') </if>
|
||||||
|
@ -197,10 +202,10 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询列表 字段采用or格式 -->
|
<!-- 查询列表 字段采用or格式 -->
|
||||||
<select id="IntegrationTaskLogDetailsentity_list_or" resultMap="get-IntegrationTaskLogDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity">
|
<select id="IntegrationTaskLivingDetailsentity_list_or" resultMap="get-IntegrationTaskLivingDetailsEntity-result" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity">
|
||||||
select
|
select
|
||||||
<include refid="IntegrationTaskLogDetailsEntity_Base_Column_List" />
|
<include refid="IntegrationTaskLivingDetailsEntity_Base_Column_List" />
|
||||||
from integration_task_log_details
|
from integration_task_living_details
|
||||||
<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>
|
||||||
|
@ -211,22 +216,23 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> or root_app_new_data = #{rootAppNewData} </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="newTransmitInfo != null and newTransmitInfo != ''"> or new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="newPushDate != null"> or new_push_date = #{newPushDate} </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="repairPust != null and repairPust != ''"> or repair_pust = #{repairPust} </if>
|
||||||
<if test="sorts != null"> or sorts = #{sorts} </if>
|
<if test="create_time != null"> or create_time = #{create_time} </if>
|
||||||
<if test="create_user_id != null and create_user_id != ''"> or create_user_id = #{create_user_id} </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="modify_time != null"> or modify_time = #{modify_time} </if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> or modify_user_id = #{modify_user_id} </if>
|
||||||
<if test="sts != null and sts != ''"> or sts = #{sts} </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="sorts != null"> or sorts = #{sorts} </if>
|
||||||
<if test="companyId != null and companyId != ''"> or company_id = #{companyId} </if>
|
<if test="senceId != null and senceId != ''"> or sence_id = #{senceId} </if>
|
||||||
|
<if test="newState != null and newState != ''"> or new_state = #{newState} </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> or business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> or plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> or processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> or processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> or processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> or processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> or new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> or new_system_primary = #{newSystemPrimary} </if>
|
||||||
<if test="remark != null and remark != ''"> or remark = #{remark} </if>
|
<if test="remark != null and remark != ''"> or remark = #{remark} </if>
|
||||||
<if test="def1 != null and def1 != ''"> or def1 = #{def1} </if>
|
<if test="def1 != null and def1 != ''"> or def1 = #{def1} </if>
|
||||||
<if test="def2 != null and def2 != ''"> or def2 = #{def2} </if>
|
<if test="def2 != null and def2 != ''"> or def2 = #{def2} </if>
|
||||||
|
@ -240,8 +246,8 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!--新增所有列-->
|
<!--新增所有列-->
|
||||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" >
|
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity" >
|
||||||
insert into integration_task_log_details(
|
insert into integration_task_living_details(
|
||||||
<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>
|
||||||
|
@ -252,22 +258,23 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data , </if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data , </if>
|
||||||
<if test="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info , </if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info , </if>
|
||||||
<if test="newPushDate != null"> new_push_date , </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="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="create_time != null"> create_time , </if>
|
||||||
<if test="modify_user_id != null and modify_user_id != ''"> modify_user_id , </if>
|
<if test="create_user_id != null and create_user_id != ''"> create_user_id , </if>
|
||||||
<if test="modify_time != null"> modify_time , </if>
|
<if test="modify_time != null"> modify_time , </if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> modify_user_id , </if>
|
||||||
<if test="sts != null and sts != ''"> sts , </if>
|
<if test="sts != null and sts != ''"> sts , </if>
|
||||||
<if test="org_id != null and org_id != ''"> org_id , </if>
|
<if test="sorts != null"> sorts , </if>
|
||||||
<if test="companyId != null and companyId != ''"> company_id , </if>
|
<if test="senceId != null and senceId != ''"> sence_id , </if>
|
||||||
|
<if test="newState != null and newState != ''"> new_state , </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> business_date , </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> plugin_id , </if>
|
||||||
|
<if test="processingTime != null"> processing_time , </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> processing_remarks , </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> processor_name , </if>
|
||||||
|
<if test="processor != null and processor != ''"> processor , </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> new_system_number , </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> new_system_primary , </if>
|
||||||
<if test="remark != null and remark != ''"> remark , </if>
|
<if test="remark != null and remark != ''"> remark , </if>
|
||||||
<if test="def1 != null and def1 != ''"> def1 , </if>
|
<if test="def1 != null and def1 != ''"> def1 , </if>
|
||||||
<if test="def2 != null and def2 != ''"> def2 , </if>
|
<if test="def2 != null and def2 != ''"> def2 , </if>
|
||||||
|
@ -288,47 +295,48 @@
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> #{rootAppNewData} ,</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> #{rootAppNewData} ,</if>
|
||||||
<if test="newTransmitInfo != null and newTransmitInfo != ''"> #{newTransmitInfo} ,</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> #{newTransmitInfo} ,</if>
|
||||||
<if test="newPushDate != null"> #{newPushDate} ,</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="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="create_time != null"> #{create_time} ,</if>
|
||||||
<if test="modify_user_id != null and modify_user_id != ''"> #{modify_user_id} ,</if>
|
<if test="create_user_id != null and create_user_id != ''"> #{create_user_id} ,</if>
|
||||||
<if test="modify_time != null"> #{modify_time} ,</if>
|
<if test="modify_time != null"> #{modify_time} ,</if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> #{modify_user_id} ,</if>
|
||||||
<if test="sts != null and sts != ''"> #{sts} ,</if>
|
<if test="sts != null and sts != ''"> #{sts} ,</if>
|
||||||
<if test="org_id != null and org_id != ''"> #{org_id} ,</if>
|
<if test="sorts != null"> #{sorts} ,</if>
|
||||||
<if test="companyId != null and companyId != ''"> #{companyId} ,</if>
|
<if test="senceId != null and senceId != ''"> #{senceId} ,</if>
|
||||||
|
<if test="newState != null and newState != ''"> #{newState} ,</if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> #{businessDate} ,</if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> #{pluginId} ,</if>
|
||||||
|
<if test="processingTime != null"> #{processingTime} ,</if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> #{processingRemarks} ,</if>
|
||||||
|
<if test="processorName != null and processorName != ''"> #{processorName} ,</if>
|
||||||
|
<if test="processor != null and processor != ''"> #{processor} ,</if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> #{newSystemNumber} ,</if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> #{newSystemPrimary} ,</if>
|
||||||
<if test="remark != null and remark != ''"> #{remark} ,</if>
|
<if test="remark != null and remark != ''"> #{remark} ,</if>
|
||||||
<if test="def1 != null and def1 != ''"> #{def1} ,</if>
|
<if test="def1 != null and def1 != ''"> #{def1} ,</if>
|
||||||
<if test="def2 != null and def2 != ''"> #{def2} ,</if>
|
<if test="def2 != null and def2 != ''"> #{def2} ,</if>
|
||||||
<if test="def3 != null and def3 != ''"> #{def3} ,</if>
|
<if test="def3 != null and def3 != ''"> #{def3} ,</if>
|
||||||
<if test="def4 != null and def4 != ''"> #{def4} ,</if>
|
<if test="def4 != null and def4 != ''"> #{def4} ,</if>
|
||||||
<if test="def5 != null and def5 != ''"> #{def5} ,</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="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from integration_task_living_details a WHERE a.sts = 'Y' ),</if>
|
||||||
<if test="sts == null ">'Y',</if>
|
<if test="sts == null ">'Y',</if>
|
||||||
</trim>
|
</trim>
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<!-- 批量新增 -->
|
<!-- 批量新增 -->
|
||||||
<insert id="entityInsertBatch" >
|
<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)
|
insert into integration_task_living_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, repair_pust, create_time, create_user_id, modify_time, modify_user_id, sts, sence_id, new_state, business_date, plugin_id, processing_time, processing_remarks, processor_name, processor, new_system_number, new_system_primary, remark, def1, def2, def3, def4, def5, sts)
|
||||||
values
|
values
|
||||||
<foreach collection="entities" item="entity" separator=",">
|
<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')
|
(#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.repairPust},#{entity.create_time},#{entity.create_user_id},#{entity.modify_time},#{entity.modify_user_id},#{entity.sts},#{entity.senceId},#{entity.newState},#{entity.businessDate},#{entity.pluginId},#{entity.processingTime},#{entity.processingRemarks},#{entity.processorName},#{entity.processor},#{entity.newSystemNumber},#{entity.newSystemPrimary},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5}, 'Y')
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
<!-- 批量新增或者修改-->
|
<!-- 批量新增或者修改-->
|
||||||
<insert id="entityInsertOrUpdateBatch" >
|
<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)
|
insert into integration_task_living_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, repair_pust, create_time, create_user_id, modify_time, modify_user_id, sts, sence_id, new_state, business_date, plugin_id, processing_time, processing_remarks, processor_name, processor, new_system_number, new_system_primary, remark, def1, def2, def3, def4, def5)
|
||||||
values
|
values
|
||||||
<foreach collection="entities" item="entity" separator=",">
|
<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})
|
(#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.repairPust},#{entity.create_time},#{entity.create_user_id},#{entity.modify_time},#{entity.modify_user_id},#{entity.sts},#{entity.senceId},#{entity.newState},#{entity.businessDate},#{entity.pluginId},#{entity.processingTime},#{entity.processingRemarks},#{entity.processorName},#{entity.processor},#{entity.newSystemNumber},#{entity.newSystemPrimary},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5})
|
||||||
</foreach>
|
</foreach>
|
||||||
on duplicate key update
|
on duplicate key update
|
||||||
task_linving_id = values(task_linving_id),
|
task_linving_id = values(task_linving_id),
|
||||||
|
@ -339,21 +347,22 @@
|
||||||
root_app_new_data = values(root_app_new_data),
|
root_app_new_data = values(root_app_new_data),
|
||||||
new_transmit_info = values(new_transmit_info),
|
new_transmit_info = values(new_transmit_info),
|
||||||
new_push_date = values(new_push_date),
|
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),
|
repair_pust = values(repair_pust),
|
||||||
create_user_id = values(create_user_id),
|
|
||||||
create_time = values(create_time),
|
create_time = values(create_time),
|
||||||
modify_user_id = values(modify_user_id),
|
create_user_id = values(create_user_id),
|
||||||
modify_time = values(modify_time),
|
modify_time = values(modify_time),
|
||||||
|
modify_user_id = values(modify_user_id),
|
||||||
sts = values(sts),
|
sts = values(sts),
|
||||||
org_id = values(org_id),
|
sence_id = values(sence_id),
|
||||||
company_id = values(company_id),
|
new_state = values(new_state),
|
||||||
|
business_date = values(business_date),
|
||||||
|
plugin_id = values(plugin_id),
|
||||||
|
processing_time = values(processing_time),
|
||||||
|
processing_remarks = values(processing_remarks),
|
||||||
|
processor_name = values(processor_name),
|
||||||
|
processor = values(processor),
|
||||||
|
new_system_number = values(new_system_number),
|
||||||
|
new_system_primary = values(new_system_primary),
|
||||||
remark = values(remark),
|
remark = values(remark),
|
||||||
def1 = values(def1),
|
def1 = values(def1),
|
||||||
def2 = values(def2),
|
def2 = values(def2),
|
||||||
|
@ -361,8 +370,8 @@
|
||||||
def4 = values(def4),
|
def4 = values(def4),
|
||||||
def5 = values(def5)</insert>
|
def5 = values(def5)</insert>
|
||||||
<!--通过主键修改方法-->
|
<!--通过主键修改方法-->
|
||||||
<update id="entity_update" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" >
|
<update id="entity_update" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity" >
|
||||||
update integration_task_log_details set
|
update integration_task_living_details 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="result != null and result != ''"> result = #{result},</if>
|
<if test="result != null and result != ''"> result = #{result},</if>
|
||||||
|
@ -372,21 +381,22 @@ update integration_task_log_details set
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data = #{rootAppNewData},</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="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info = #{newTransmitInfo},</if>
|
||||||
<if test="newPushDate != null"> new_push_date = #{newPushDate},</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="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="create_time != null"> create_time = #{create_time},</if>
|
<if test="create_user_id != null and create_user_id != ''"> create_user_id = #{create_user_id},</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="modify_time != null"> modify_time = #{modify_time},</if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> modify_user_id = #{modify_user_id},</if>
|
||||||
<if test="sts != null and sts != ''"> sts = #{sts},</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="senceId != null and senceId != ''"> sence_id = #{senceId},</if>
|
||||||
<if test="companyId != null and companyId != ''"> company_id = #{companyId},</if>
|
<if test="newState != null and newState != ''"> new_state = #{newState},</if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> business_date = #{businessDate},</if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> plugin_id = #{pluginId},</if>
|
||||||
|
<if test="processingTime != null"> processing_time = #{processingTime},</if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> processing_remarks = #{processingRemarks},</if>
|
||||||
|
<if test="processorName != null and processorName != ''"> processor_name = #{processorName},</if>
|
||||||
|
<if test="processor != null and processor != ''"> processor = #{processor},</if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> new_system_number = #{newSystemNumber},</if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> new_system_primary = #{newSystemPrimary},</if>
|
||||||
<if test="remark != null and remark != ''"> remark = #{remark},</if>
|
<if test="remark != null and remark != ''"> remark = #{remark},</if>
|
||||||
<if test="def1 != null and def1 != ''"> def1 = #{def1},</if>
|
<if test="def1 != null and def1 != ''"> def1 = #{def1},</if>
|
||||||
<if test="def2 != null and def2 != ''"> def2 = #{def2},</if>
|
<if test="def2 != null and def2 != ''"> def2 = #{def2},</if>
|
||||||
|
@ -397,13 +407,13 @@ update integration_task_log_details set
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<!-- 逻辑删除 -->
|
<!-- 逻辑删除 -->
|
||||||
<update id="entity_logicDelete" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" >
|
<update id="entity_logicDelete" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity" >
|
||||||
update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
update integration_task_living_details 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" parameterType = "com.hzya.frame.sysnew.integrationTaskLogDetails.entity.IntegrationTaskLogDetailsEntity" >
|
<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity" >
|
||||||
update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
update integration_task_living_details set sts= 'N' ,modify_time = #{modify_time},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>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if>
|
<if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if>
|
||||||
|
@ -414,17 +424,19 @@ update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},
|
||||||
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </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="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </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="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="sts != null and sts != ''"> and sts = #{sts} </if>
|
||||||
<if test="companyId != null and companyId != ''"> and company_id = #{companyId} </if>
|
<if test="sorts != null"> and sorts = #{sorts} </if>
|
||||||
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </if>
|
||||||
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
<if test="remark != null and remark != ''"> and remark = #{remark} </if>
|
||||||
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
<if test="def1 != null and def1 != ''"> and def1 = #{def1} </if>
|
||||||
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
<if test="def2 != null and def2 != ''"> and def2 = #{def2} </if>
|
||||||
|
@ -436,7 +448,7 @@ update integration_task_log_details set sts= 'N' ,modify_time = #{modify_time},
|
||||||
</update>
|
</update>
|
||||||
<!--通过主键删除-->
|
<!--通过主键删除-->
|
||||||
<delete id="entity_delete">
|
<delete id="entity_delete">
|
||||||
delete from integration_task_log_details where id = #{id}
|
delete from integration_task_living_details where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
|
@ -0,0 +1,12 @@
|
||||||
|
package com.hzya.frame.sysnew.integtationTaskLivingDetails.service;
|
||||||
|
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity;
|
||||||
|
import com.hzya.frame.basedao.service.IBaseService;
|
||||||
|
/**
|
||||||
|
* 集成任务-实例详情(IntegrationTaskLivingDetails)表服务接口
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2024-05-15 14:06:43
|
||||||
|
*/
|
||||||
|
public interface IIntegrationTaskLivingDetailsService extends IBaseService<IntegrationTaskLivingDetailsEntity, String>{
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.hzya.frame.sysnew.integtationTaskLivingDetails.service.impl;
|
||||||
|
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.entity.IntegrationTaskLivingDetailsEntity;
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.dao.IIntegrationTaskLivingDetailsDao;
|
||||||
|
import com.hzya.frame.sysnew.integtationTaskLivingDetails.service.IIntegrationTaskLivingDetailsService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import com.hzya.frame.basedao.service.impl.BaseService;
|
||||||
|
/**
|
||||||
|
* 集成任务-实例详情(IntegrationTaskLivingDetails)表服务实现类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2024-05-15 14:06:46
|
||||||
|
*/
|
||||||
|
@Service(value = "integrationTaskLivingDetailsService")
|
||||||
|
public class IntegrationTaskLivingDetailsServiceImpl extends BaseService<IntegrationTaskLivingDetailsEntity, String> implements IIntegrationTaskLivingDetailsService {
|
||||||
|
|
||||||
|
private IIntegrationTaskLivingDetailsDao integrationTaskLivingDetailsDao;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
public void setIntegrationTaskLivingDetailsDao(IIntegrationTaskLivingDetailsDao dao) {
|
||||||
|
this.integrationTaskLivingDetailsDao = dao;
|
||||||
|
this.dao = dao;
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,30 +6,60 @@ import com.hzya.frame.web.entity.BaseEntity;
|
||||||
* 集成任务-实例详情(IntegrationTaskLog)实体类
|
* 集成任务-实例详情(IntegrationTaskLog)实体类
|
||||||
*
|
*
|
||||||
* @author makejava
|
* @author makejava
|
||||||
* @since 2024-05-06 15:37:55
|
* @since 2024-05-15 14:06:41
|
||||||
*/
|
*/
|
||||||
public class IntegrationTaskLogEntity extends BaseEntity {
|
public class IntegrationTaskLogEntity extends BaseEntity {
|
||||||
|
|
||||||
/** 集成任务-实例_id */
|
/** 集成任务-实例_id */
|
||||||
private String taskLinvingId;
|
private String taskLinvingId;
|
||||||
/** integration_task_id */
|
/** 返回结果 */
|
||||||
private String taskId;
|
private String result;
|
||||||
/** 任务编码 */
|
/** 原始查询条件 */
|
||||||
private String taskCode;
|
private String queryCondition;
|
||||||
/** 任务名称 */
|
/** 源系统主键 */
|
||||||
private String taskName;
|
private String rootAppPk;
|
||||||
/** 任务状态1、执行中2、执行成功 3、执行失败 4\当前任务已停止*/
|
/** 原系统单据 */
|
||||||
private String taskStatus;
|
private String rootAppBill;
|
||||||
/** 当前任务开始时间 */
|
/** 最新源系统数据详情 */
|
||||||
private Date startTime;
|
private String rootAppNewData;
|
||||||
/** 结束时间 */
|
/** 最新传输信息 */
|
||||||
private Date endTime;
|
private String newTransmitInfo;
|
||||||
/** 耗时 */
|
/** 最新推送时间 */
|
||||||
private String diffTime;
|
private Date newPushDate;
|
||||||
/** 公司id */
|
/** 是否补推(Y是N不是) */
|
||||||
private String companyId;
|
private String repairPust;
|
||||||
|
/** 场景id */
|
||||||
|
private String senceId;
|
||||||
|
/** 最新推送状态 */
|
||||||
|
private String newState;
|
||||||
|
/** 单据业务日期 */
|
||||||
|
private String businessDate;
|
||||||
|
/** 插件id */
|
||||||
|
private String pluginId;
|
||||||
|
/** 处理时间 */
|
||||||
|
private Date processingTime;
|
||||||
|
/** 处理备注 */
|
||||||
|
private String processingRemarks;
|
||||||
|
/** 处理⼈名称 */
|
||||||
|
private String processorName;
|
||||||
|
/** 处理⼈ */
|
||||||
|
private String processor;
|
||||||
|
/** 下游系统单号 */
|
||||||
|
private String newSystemNumber;
|
||||||
|
/** 下游系统主键 */
|
||||||
|
private String newSystemPrimary;
|
||||||
/** 备注 */
|
/** 备注 */
|
||||||
private String remark;
|
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() {
|
public String getTaskLinvingId() {
|
||||||
|
@ -40,68 +70,148 @@ public class IntegrationTaskLogEntity extends BaseEntity {
|
||||||
this.taskLinvingId = taskLinvingId;
|
this.taskLinvingId = taskLinvingId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTaskId() {
|
public String getResult() {
|
||||||
return taskId;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTaskId(String taskId) {
|
public void setResult(String result) {
|
||||||
this.taskId = taskId;
|
this.result = result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTaskCode() {
|
public String getQueryCondition() {
|
||||||
return taskCode;
|
return queryCondition;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTaskCode(String taskCode) {
|
public void setQueryCondition(String queryCondition) {
|
||||||
this.taskCode = taskCode;
|
this.queryCondition = queryCondition;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTaskName() {
|
public String getRootAppPk() {
|
||||||
return taskName;
|
return rootAppPk;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTaskName(String taskName) {
|
public void setRootAppPk(String rootAppPk) {
|
||||||
this.taskName = taskName;
|
this.rootAppPk = rootAppPk;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTaskStatus() {
|
public String getRootAppBill() {
|
||||||
return taskStatus;
|
return rootAppBill;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTaskStatus(String taskStatus) {
|
public void setRootAppBill(String rootAppBill) {
|
||||||
this.taskStatus = taskStatus;
|
this.rootAppBill = rootAppBill;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getStartTime() {
|
public String getRootAppNewData() {
|
||||||
return startTime;
|
return rootAppNewData;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setStartTime(Date startTime) {
|
public void setRootAppNewData(String rootAppNewData) {
|
||||||
this.startTime = startTime;
|
this.rootAppNewData = rootAppNewData;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getEndTime() {
|
public String getNewTransmitInfo() {
|
||||||
return endTime;
|
return newTransmitInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEndTime(Date endTime) {
|
public void setNewTransmitInfo(String newTransmitInfo) {
|
||||||
this.endTime = endTime;
|
this.newTransmitInfo = newTransmitInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDiffTime() {
|
public Date getNewPushDate() {
|
||||||
return diffTime;
|
return newPushDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDiffTime(String diffTime) {
|
public void setNewPushDate(Date newPushDate) {
|
||||||
this.diffTime = diffTime;
|
this.newPushDate = newPushDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCompanyId() {
|
public String getRepairPust() {
|
||||||
return companyId;
|
return repairPust;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCompanyId(String companyId) {
|
public void setRepairPust(String repairPust) {
|
||||||
this.companyId = companyId;
|
this.repairPust = repairPust;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSenceId() {
|
||||||
|
return senceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSenceId(String senceId) {
|
||||||
|
this.senceId = senceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNewState() {
|
||||||
|
return newState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNewState(String newState) {
|
||||||
|
this.newState = newState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessDate() {
|
||||||
|
return businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessDate(String businessDate) {
|
||||||
|
this.businessDate = businessDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPluginId() {
|
||||||
|
return pluginId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPluginId(String pluginId) {
|
||||||
|
this.pluginId = pluginId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getProcessingTime() {
|
||||||
|
return processingTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessingTime(Date processingTime) {
|
||||||
|
this.processingTime = processingTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProcessingRemarks() {
|
||||||
|
return processingRemarks;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessingRemarks(String processingRemarks) {
|
||||||
|
this.processingRemarks = processingRemarks;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProcessorName() {
|
||||||
|
return processorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessorName(String processorName) {
|
||||||
|
this.processorName = processorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProcessor() {
|
||||||
|
return processor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProcessor(String processor) {
|
||||||
|
this.processor = processor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNewSystemNumber() {
|
||||||
|
return newSystemNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNewSystemNumber(String newSystemNumber) {
|
||||||
|
this.newSystemNumber = newSystemNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNewSystemPrimary() {
|
||||||
|
return newSystemPrimary;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNewSystemPrimary(String newSystemPrimary) {
|
||||||
|
this.newSystemPrimary = newSystemPrimary;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getRemark() {
|
public String getRemark() {
|
||||||
|
@ -111,5 +221,46 @@ public class IntegrationTaskLogEntity extends BaseEntity {
|
||||||
public void setRemark(String remark) {
|
public void setRemark(String remark) {
|
||||||
this.remark = 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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,327 +2,453 @@
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.hzya.frame.sysnew.integtationTaskLog.dao.impl.IntegrationTaskLogDaoImpl">
|
<mapper namespace="com.hzya.frame.sysnew.integtationTaskLog.dao.impl.IntegrationTaskLogDaoImpl">
|
||||||
|
|
||||||
<resultMap id="get-IntegrationTaskLogEntity-result"
|
<resultMap id="get-IntegrationTaskLogEntity-result" type="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity" >
|
||||||
type="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
<result property="taskLinvingId" column="task_linving_id" jdbcType="VARCHAR"/>
|
||||||
<result property="taskLinvingId" column="task_linving_id" jdbcType="VARCHAR"/>
|
<result property="result" column="result" jdbcType="VARCHAR"/>
|
||||||
<result property="taskId" column="task_id" jdbcType="VARCHAR"/>
|
<result property="queryCondition" column="query_condition" jdbcType="VARCHAR"/>
|
||||||
<result property="taskCode" column="task_code" jdbcType="VARCHAR"/>
|
<result property="rootAppPk" column="root_app_pk" jdbcType="VARCHAR"/>
|
||||||
<result property="taskName" column="task_name" jdbcType="VARCHAR"/>
|
<result property="rootAppBill" column="root_app_bill" jdbcType="VARCHAR"/>
|
||||||
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
<result property="rootAppNewData" column="root_app_new_data" jdbcType="VARCHAR"/>
|
||||||
<result property="taskStatus" column="task_status" jdbcType="VARCHAR"/>
|
<result property="newTransmitInfo" column="new_transmit_info" jdbcType="VARCHAR"/>
|
||||||
<result property="startTime" column="start_time" jdbcType="TIMESTAMP"/>
|
<result property="newPushDate" column="new_push_date" jdbcType="TIMESTAMP"/>
|
||||||
<result property="endTime" column="end_time" jdbcType="TIMESTAMP"/>
|
<result property="repairPust" column="repair_pust" jdbcType="VARCHAR"/>
|
||||||
<result property="diffTime" column="diff_time" jdbcType="VARCHAR"/>
|
<result property="create_time" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
<result property="sorts" column="sorts" jdbcType="INTEGER"/>
|
<result property="create_user_id" column="create_user_id" jdbcType="VARCHAR"/>
|
||||||
<result property="create_user_id" column="create_user_id" jdbcType="VARCHAR"/>
|
<result property="modify_time" column="modify_time" jdbcType="TIMESTAMP"/>
|
||||||
<result property="create_time" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="modify_user_id" column="modify_user_id" jdbcType="VARCHAR"/>
|
||||||
<result property="modify_user_id" column="modify_user_id" jdbcType="VARCHAR"/>
|
<result property="sts" column="sts" jdbcType="VARCHAR"/>
|
||||||
<result property="modify_time" column="modify_time" jdbcType="TIMESTAMP"/>
|
<result property="sorts" column="sorts" jdbcType="INTEGER"/>
|
||||||
<result property="sts" column="sts" jdbcType="VARCHAR"/>
|
<result property="senceId" column="sence_id" jdbcType="VARCHAR"/>
|
||||||
<result property="org_id" column="org_id" jdbcType="VARCHAR"/>
|
<result property="newState" column="new_state" jdbcType="VARCHAR"/>
|
||||||
<result property="companyId" column="company_id" jdbcType="VARCHAR"/>
|
<result property="businessDate" column="business_date" jdbcType="VARCHAR"/>
|
||||||
</resultMap>
|
<result property="pluginId" column="plugin_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processingTime" column="processing_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="processingRemarks" column="processing_remarks" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processorName" column="processor_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processor" column="processor" jdbcType="VARCHAR"/>
|
||||||
|
<result property="newSystemNumber" column="new_system_number" jdbcType="VARCHAR"/>
|
||||||
|
<result property="newSystemPrimary" column="new_system_primary" 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="IntegrationTaskLogEntity_Base_Column_List">
|
<sql id = "IntegrationTaskLogEntity_Base_Column_List">
|
||||||
id
|
id
|
||||||
,task_linving_id
|
,task_linving_id
|
||||||
,task_id
|
,result
|
||||||
,task_code
|
,query_condition
|
||||||
,task_name
|
,root_app_pk
|
||||||
,remark
|
,root_app_bill
|
||||||
,task_status
|
,root_app_new_data
|
||||||
,start_time
|
,new_transmit_info
|
||||||
,end_time
|
,new_push_date
|
||||||
,diff_time
|
,repair_pust
|
||||||
,sorts
|
|
||||||
,create_user_id
|
|
||||||
,create_time
|
,create_time
|
||||||
,modify_user_id
|
,create_user_id
|
||||||
,modify_time
|
,modify_time
|
||||||
|
,modify_user_id
|
||||||
,sts
|
,sts
|
||||||
,org_id
|
,sorts
|
||||||
,company_id
|
,sence_id
|
||||||
|
,new_state
|
||||||
|
,business_date
|
||||||
|
,plugin_id
|
||||||
|
,processing_time
|
||||||
|
,processing_remarks
|
||||||
|
,processor_name
|
||||||
|
,processor
|
||||||
|
,new_system_number
|
||||||
|
,new_system_primary
|
||||||
|
,remark
|
||||||
|
,def1
|
||||||
|
,def2
|
||||||
|
,def3
|
||||||
|
,def4
|
||||||
|
,def5
|
||||||
</sql>
|
</sql>
|
||||||
<!--通过ID获取数据 -->
|
<!-- 查询 采用==查询 -->
|
||||||
<select id="entity_get" resultMap="get-IntegrationTaskLogEntity-result">
|
<select id="entity_list_base" resultMap="get-IntegrationTaskLogEntity-result" 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_log where id = #{id} and sts = 'Y'
|
from integration_task_living_details
|
||||||
</select>
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<!-- 查询 采用==查询 -->
|
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||||
<select id="entity_list_base" resultMap="get-IntegrationTaskLogEntity-result"
|
<if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if>
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
<if test="result != null and result != ''"> and result = #{result} </if>
|
||||||
select
|
<if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if>
|
||||||
<include refid="IntegrationTaskLogEntity_Base_Column_List"/>
|
<if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if>
|
||||||
from integration_task_log
|
<if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if>
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if>
|
||||||
<if test="id != null and id != ''">and id = #{id}</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </if>
|
||||||
<if test="taskId != null and taskId != ''">and task_id = #{taskId}</if>
|
<if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if>
|
||||||
<if test="taskCode != null and taskCode != ''">and task_code = #{taskCode}</if>
|
<if test="create_time != null"> and create_time = #{create_time} </if>
|
||||||
<if test="taskName != null and taskName != ''">and task_name = #{taskName}</if>
|
<if test="create_user_id != null and create_user_id != ''"> and create_user_id = #{create_user_id} </if>
|
||||||
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
<if test="modify_time != null"> and modify_time = #{modify_time} </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">and task_status = #{taskStatus}</if>
|
<if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id = #{modify_user_id} </if>
|
||||||
<if test="startTime != null">and start_time = #{startTime}</if>
|
<if test="sts != null and sts != ''"> and sts = #{sts} </if>
|
||||||
<if test="endTime != null">and end_time = #{endTime}</if>
|
<if test="sorts != null"> and sorts = #{sorts} </if>
|
||||||
<if test="diffTime != null and diffTime != ''">and diff_time = #{diffTime}</if>
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
<if test="sorts != null">and sorts = #{sorts}</if>
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
<if test="create_user_id != null and create_user_id != ''">and create_user_id = #{create_user_id}</if>
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
<if test="create_time != null">and create_time = #{create_time}</if>
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
<if test="modify_user_id != null and modify_user_id != ''">and modify_user_id = #{modify_user_id}</if>
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
<if test="modify_time != null">and modify_time = #{modify_time}</if>
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
<if test="sts != null and sts != ''">and sts = #{sts}</if>
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
<if test="org_id != null and org_id != ''">and org_id = #{org_id}</if>
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
<if test="companyId != null and companyId != ''">and company_id = #{companyId}</if>
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </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'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
<if test=" sort == null or sort == ''.toString() ">order by sorts asc</if>
|
<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>
|
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询符合条件的数量 -->
|
<!-- 查询符合条件的数量 -->
|
||||||
<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>
|
<if test="result != null and result != ''"> and result = #{result} </if>
|
||||||
<if test="taskId != null and taskId != ''">and task_id = #{taskId}</if>
|
<if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if>
|
||||||
<if test="taskCode != null and taskCode != ''">and task_code = #{taskCode}</if>
|
<if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if>
|
||||||
<if test="taskName != null and taskName != ''">and task_name = #{taskName}</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if>
|
||||||
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">and task_status = #{taskStatus}</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="startTime != null">and start_time = #{startTime}</if>
|
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </if>
|
||||||
<if test="endTime != null">and end_time = #{endTime}</if>
|
<if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if>
|
||||||
<if test="diffTime != null and diffTime != ''">and diff_time = #{diffTime}</if>
|
<if test="create_time != null"> and create_time = #{create_time} </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_user_id != null and create_user_id != ''">and create_user_id = #{create_user_id}</if>
|
<if test="modify_time != null"> and modify_time = #{modify_time} </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_user_id != null and modify_user_id != ''">and modify_user_id = #{modify_user_id}</if>
|
<if test="sts != null and sts != ''"> and sts = #{sts} </if>
|
||||||
<if test="modify_time != null">and modify_time = #{modify_time}</if>
|
<if test="sorts != null"> and sorts = #{sorts} </if>
|
||||||
<if test="sts != null and sts != ''">and sts = #{sts}</if>
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
<if test="org_id != null and org_id != ''">and org_id = #{org_id}</if>
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
<if test="companyId != null and companyId != ''">and company_id = #{companyId}</if>
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </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'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
<if test=" sort == null or sort == ''.toString() ">order by sorts asc</if>
|
<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>
|
<if test=" sort !='' and sort!=null and order !='' and order!=null "> order by ${sort} ${order}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 分页查询列表 采用like格式 -->
|
<!-- 分页查询列表 采用like格式 -->
|
||||||
<select id="entity_list_like" resultMap="get-IntegrationTaskLogEntity-result"
|
<select id="entity_list_like" 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 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 concat('%',#{taskLinvingId},'%') </if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id like
|
<if test="result != null and result != ''"> and result like concat('%',#{result},'%') </if>
|
||||||
concat('%',#{taskLinvingId},'%')
|
<if test="queryCondition != null and queryCondition != ''"> and query_condition like concat('%',#{queryCondition},'%') </if>
|
||||||
</if>
|
<if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk like concat('%',#{rootAppPk},'%') </if>
|
||||||
<if test="taskId != null and taskId != ''">and task_id like concat('%',#{taskId},'%')</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill like concat('%',#{rootAppBill},'%') </if>
|
||||||
<if test="taskCode != null and taskCode != ''">and task_code like concat('%',#{taskCode},'%')</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data like concat('%',#{rootAppNewData},'%') </if>
|
||||||
<if test="taskName != null and taskName != ''">and task_name like concat('%',#{taskName},'%')</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info like concat('%',#{newTransmitInfo},'%') </if>
|
||||||
<if test="remark != null and remark != ''">and remark like concat('%',#{remark},'%')</if>
|
<if test="newPushDate != null"> and new_push_date like concat('%',#{newPushDate},'%') </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">and task_status like concat('%',#{taskStatus},'%')</if>
|
<if test="repairPust != null and repairPust != ''"> and repair_pust like concat('%',#{repairPust},'%') </if>
|
||||||
<if test="startTime != null">and start_time like concat('%',#{startTime},'%')</if>
|
<if test="create_time != null"> and create_time like concat('%',#{create_time},'%') </if>
|
||||||
<if test="endTime != null">and end_time like concat('%',#{endTime},'%')</if>
|
<if test="create_user_id != null and create_user_id != ''"> and create_user_id like concat('%',#{create_user_id},'%') </if>
|
||||||
<if test="diffTime != null and diffTime != ''">and diff_time like concat('%',#{diffTime},'%')</if>
|
<if test="modify_time != null"> and modify_time like concat('%',#{modify_time},'%') </if>
|
||||||
<if test="sorts != null">and sorts like concat('%',#{sorts},'%')</if>
|
<if test="modify_user_id != null and modify_user_id != ''"> and modify_user_id like concat('%',#{modify_user_id},'%') </if>
|
||||||
<if test="create_user_id != null and create_user_id != ''">and create_user_id like
|
<if test="sts != null and sts != ''"> and sts like concat('%',#{sts},'%') </if>
|
||||||
concat('%',#{create_user_id},'%')
|
<if test="sorts != null"> and sorts like concat('%',#{sorts},'%') </if>
|
||||||
</if>
|
<if test="senceId != null and senceId != ''"> and sence_id like concat('%',#{senceId},'%') </if>
|
||||||
<if test="create_time != null">and create_time like concat('%',#{create_time},'%')</if>
|
<if test="newState != null and newState != ''"> and new_state like concat('%',#{newState},'%') </if>
|
||||||
<if test="modify_user_id != null and modify_user_id != ''">and modify_user_id like
|
<if test="businessDate != null and businessDate != ''"> and business_date like concat('%',#{businessDate},'%') </if>
|
||||||
concat('%',#{modify_user_id},'%')
|
<if test="pluginId != null and pluginId != ''"> and plugin_id like concat('%',#{pluginId},'%') </if>
|
||||||
</if>
|
<if test="processingTime != null"> and processing_time like concat('%',#{processingTime},'%') </if>
|
||||||
<if test="modify_time != null">and modify_time like concat('%',#{modify_time},'%')</if>
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks like concat('%',#{processingRemarks},'%') </if>
|
||||||
<if test="sts != null and sts != ''">and sts like concat('%',#{sts},'%')</if>
|
<if test="processorName != null and processorName != ''"> and processor_name like concat('%',#{processorName},'%') </if>
|
||||||
<if test="org_id != null and org_id != ''">and org_id like concat('%',#{org_id},'%')</if>
|
<if test="processor != null and processor != ''"> and processor like concat('%',#{processor},'%') </if>
|
||||||
<if test="companyId != null and companyId != ''">and company_id like concat('%',#{companyId},'%')</if>
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number like concat('%',#{newSystemNumber},'%') </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary like concat('%',#{newSystemPrimary},'%') </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'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
<if test=" sort == null or sort == ''.toString() ">order by sorts asc</if>
|
<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>
|
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询列表 字段采用or格式 -->
|
<!-- 查询列表 字段采用or格式 -->
|
||||||
<select id="IntegrationTaskLogentity_list_or" resultMap="get-IntegrationTaskLogEntity-result"
|
<select id="IntegrationTaskLogentity_list_or" 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 != ''"> 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>
|
<if test="result != null and result != ''"> or result = #{result} </if>
|
||||||
<if test="taskId != null and taskId != ''">or task_id = #{taskId}</if>
|
<if test="queryCondition != null and queryCondition != ''"> or query_condition = #{queryCondition} </if>
|
||||||
<if test="taskCode != null and taskCode != ''">or task_code = #{taskCode}</if>
|
<if test="rootAppPk != null and rootAppPk != ''"> or root_app_pk = #{rootAppPk} </if>
|
||||||
<if test="taskName != null and taskName != ''">or task_name = #{taskName}</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> or root_app_bill = #{rootAppBill} </if>
|
||||||
<if test="remark != null and remark != ''">or remark = #{remark}</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> or root_app_new_data = #{rootAppNewData} </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">or task_status = #{taskStatus}</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> or new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="startTime != null">or start_time = #{startTime}</if>
|
<if test="newPushDate != null"> or new_push_date = #{newPushDate} </if>
|
||||||
<if test="endTime != null">or end_time = #{endTime}</if>
|
<if test="repairPust != null and repairPust != ''"> or repair_pust = #{repairPust} </if>
|
||||||
<if test="diffTime != null and diffTime != ''">or diff_time = #{diffTime}</if>
|
<if test="create_time != null"> or create_time = #{create_time} </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_user_id != null and create_user_id != ''">or create_user_id = #{create_user_id}</if>
|
<if test="modify_time != null"> or modify_time = #{modify_time} </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_user_id != null and modify_user_id != ''">or modify_user_id = #{modify_user_id}</if>
|
<if test="sts != null and sts != ''"> or sts = #{sts} </if>
|
||||||
<if test="modify_time != null">or modify_time = #{modify_time}</if>
|
<if test="sorts != null"> or sorts = #{sorts} </if>
|
||||||
<if test="sts != null and sts != ''">or sts = #{sts}</if>
|
<if test="senceId != null and senceId != ''"> or sence_id = #{senceId} </if>
|
||||||
<if test="org_id != null and org_id != ''">or org_id = #{org_id}</if>
|
<if test="newState != null and newState != ''"> or new_state = #{newState} </if>
|
||||||
<if test="companyId != null and companyId != ''">or company_id = #{companyId}</if>
|
<if test="businessDate != null and businessDate != ''"> or business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> or plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> or processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> or processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> or processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> or processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> or new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> or new_system_primary = #{newSystemPrimary} </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'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
<if test=" sort == null or sort == ''.toString() ">order by sorts asc</if>
|
<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>
|
<if test=" sort !='' and sort!=null and order !='' and order!=null ">order by ${sort} ${order}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!--新增所有列-->
|
<!--新增所有列-->
|
||||||
<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>
|
<if test="result != null and result != ''"> result , </if>
|
||||||
<if test="taskId != null and taskId != ''">task_id ,</if>
|
<if test="queryCondition != null and queryCondition != ''"> query_condition , </if>
|
||||||
<if test="taskCode != null and taskCode != ''">task_code ,</if>
|
<if test="rootAppPk != null and rootAppPk != ''"> root_app_pk , </if>
|
||||||
<if test="taskName != null and taskName != ''">task_name ,</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> root_app_bill , </if>
|
||||||
<if test="remark != null and remark != ''">remark ,</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> root_app_new_data , </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">task_status ,</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> new_transmit_info , </if>
|
||||||
<if test="startTime != null">start_time ,</if>
|
<if test="newPushDate != null"> new_push_date , </if>
|
||||||
<if test="endTime != null">end_time ,</if>
|
<if test="repairPust != null and repairPust != ''"> repair_pust , </if>
|
||||||
<if test="diffTime != null and diffTime != ''">diff_time ,</if>
|
<if test="create_time != null"> create_time , </if>
|
||||||
<if test="sorts != null">sorts ,</if>
|
<if test="create_user_id != null and create_user_id != ''"> create_user_id , </if>
|
||||||
<if test="create_user_id != null and create_user_id != ''">create_user_id ,</if>
|
<if test="modify_time != null"> modify_time , </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_user_id != null and modify_user_id != ''">modify_user_id ,</if>
|
<if test="sts != null and sts != ''"> sts , </if>
|
||||||
<if test="modify_time != null">modify_time ,</if>
|
<if test="sorts != null"> sorts , </if>
|
||||||
<if test="sts != null and sts != ''">sts ,</if>
|
<if test="senceId != null and senceId != ''"> sence_id , </if>
|
||||||
<if test="org_id != null and org_id != ''">org_id ,</if>
|
<if test="newState != null and newState != ''"> new_state , </if>
|
||||||
<if test="companyId != null and companyId != ''">company_id ,</if>
|
<if test="businessDate != null and businessDate != ''"> business_date , </if>
|
||||||
<if test="sts == null ">sts,</if>
|
<if test="pluginId != null and pluginId != ''"> plugin_id , </if>
|
||||||
</trim>
|
<if test="processingTime != null"> processing_time , </if>
|
||||||
)values(
|
<if test="processingRemarks != null and processingRemarks != ''"> processing_remarks , </if>
|
||||||
<trim suffix="" suffixOverrides=",">
|
<if test="processorName != null and processorName != ''"> processor_name , </if>
|
||||||
<if test="id != null and id != ''">#{id} ,</if>
|
<if test="processor != null and processor != ''"> processor , </if>
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">#{taskLinvingId} ,</if>
|
<if test="newSystemNumber != null and newSystemNumber != ''"> new_system_number , </if>
|
||||||
<if test="taskId != null and taskId != ''">#{taskId} ,</if>
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> new_system_primary , </if>
|
||||||
<if test="taskCode != null and taskCode != ''">#{taskCode} ,</if>
|
<if test="remark != null and remark != ''"> remark , </if>
|
||||||
<if test="taskName != null and taskName != ''">#{taskName} ,</if>
|
<if test="def1 != null and def1 != ''"> def1 , </if>
|
||||||
<if test="remark != null and remark != ''">#{remark} ,</if>
|
<if test="def2 != null and def2 != ''"> def2 , </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">#{taskStatus} ,</if>
|
<if test="def3 != null and def3 != ''"> def3 , </if>
|
||||||
<if test="startTime != null">#{startTime} ,</if>
|
<if test="def4 != null and def4 != ''"> def4 , </if>
|
||||||
<if test="endTime != null">#{endTime} ,</if>
|
<if test="def5 != null and def5 != ''"> def5 , </if>
|
||||||
<if test="diffTime != null and diffTime != ''">#{diffTime} ,</if>
|
<if test="sorts == null ">sorts,</if>
|
||||||
<if test="sorts != null">#{sorts} ,</if>
|
<if test="sts == null ">sts,</if>
|
||||||
<if test="create_user_id != null and create_user_id != ''">#{create_user_id} ,</if>
|
</trim>
|
||||||
<if test="create_time != null">#{create_time} ,</if>
|
)values(
|
||||||
<if test="modify_user_id != null and modify_user_id != ''">#{modify_user_id} ,</if>
|
<trim suffix="" suffixOverrides=",">
|
||||||
<if test="modify_time != null">#{modify_time} ,</if>
|
<if test="id != null and id != ''"> #{id} ,</if>
|
||||||
<if test="sts != null and sts != ''">#{sts} ,</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''"> #{taskLinvingId} ,</if>
|
||||||
<if test="org_id != null and org_id != ''">#{org_id} ,</if>
|
<if test="result != null and result != ''"> #{result} ,</if>
|
||||||
<if test="companyId != null and companyId != ''">#{companyId} ,</if>
|
<if test="queryCondition != null and queryCondition != ''"> #{queryCondition} ,</if>
|
||||||
|
<if test="rootAppPk != null and rootAppPk != ''"> #{rootAppPk} ,</if>
|
||||||
<if test="sts == null ">'Y',</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> #{rootAppBill} ,</if>
|
||||||
</trim>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> #{rootAppNewData} ,</if>
|
||||||
)
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> #{newTransmitInfo} ,</if>
|
||||||
</insert>
|
<if test="newPushDate != null"> #{newPushDate} ,</if>
|
||||||
<!-- 批量新增 -->
|
<if test="repairPust != null and repairPust != ''"> #{repairPust} ,</if>
|
||||||
<insert id="entityInsertBatch" >
|
<if test="create_time != null"> #{create_time} ,</if>
|
||||||
insert into integration_task_log(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
<if test="create_user_id != null and create_user_id != ''"> #{create_user_id} ,</if>
|
||||||
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
<if test="modify_time != null"> #{modify_time} ,</if>
|
||||||
company_id, sts)
|
<if test="modify_user_id != null and modify_user_id != ''"> #{modify_user_id} ,</if>
|
||||||
values
|
<if test="sts != null and sts != ''"> #{sts} ,</if>
|
||||||
<foreach collection="entities" item="entity" separator=",">
|
<if test="sorts != null"> #{sorts} ,</if>
|
||||||
(#{entity.taskLinvingId},#{entity.taskId},#{entity.taskCode},#{entity.taskName},#{entity.remark},#{entity.taskStatus},#{entity.startTime},#{entity.endTime},#{entity.diffTime},#{entity.sorts},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId},
|
<if test="senceId != null and senceId != ''"> #{senceId} ,</if>
|
||||||
'Y')
|
<if test="newState != null and newState != ''"> #{newState} ,</if>
|
||||||
</foreach>
|
<if test="businessDate != null and businessDate != ''"> #{businessDate} ,</if>
|
||||||
</insert>
|
<if test="pluginId != null and pluginId != ''"> #{pluginId} ,</if>
|
||||||
<!-- 批量新增或者修改-->
|
<if test="processingTime != null"> #{processingTime} ,</if>
|
||||||
<insert id="entityInsertOrUpdateBatch" >
|
<if test="processingRemarks != null and processingRemarks != ''"> #{processingRemarks} ,</if>
|
||||||
insert into integration_task_log(task_linving_id, task_id, task_code, task_name, remark, task_status,
|
<if test="processorName != null and processorName != ''"> #{processorName} ,</if>
|
||||||
start_time, end_time, diff_time, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id,
|
<if test="processor != null and processor != ''"> #{processor} ,</if>
|
||||||
company_id)
|
<if test="newSystemNumber != null and newSystemNumber != ''"> #{newSystemNumber} ,</if>
|
||||||
values
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> #{newSystemPrimary} ,</if>
|
||||||
<foreach collection="entities" item="entity" separator=",">
|
<if test="remark != null and remark != ''"> #{remark} ,</if>
|
||||||
(#{entity.taskLinvingId},#{entity.taskId},#{entity.taskCode},#{entity.taskName},#{entity.remark},#{entity.taskStatus},#{entity.startTime},#{entity.endTime},#{entity.diffTime},#{entity.sorts},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId})
|
<if test="def1 != null and def1 != ''"> #{def1} ,</if>
|
||||||
</foreach>
|
<if test="def2 != null and def2 != ''"> #{def2} ,</if>
|
||||||
on duplicate key update
|
<if test="def3 != null and def3 != ''"> #{def3} ,</if>
|
||||||
task_linving_id = values(task_linving_id),
|
<if test="def4 != null and def4 != ''"> #{def4} ,</if>
|
||||||
task_id = values(task_id),
|
<if test="def5 != null and def5 != ''"> #{def5} ,</if>
|
||||||
task_code = values(task_code),
|
<if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from integration_task_living_details a WHERE a.sts = 'Y' ),</if>
|
||||||
task_name = values(task_name),
|
<if test="sts == null ">'Y',</if>
|
||||||
remark = values(remark),
|
</trim>
|
||||||
task_status = values(task_status),
|
)
|
||||||
start_time = values(start_time),
|
</insert>
|
||||||
end_time = values(end_time),
|
<!-- 批量新增 -->
|
||||||
diff_time = values(diff_time),
|
<insert id="entityInsertBatch" >
|
||||||
sorts = values(sorts),
|
insert into integration_task_living_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, repair_pust, create_time, create_user_id, modify_time, modify_user_id, sts, sence_id, new_state, business_date, plugin_id, processing_time, processing_remarks, processor_name, processor, new_system_number, new_system_primary, remark, def1, def2, def3, def4, def5, sts)
|
||||||
create_user_id = values(create_user_id),
|
values
|
||||||
create_time = values(create_time),
|
<foreach collection="entities" item="entity" separator=",">
|
||||||
modify_user_id = values(modify_user_id),
|
(#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.repairPust},#{entity.create_time},#{entity.create_user_id},#{entity.modify_time},#{entity.modify_user_id},#{entity.sts},#{entity.senceId},#{entity.newState},#{entity.businessDate},#{entity.pluginId},#{entity.processingTime},#{entity.processingRemarks},#{entity.processorName},#{entity.processor},#{entity.newSystemNumber},#{entity.newSystemPrimary},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5}, 'Y')
|
||||||
modify_time = values(modify_time),
|
</foreach>
|
||||||
sts = values(sts),
|
</insert>
|
||||||
org_id = values(org_id),
|
<!-- 批量新增或者修改-->
|
||||||
company_id = values(company_id)
|
<insert id="entityInsertOrUpdateBatch" >
|
||||||
</insert>
|
insert into integration_task_living_details(task_linving_id, result, query_condition, root_app_pk, root_app_bill, root_app_new_data, new_transmit_info, new_push_date, repair_pust, create_time, create_user_id, modify_time, modify_user_id, sts, sence_id, new_state, business_date, plugin_id, processing_time, processing_remarks, processor_name, processor, new_system_number, new_system_primary, remark, def1, def2, def3, def4, def5)
|
||||||
<!--通过主键修改方法-->
|
values
|
||||||
<update id="entity_update"
|
<foreach collection="entities" item="entity" separator=",">
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
(#{entity.taskLinvingId},#{entity.result},#{entity.queryCondition},#{entity.rootAppPk},#{entity.rootAppBill},#{entity.rootAppNewData},#{entity.newTransmitInfo},#{entity.newPushDate},#{entity.repairPust},#{entity.create_time},#{entity.create_user_id},#{entity.modify_time},#{entity.modify_user_id},#{entity.sts},#{entity.senceId},#{entity.newState},#{entity.businessDate},#{entity.pluginId},#{entity.processingTime},#{entity.processingRemarks},#{entity.processorName},#{entity.processor},#{entity.newSystemNumber},#{entity.newSystemPrimary},#{entity.remark},#{entity.def1},#{entity.def2},#{entity.def3},#{entity.def4},#{entity.def5})
|
||||||
update integration_task_log set
|
</foreach>
|
||||||
<trim suffix="" suffixOverrides=",">
|
on duplicate key update
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">task_linving_id = #{taskLinvingId},</if>
|
task_linving_id = values(task_linving_id),
|
||||||
<if test="taskId != null and taskId != ''">task_id = #{taskId},</if>
|
result = values(result),
|
||||||
<if test="taskCode != null and taskCode != ''">task_code = #{taskCode},</if>
|
query_condition = values(query_condition),
|
||||||
<if test="taskName != null and taskName != ''">task_name = #{taskName},</if>
|
root_app_pk = values(root_app_pk),
|
||||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
root_app_bill = values(root_app_bill),
|
||||||
<if test="taskStatus != null and taskStatus != ''">task_status = #{taskStatus},</if>
|
root_app_new_data = values(root_app_new_data),
|
||||||
<if test="startTime != null">start_time = #{startTime},</if>
|
new_transmit_info = values(new_transmit_info),
|
||||||
<if test="endTime != null">end_time = #{endTime},</if>
|
new_push_date = values(new_push_date),
|
||||||
<if test="diffTime != null and diffTime != ''">diff_time = #{diffTime},</if>
|
repair_pust = values(repair_pust),
|
||||||
<if test="sorts != null">sorts = #{sorts},</if>
|
create_time = values(create_time),
|
||||||
<if test="create_user_id != null and create_user_id != ''">create_user_id = #{create_user_id},</if>
|
create_user_id = values(create_user_id),
|
||||||
<if test="create_time != null">create_time = #{create_time},</if>
|
modify_time = values(modify_time),
|
||||||
<if test="modify_user_id != null and modify_user_id != ''">modify_user_id = #{modify_user_id},</if>
|
modify_user_id = values(modify_user_id),
|
||||||
<if test="modify_time != null">modify_time = #{modify_time},</if>
|
sts = values(sts),
|
||||||
<if test="sts != null and sts != ''">sts = #{sts},</if>
|
sence_id = values(sence_id),
|
||||||
<if test="org_id != null and org_id != ''">org_id = #{org_id},</if>
|
new_state = values(new_state),
|
||||||
<if test="companyId != null and companyId != ''">company_id = #{companyId},</if>
|
business_date = values(business_date),
|
||||||
</trim>
|
plugin_id = values(plugin_id),
|
||||||
where id = #{id}
|
processing_time = values(processing_time),
|
||||||
</update>
|
processing_remarks = values(processing_remarks),
|
||||||
<!-- 逻辑删除 -->
|
processor_name = values(processor_name),
|
||||||
<update id="entity_logicDelete"
|
processor = values(processor),
|
||||||
parameterType="com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity">
|
new_system_number = values(new_system_number),
|
||||||
update integration_task_log set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
new_system_primary = values(new_system_primary),
|
||||||
|
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.integtationTaskLog.entity.IntegrationTaskLogEntity" >
|
||||||
|
update integration_task_living_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="repairPust != null and repairPust != ''"> repair_pust = #{repairPust},</if>
|
||||||
|
<if test="create_time != null"> create_time = #{create_time},</if>
|
||||||
|
<if test="create_user_id != null and create_user_id != ''"> create_user_id = #{create_user_id},</if>
|
||||||
|
<if test="modify_time != null"> modify_time = #{modify_time},</if>
|
||||||
|
<if test="modify_user_id != null and modify_user_id != ''"> modify_user_id = #{modify_user_id},</if>
|
||||||
|
<if test="sts != null and sts != ''"> sts = #{sts},</if>
|
||||||
|
<if test="senceId != null and senceId != ''"> sence_id = #{senceId},</if>
|
||||||
|
<if test="newState != null and newState != ''"> new_state = #{newState},</if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> business_date = #{businessDate},</if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> plugin_id = #{pluginId},</if>
|
||||||
|
<if test="processingTime != null"> processing_time = #{processingTime},</if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> processing_remarks = #{processingRemarks},</if>
|
||||||
|
<if test="processorName != null and processorName != ''"> processor_name = #{processorName},</if>
|
||||||
|
<if test="processor != null and processor != ''"> processor = #{processor},</if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> new_system_number = #{newSystemNumber},</if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> new_system_primary = #{newSystemPrimary},</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}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<!-- 多条件逻辑删除 -->
|
<!-- 逻辑删除 -->
|
||||||
<update id="entity_logicDelete_Multi_Condition"
|
<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 =
|
where id = #{id}
|
||||||
#{modify_user_id}
|
</update>
|
||||||
<trim prefix="where" prefixOverrides="and">
|
<!-- 多条件逻辑删除 -->
|
||||||
<if test="id != null and id != ''">and id = #{id}</if>
|
<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity" >
|
||||||
<if test="taskLinvingId != null and taskLinvingId != ''">and task_linving_id = #{taskLinvingId}</if>
|
update integration_task_living_details set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||||
<if test="taskId != null and taskId != ''">and task_id = #{taskId}</if>
|
<trim prefix="where" prefixOverrides="and">
|
||||||
<if test="taskCode != null and taskCode != ''">and task_code = #{taskCode}</if>
|
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||||
<if test="taskName != null and taskName != ''">and task_name = #{taskName}</if>
|
<if test="taskLinvingId != null and taskLinvingId != ''"> and task_linving_id = #{taskLinvingId} </if>
|
||||||
<if test="remark != null and remark != ''">and remark = #{remark}</if>
|
<if test="result != null and result != ''"> and result = #{result} </if>
|
||||||
<if test="taskStatus != null and taskStatus != ''">and task_status = #{taskStatus}</if>
|
<if test="queryCondition != null and queryCondition != ''"> and query_condition = #{queryCondition} </if>
|
||||||
<if test="startTime != null">and start_time = #{startTime}</if>
|
<if test="rootAppPk != null and rootAppPk != ''"> and root_app_pk = #{rootAppPk} </if>
|
||||||
<if test="endTime != null">and end_time = #{endTime}</if>
|
<if test="rootAppBill != null and rootAppBill != ''"> and root_app_bill = #{rootAppBill} </if>
|
||||||
<if test="diffTime != null and diffTime != ''">and diff_time = #{diffTime}</if>
|
<if test="rootAppNewData != null and rootAppNewData != ''"> and root_app_new_data = #{rootAppNewData} </if>
|
||||||
<if test="sorts != null">and sorts = #{sorts}</if>
|
<if test="newTransmitInfo != null and newTransmitInfo != ''"> and new_transmit_info = #{newTransmitInfo} </if>
|
||||||
<if test="sts != null and sts != ''">and sts = #{sts}</if>
|
<if test="newPushDate != null"> and new_push_date = #{newPushDate} </if>
|
||||||
<if test="companyId != null and companyId != ''">and company_id = #{companyId}</if>
|
<if test="repairPust != null and repairPust != ''"> and repair_pust = #{repairPust} </if>
|
||||||
|
<if test="sts != null and sts != ''"> and sts = #{sts} </if>
|
||||||
|
<if test="sorts != null"> and sorts = #{sorts} </if>
|
||||||
|
<if test="senceId != null and senceId != ''"> and sence_id = #{senceId} </if>
|
||||||
|
<if test="newState != null and newState != ''"> and new_state = #{newState} </if>
|
||||||
|
<if test="businessDate != null and businessDate != ''"> and business_date = #{businessDate} </if>
|
||||||
|
<if test="pluginId != null and pluginId != ''"> and plugin_id = #{pluginId} </if>
|
||||||
|
<if test="processingTime != null"> and processing_time = #{processingTime} </if>
|
||||||
|
<if test="processingRemarks != null and processingRemarks != ''"> and processing_remarks = #{processingRemarks} </if>
|
||||||
|
<if test="processorName != null and processorName != ''"> and processor_name = #{processorName} </if>
|
||||||
|
<if test="processor != null and processor != ''"> and processor = #{processor} </if>
|
||||||
|
<if test="newSystemNumber != null and newSystemNumber != ''"> and new_system_number = #{newSystemNumber} </if>
|
||||||
|
<if test="newSystemPrimary != null and newSystemPrimary != ''"> and new_system_primary = #{newSystemPrimary} </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'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
</update>
|
</update>
|
||||||
<!--通过主键删除-->
|
<!--通过主键删除-->
|
||||||
<delete id="entity_delete">
|
<delete id="entity_delete">
|
||||||
delete from integration_task_log where id = #{id}
|
delete from integration_task_living_details where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -1,33 +1,12 @@
|
||||||
package com.hzya.frame.sysnew.integtationTaskLog.service;
|
package com.hzya.frame.sysnew.integtationTaskLog.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity;
|
import com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity;
|
||||||
import com.hzya.frame.basedao.service.IBaseService;
|
import com.hzya.frame.basedao.service.IBaseService;
|
||||||
import com.hzya.frame.web.entity.JsonResultEntity;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 集成任务-实例详情(IntegrationTaskLog)表服务接口
|
* 集成任务-实例详情(IntegrationTaskLog)表服务接口
|
||||||
*
|
*
|
||||||
* @author makejava
|
* @author makejava
|
||||||
* @since 2024-05-06 15:37:55
|
* @since 2024-05-15 14:06:43
|
||||||
*/
|
*/
|
||||||
public interface IIntegrationTaskLogService extends IBaseService<IntegrationTaskLogEntity, String>{
|
public interface IIntegrationTaskLogService extends IBaseService<IntegrationTaskLogEntity, String>{
|
||||||
/**
|
|
||||||
* @param jsonObject
|
|
||||||
* @return com.hzya.frame.web.entity.JsonResultEntity
|
|
||||||
* @Author lvleigang
|
|
||||||
* @Description 查询任务日志列表分页
|
|
||||||
* @Date 11:52 上午 2024/3/27
|
|
||||||
**/
|
|
||||||
JsonResultEntity queryEntityPage(JSONObject jsonObject);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param jsonObject
|
|
||||||
* @return com.hzya.frame.web.entity.JsonResultEntity
|
|
||||||
* @Author lvleigang
|
|
||||||
* @Description 获取任务
|
|
||||||
* @Date 2:36 下午 2024/3/27
|
|
||||||
**/
|
|
||||||
JsonResultEntity getEntity(JSONObject jsonObject);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,17 @@
|
||||||
package com.hzya.frame.sysnew.integtationTaskLog.service.impl;
|
package com.hzya.frame.sysnew.integtationTaskLog.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.github.pagehelper.PageHelper;
|
|
||||||
import com.github.pagehelper.PageInfo;
|
|
||||||
import com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity;
|
import com.hzya.frame.sysnew.integtationTaskLog.entity.IntegrationTaskLogEntity;
|
||||||
import com.hzya.frame.sysnew.integtationTaskLog.dao.IIntegrationTaskLogDao;
|
import com.hzya.frame.sysnew.integtationTaskLog.dao.IIntegrationTaskLogDao;
|
||||||
import com.hzya.frame.sysnew.integtationTaskLog.service.IIntegrationTaskLogService;
|
import com.hzya.frame.sysnew.integtationTaskLog.service.IIntegrationTaskLogService;
|
||||||
import com.hzya.frame.web.entity.BaseResult;
|
import org.springframework.stereotype.Service;
|
||||||
import com.hzya.frame.web.entity.JsonResultEntity;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import javax.annotation.Resource;
|
||||||
import com.hzya.frame.basedao.service.impl.BaseService;
|
import com.hzya.frame.basedao.service.impl.BaseService;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 集成任务-实例详情(IntegrationTaskLog)表服务实现类
|
* 集成任务-实例详情(IntegrationTaskLog)表服务实现类
|
||||||
*
|
*
|
||||||
* @author makejava
|
* @author makejava
|
||||||
* @since 2024-05-06 15:37:55
|
* @since 2024-05-15 14:06:46
|
||||||
*/
|
*/
|
||||||
@Service(value = "integrationTaskLogService")
|
@Service(value = "integrationTaskLogService")
|
||||||
public class IntegrationTaskLogServiceImpl extends BaseService<IntegrationTaskLogEntity, String> implements IIntegrationTaskLogService {
|
public class IntegrationTaskLogServiceImpl extends BaseService<IntegrationTaskLogEntity, String> implements IIntegrationTaskLogService {
|
||||||
|
@ -30,48 +23,4 @@ public class IntegrationTaskLogServiceImpl extends BaseService<IntegrationTaskLo
|
||||||
this.integrationTaskLogDao = dao;
|
this.integrationTaskLogDao = dao;
|
||||||
this.dao = dao;
|
this.dao = dao;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param jsonObject
|
|
||||||
* @return com.hzya.frame.web.entity.JsonResultEntity
|
|
||||||
* @Author lvleigang
|
|
||||||
* @Description 查询任务日志列表分页
|
|
||||||
* @Date 11:52 上午 2024/3/27
|
|
||||||
**/
|
|
||||||
@Override
|
|
||||||
public JsonResultEntity queryEntityPage(JSONObject jsonObject) {
|
|
||||||
IntegrationTaskLogEntity entity = getData("jsonStr", jsonObject, IntegrationTaskLogEntity.class);
|
|
||||||
//判断分页
|
|
||||||
if (entity == null || entity.getPageNum() == null || entity.getPageSize() == null) {
|
|
||||||
return BaseResult.getFailureMessageEntity("分页查询参数不存在");
|
|
||||||
}
|
|
||||||
PageHelper.startPage(entity.getPageNum(), entity.getPageSize());
|
|
||||||
List<IntegrationTaskLogEntity> list = integrationTaskLogDao.queryByLike(entity);
|
|
||||||
PageInfo pageInfo = new PageInfo(list);
|
|
||||||
return BaseResult.getSuccessMessageEntity("查询数据成功", pageInfo);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param jsonObject
|
|
||||||
* @return com.hzya.frame.web.entity.JsonResultEntity
|
|
||||||
* @Author lvleigang
|
|
||||||
* @Description 获取任务日志
|
|
||||||
* @Date 2:36 下午 2024/3/27
|
|
||||||
**/
|
|
||||||
@Override
|
|
||||||
public JsonResultEntity getEntity(JSONObject jsonObject) {
|
|
||||||
IntegrationTaskLogEntity entity = getData("jsonStr", jsonObject, IntegrationTaskLogEntity.class);
|
|
||||||
if (entity == null) {
|
|
||||||
return BaseResult.getFailureMessageEntity("参数不允许为空");
|
|
||||||
}
|
|
||||||
if (entity.getId() == null || "".equals(entity.getId())) {
|
|
||||||
return BaseResult.getFailureMessageEntity("系统错误");
|
|
||||||
}
|
|
||||||
entity = integrationTaskLogDao.get(entity.getId());
|
|
||||||
if (entity == null) {
|
|
||||||
return BaseResult.getFailureMessageEntity("获取任务日志失败");
|
|
||||||
}
|
|
||||||
return BaseResult.getSuccessMessageEntity("获取任务日志成功", entity);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue