增加AtuPlanTaskRecordMapper.java类,删除多余的类

master
李杰应 2024-10-17 15:36:51 +08:00
parent 7349ed567d
commit c053ed2583
2 changed files with 33 additions and 69 deletions

View File

@ -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
* <p>
* createdate: 2024-10-16 17:02:48 <br>
* @author: maven-cctp-plugin <br>
* @since: 1.0 <br>
*/
public interface AtuPlanTaskRecordMapper extends BasicDao<AtuPlanTaskRecord>
{
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";
}

View File

@ -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;
/**
*
*
* <p> <br>
* createdate: 2024-10-16 17:02:48 <br>
*
* @author: maven-cctp-plugin <br>
* @since: 1.0 <br>
*/
@Service
@ConditionalOnMissingBean(name = "AtuPlanTaskRecordServiceImpl")
public class AtuPlanTaskRecordServiceImpl extends PaginationService<AtuPlanTaskRecord> implements AtuPlanTaskRecordService {
private static final Logger logger = LoggerFactory.getLogger(AtuPlanTaskRecordServiceImpl.class);
private final AtuPlanTaskRecordDao atuPlanTaskRecordDao;
public AtuPlanTaskRecordServiceImpl(AtuPlanTaskRecordDao atuPlanTaskRecordDao) {
this.atuPlanTaskRecordDao = atuPlanTaskRecordDao;
}
public BasicDao<AtuPlanTaskRecord> 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<PlanTaskRecordDto> queryTotalTake(List<String> ids) {
return atuPlanTaskRecordDao.queryTotalTake(ids);
}
}