You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
package com.psdc.mapper;
|
|
|
|
import com.psdc.entity.PsdcStrategyLog;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Author:Stone
|
|
* @Project:psdc
|
|
* @Filename:PsdcStrategyLogMapper
|
|
* @Slogan 致敬大师,致敬未来的你
|
|
* @Date:2023/6/21 9:30
|
|
* @Version 1.0
|
|
*/
|
|
@Mapper
|
|
@Repository
|
|
public interface PsdcStrategyLogMapper {
|
|
|
|
Long queryStrategyId(String sceneId);
|
|
|
|
List<PsdcStrategyLog> selMyStrategyLog(@Param("userId") Long userId);
|
|
|
|
PsdcStrategyLog selMyNewLog(@Param("userId") Long userId,
|
|
@Param("code") Long code);
|
|
|
|
PsdcStrategyLog selNewLog(@Param("code") Long code);
|
|
|
|
PsdcStrategyLog selMyRunLog(@Param("runSta") Integer runSta);
|
|
|
|
PsdcStrategyLog selMyRunStrategy(@Param("userId") Long userId,
|
|
@Param("code") Integer status);
|
|
|
|
/**
|
|
* 新增数据
|
|
*
|
|
* @param psdcStrategyLog 实例对象
|
|
* @return 影响行数
|
|
*/
|
|
Integer InsertStrategyLog(PsdcStrategyLog psdcStrategyLog);
|
|
|
|
Integer updateRunRes(@Param("Id") Integer Id,
|
|
@Param("endTime") String endTime,
|
|
@Param("runtimeStatus") Integer runtimeStatus,
|
|
@Param("runSceneCodes") String runSceneCodes,
|
|
@Param("strategyRunRes") String strategyRunRes,
|
|
@Param("inAfterAvgTemp") Double inAfterAvgTemp,
|
|
@Param("outAfterAvgTemp") Double outAfterAvgTemp);
|
|
|
|
}
|
|
|