ganzi-api/inventory-dao/src/main/java/com/rzyc/mapper/RkSourcesMapper.java

50 lines
1.3 KiB
Java
Raw Normal View History

2022-09-16 15:07:17 +08:00
package com.rzyc.mapper;
2023-03-14 16:54:21 +08:00
import com.rzyc.bean.risk.RkSourcesDto;
2022-09-16 15:07:17 +08:00
import com.rzyc.model.RkSources;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import java.util.List;
/**
* <p>
* Mapper 接口
* </p>
*
* @author
* @since 2022-08-02
*/
@Repository
public interface RkSourcesMapper extends BaseMapper<RkSources> {
/*风险源列表*/
List<RkSources> sourcesList(@Param("condition") String condition,
@Param("enterpriseId") String enterpriseId,
@Param("riskGrade") Integer riskGrade);
/*风险源列表*/
List<RkSources> findByIndex(@Param("enterpriseId") String enterpriseId);
/*已经标记的危险源列表*/
List<RkSources> signedSource(@Param("enterpriseId") String enterpriseId,
@Param("documentId") String documentId);
/*取消危险源标记*/
Integer changeIndex(@Param("sourceId") String sourceId);
2023-03-14 16:54:21 +08:00
/**
* 风险源信息分页查询
* @param RkSourcesDto
* @return
*/
List<RkSources> selectPageRkSources(RkSourcesDto RkSourcesDto);
2022-09-16 15:07:17 +08:00
}