From c053ed2583215d59b11989eec69e580194949a55 Mon Sep 17 00:00:00 2001 From: "jieying.li" Date: Thu, 17 Oct 2024 15:36:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0AtuPlanTaskRecordMapper.java?= =?UTF-8?q?=E7=B1=BB=EF=BC=8C=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../db/mapper/AtuPlanTaskRecordMapper.java | 33 +++++++++ .../mapper/AtuPlanTaskRecordServiceImpl.java | 69 ------------------- 2 files changed, 33 insertions(+), 69 deletions(-) create mode 100644 cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordMapper.java delete mode 100644 cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordServiceImpl.java diff --git a/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordMapper.java b/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordMapper.java new file mode 100644 index 0000000..c975bc9 --- /dev/null +++ b/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordMapper.java @@ -0,0 +1,33 @@ +/* +* Copyright (c) 京北方信息技术股份有限公司 Corporation 2024 . All rights reserved. +* +*/ +package net.northking.cctp.executePlan.db.mapper; + +import net.northking.cctp.common.db.BasicDao; +import net.northking.cctp.executePlan.db.entity.AtuPlanTaskRecord; + +/** + * Mybatis数据库持久层(底层):任务执行记录表 + *

文件内容由代码生成器产生,请不要手动修改! + * createdate: 2024-10-16 17:02:48
+ * @author: maven-cctp-plugin
+ * @since: 1.0
+ */ +public interface AtuPlanTaskRecordMapper extends BasicDao +{ + String EntityName = "AtuPlanTaskRecord"; + + String COLUMN_id = "id"; + String COLUMN_taskId = "task_id"; + String COLUMN_batchId = "batch_id"; + String COLUMN_execIdx = "exec_idx"; + String COLUMN_startTime = "start_time"; + String COLUMN_endTime = "end_time"; + String COLUMN_executeType = "execute_type"; + String COLUMN_status = "status"; + String COLUMN_errorMsg = "error_msg"; + String COLUMN_videoUrl = "video_url"; + String COLUMN_execResultFile = "exec_result_file"; + +} diff --git a/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordServiceImpl.java b/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordServiceImpl.java deleted file mode 100644 index 87902f7..0000000 --- a/cctp-atu/atu-execute-plan/src/main/java/net/northking/cctp/executePlan/db/mapper/AtuPlanTaskRecordServiceImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 京北方信息技术股份有限公司 Corporation 2024 . All rights reserved. - * - */ -package net.northking.cctp.executePlan.db.mapper; - -import net.northking.cctp.executePlan.db.dao.AtuPlanTaskRecordDao; -import net.northking.cctp.executePlan.db.service.AtuPlanTaskRecordService; -import net.northking.cctp.executePlan.db.entity.AtuPlanTaskRecord; - -import net.northking.cctp.common.db.BasicDao; -import net.northking.cctp.common.db.PaginationService; - -import net.northking.cctp.executePlan.dto.planTask.PlanTaskRecordDto; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.stereotype.Service; - -import java.util.List; - - -/** - * 任务执行记录表 - * - *

文件内容由代码生成器产生,请不要手动修改!
- * createdate: 2024-10-16 17:02:48
- * - * @author: maven-cctp-plugin
- * @since: 1.0
- */ -@Service -@ConditionalOnMissingBean(name = "AtuPlanTaskRecordServiceImpl") -public class AtuPlanTaskRecordServiceImpl extends PaginationService implements AtuPlanTaskRecordService { - private static final Logger logger = LoggerFactory.getLogger(AtuPlanTaskRecordServiceImpl.class); - - private final AtuPlanTaskRecordDao atuPlanTaskRecordDao; - - public AtuPlanTaskRecordServiceImpl(AtuPlanTaskRecordDao atuPlanTaskRecordDao) { - this.atuPlanTaskRecordDao = atuPlanTaskRecordDao; - } - - public BasicDao getDao() { - return atuPlanTaskRecordDao; - } - - public AtuPlanTaskRecord createEntity() { - return new AtuPlanTaskRecord(); - } - - @Override - protected void beforeInsert(AtuPlanTaskRecord record) { - - } - - @Override - protected void beforeUpdate(AtuPlanTaskRecord record) { - - } - - // ---- The End by Generator ----// - @Override - public List queryTotalTake(List ids) { - return atuPlanTaskRecordDao.queryTotalTake(ids); - } - - -} -