feat: Implement job fair company registration review workflow
- Added review status fields to the public_job_fair_company table to manage company registration states (pending, approved, rejected). - Enhanced PublicJobFairServiceImpl to handle company registration, review, and job management for companies. - Updated PublicJobFairMapper.xml with new SQL queries for managing company relations and reviews. - Created migration script to add review fields and set default values for existing records. - Introduced new permissions for company users to manage job postings and registration status. - Added utility methods for ensuring proper role checks and company retrieval.
This commit is contained in:
@@ -60,10 +60,18 @@ CREATE TABLE "public_job_fair_company" (
|
||||
"create_time" TIMESTAMP,
|
||||
"update_by" VARCHAR(64),
|
||||
"update_time" TIMESTAMP,
|
||||
"del_flag" CHAR(1) DEFAULT '0'
|
||||
"del_flag" CHAR(1) DEFAULT '0',
|
||||
"review_status" CHAR(1) DEFAULT '1',
|
||||
"review_by" VARCHAR(64),
|
||||
"review_time" TIMESTAMP,
|
||||
"review_remark" VARCHAR(500)
|
||||
);
|
||||
|
||||
COMMENT ON TABLE "public_job_fair_company" IS '招聘会-企业关联表';
|
||||
COMMENT ON COLUMN "public_job_fair_company"."review_status" IS '审核状态 0待审核 1通过 2驳回';
|
||||
COMMENT ON COLUMN "public_job_fair_company"."review_by" IS '审核人';
|
||||
COMMENT ON COLUMN "public_job_fair_company"."review_time" IS '审核时间';
|
||||
COMMENT ON COLUMN "public_job_fair_company"."review_remark" IS '审核意见';
|
||||
|
||||
-- 招聘会-岗位关联表
|
||||
CREATE TABLE "public_job_fair_job" (
|
||||
|
||||
Reference in New Issue
Block a user