新增 充电订单电池算法报告实体类、Service

This commit is contained in:
Lemon
2025-04-12 15:39:23 +08:00
parent 4fe641de1b
commit ef596a6fc7
6 changed files with 588 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
package com.jsowell.pile.mapper;
import java.util.List;
import com.jsowell.pile.domain.ChargeAlgorithmRecord;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
/**
* 电池充电算法记录Mapper接口
*
* @author jsowell
* @date 2025-04-12
*/
@Repository
public interface ChargeAlgorithmRecordMapper {
/**
* 查询电池充电算法记录
*
* @param id 电池充电算法记录主键
* @return 电池充电算法记录
*/
public ChargeAlgorithmRecord selectChargeAlgorithmRecordById(Long id);
/**
* 查询电池充电算法记录列表
*
* @param chargeAlgorithmRecord 电池充电算法记录
* @return 电池充电算法记录集合
*/
public List<ChargeAlgorithmRecord> selectChargeAlgorithmRecordList(ChargeAlgorithmRecord chargeAlgorithmRecord);
/**
* 新增电池充电算法记录
*
* @param chargeAlgorithmRecord 电池充电算法记录
* @return 结果
*/
public int insertChargeAlgorithmRecord(ChargeAlgorithmRecord chargeAlgorithmRecord);
/**
* 修改电池充电算法记录
*
* @param chargeAlgorithmRecord 电池充电算法记录
* @return 结果
*/
public int updateChargeAlgorithmRecord(ChargeAlgorithmRecord chargeAlgorithmRecord);
/**
* 删除电池充电算法记录
*
* @param id 电池充电算法记录主键
* @return 结果
*/
public int deleteChargeAlgorithmRecordById(Long id);
/**
* 批量删除电池充电算法记录
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteChargeAlgorithmRecordByIds(Long[] ids);
/**
* 通过订单号查询充电电池算法报告
* @param orderCode
* @return
*/
ChargeAlgorithmRecord queryRecordByOrderCode(String orderCode);
}