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

41 lines
1.1 KiB
Java
Raw Normal View History

2022-09-16 15:07:17 +08:00
package com.rzyc.mapper;
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);
}