feat: Add SHZ log inspection and HighGo database querying capabilities
- Introduced `inspect-shz-logs` skill for inspecting local and production logs with bounded read-only commands. - Added `view.sh` script for log viewing with options for following logs and filtering by keywords. - Created `query-shz-highgo` skill for querying the SHZ HighGo database through an SSH gateway. - Implemented read-only SQL execution with strict controls on allowed statements and query structure. - Added new domain and mapper classes for managing outdoor fair job associations. - Enhanced `OutdoorFairController` to support job listing and management for outdoor fairs. - Created SQL scripts for initializing outdoor fair job data and managing menu visibility.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.ruoyi.cms.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.cms.domain.Job;
|
||||
import com.ruoyi.cms.domain.OutdoorFairJob;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 户外招聘会岗位关联 Mapper。
|
||||
*/
|
||||
public interface OutdoorFairJobMapper extends BaseMapper<OutdoorFairJob>
|
||||
{
|
||||
List<Job> selectFairJobPage(@Param("fairId") Long fairId,
|
||||
@Param("companyId") Long companyId,
|
||||
@Param("companyName") String companyName,
|
||||
@Param("jobTitle") String jobTitle,
|
||||
@Param("education") String education,
|
||||
@Param("experience") String experience,
|
||||
@Param("offset") int offset,
|
||||
@Param("pageSize") int pageSize);
|
||||
|
||||
Long countFairJobs(@Param("fairId") Long fairId,
|
||||
@Param("companyId") Long companyId,
|
||||
@Param("companyName") String companyName,
|
||||
@Param("jobTitle") String jobTitle,
|
||||
@Param("education") String education,
|
||||
@Param("experience") String experience);
|
||||
|
||||
List<Map<String, Object>> countJobsByCompany(@Param("fairId") Long fairId);
|
||||
}
|
||||
Reference in New Issue
Block a user