feat:增加职位管理功能

This commit is contained in:
曾文豪
2023-03-28 16:40:54 +08:00
parent c446ee8f75
commit af70808da6
19 changed files with 950 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
package com.tiesheng.demo.config;
import cn.hutool.core.collection.CollUtil;
import com.tiesheng.core.service.JobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
/**
* @author hao
*/
@Component
public class TestJobConfig {
@Autowired
JobService jobService;
@PostConstruct
public void init() {
jobService.refreshPoint("230328001", "demo", "辅导员统计", "辅导员责任班级,学生展示");
// 辅导员职位
jobService.refresh("class_fdy", "辅导员", "辅导员", 1, CollUtil.newArrayList("230328001"));
}
}