场景模型测试工具
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.
scmy/psdc-business/src/main/java/com/psdc/mapper/PsdcStrategyLogMapper.java

53 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;
/**
* @AuthorStone
* @Projectpsdc
* @FilenamePsdcStrategyLogMapper
* @Slogan 致敬大师致敬未来的你
* @Date2023/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);
}