工业互联网平台2.0版本后端代码
dengzedong
2025-04-17 542fdd93d14b78a1134f0c1a03d647db242b15a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.iailab.module.model.mcs.pre.dao;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.tenant.core.db.dynamic.TenantDS;
import com.iailab.module.model.mcs.pre.entity.MmPredictAutoAdjustConfigEntity;
import com.iailab.module.model.mcs.pre.entity.MmPredictInfluenceFactorConfigEntity;
import com.iailab.module.model.mcs.pre.vo.*;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @description:
 * @author: dzd
 * @date: 2025/4/8 14:16
 **/
@TenantDS
@Mapper
public interface MmPredictInfluenceFactorDao extends BaseMapperX<MmPredictInfluenceFactorConfigEntity> {
 
    IPage<MmPredictInfluenceFactorConfigVO> getPage(IPage<MmPredictInfluenceFactorConfigEntity> page, @Param("params") MmPredictInfluenceFactorPageReqVO reqVO);
 
    default IPage<MmPredictInfluenceFactorConfigVO> selectPage(MmPredictInfluenceFactorPageReqVO params) {
        return getPage(getPage(params), params);
    }
 
    MmPredictInfluenceFactorConfigVO getInfo(String id);
 
    void insertInfluenceFactor(List<MmPredictInfluenceFactorVO> list);
 
    @Delete("DELETE FROM t_mm_predict_influence_factor WHERE config_id = #{configId}")
    void deleteInfluenceFactor(String configId);
 
    List<MmPredictInfluenceFactorHandleVO> selectList(@Param("params") Map<String, Object> params);
}