jinpengyong
2023-11-10 c64ca12b8679d73fc7f8109f0e08fa8c74352164
screen-api/src/main/java/com/moral/api/mapper/ResponsibilityUnitMapper.java
@@ -3,6 +3,31 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moral.api.entity.ResponsibilityUnit;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ResponsibilityUnitMapper extends BaseMapper<ResponsibilityUnit> {
    /**
     * 查询责任单位id
     * @param id
     * @return
     */
    List<Integer> selectResultList(@Param("id") Integer id);
    String selectAreaCode(@Param("id") Integer id);
    /**
     * 查询字典id
     */
    List<Integer> selectCodeList(@Param("code") String code,@Param("id") Integer id);
    /**
     * 查询字典类型名字
     * @param code
     * @param id
     * @return
     */
    String selectName(@Param("code") String code,@Param("id") Integer id);
}