Commit 1687837a by 涂亚平

准备周六在家加班......

1 parent 257da81e
Showing with 2293 additions and 183 deletions
This diff could not be displayed because it is too large.
......@@ -2,6 +2,7 @@ package com.laowu.controller;
import com.laowu.common.interceptor.LoginRequired;
import com.laowu.dto.administer.AllDTO;
import com.laowu.model.AdministerDO;
import com.laowu.service.AdministerService;
import com.laowu.util.ResponseData;
......@@ -43,6 +44,28 @@ public class AdministerController {
return ResponseData.generateCreatedResponse(0, administerService.getPermissions());
}
@PostMapping("/all")
@ApiOperation("管理员账户 status pageSize pageNum")
public ResponseVO all(@RequestBody AllDTO allDTO){
return ResponseData.generateCreatedResponse(0,administerService.all(allDTO));
}
@PostMapping("addAdminister")
@ApiOperation("新增管理员 addAdminister userName telephone remark")
public ResponseVO addAdminister(@RequestBody AdministerDO administerDO){
return ResponseData.generateCreatedResponse(0,administerService.addAdminister(administerDO));
}
@PostMapping("updateAdminister")
@ApiOperation("修改管理员 id addAdminister userName telephone remark status")
public ResponseVO updateAdminister(@RequestBody AdministerDO administerDO){
return ResponseData.generateCreatedResponse(0,administerService.updateAdminister(administerDO));
}
@PostMapping("deleteAdminister")
@ApiOperation("删除管理员 id ")
public ResponseVO deleteAdminister(@RequestBody AdministerDO administerDO){
return ResponseData.generateCreatedResponse(0,administerService.deleteAdminister(administerDO));
}
}
package com.laowu.controller;
import com.laowu.model.BusinessDictDO;
import com.laowu.service.BusinessDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 经营范围 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-02-20
*/
@RestController
@Api(tags = "经营范围")
@RequestMapping("/businessDict")
public class BusinessDictController {
@Autowired
private BusinessDictService businessDictService;
@PostMapping("addBusiness")
@ApiOperation("新增经营范围 business")
public ResponseVO addBusiness(@RequestBody BusinessDictDO businessDictDO){
return ResponseData.generateCreatedResponse(0,businessDictService.addBusiness(businessDictDO));
}
@PostMapping("updateBusiness")
@ApiOperation("修改经营范围 id business")
public ResponseVO updateBusiness(@RequestBody BusinessDictDO businessDictDO){
return ResponseData.generateCreatedResponse(0,businessDictService.updateBusiness(businessDictDO));
}
@PostMapping("deleteBusiness")
@ApiOperation("删除经营范围 id")
public ResponseVO deleteBusiness(@RequestBody BusinessDictDO businessDictDO){
return ResponseData.generateCreatedResponse(0,businessDictService.deleteBusiness(businessDictDO));
}
@PostMapping("queryBusiness")
@ApiOperation("查询经营范围")
public ResponseVO queryBusiness(){
return ResponseData.generateCreatedResponse(0,businessDictService.queryBusiness());
}
}
package com.laowu.controller;
import com.laowu.model.CollegeMajorMappingDO;
import com.laowu.service.CollegeMajorMappingService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 院校专业映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "院校专业映射表")
@RequestMapping("/collegeMajorMapping")
public class CollegeMajorMappingController {
@Autowired
private CollegeMajorMappingService collegeMajorMappingService;
@PostMapping("addCollegeMajor")
@ApiOperation("往院校添加专业 collegeId majorId studentCnt ")
public ResponseVO addCollegeMajor(@RequestBody CollegeMajorMappingDO collegeMajorMappingDO){
return ResponseData.generateCreatedResponse(0,collegeMajorMappingService.addCollegeMajor(collegeMajorMappingDO));
}
@PostMapping("updateCollegeMajor")
@ApiOperation("往院校修改专业 id collegeId majorId studentCnt ")
public ResponseVO updateCollegeMajor(@RequestBody CollegeMajorMappingDO collegeMajorMappingDO){
return ResponseData.generateCreatedResponse(0,collegeMajorMappingService.updateCollegeMajor(collegeMajorMappingDO));
}
@PostMapping("deleteCollegeMajor")
@ApiOperation("往院校删除专业 id ")
public ResponseVO deleteCollegeMajor(@RequestBody CollegeMajorMappingDO collegeMajorMappingDO){
return ResponseData.generateCreatedResponse(0,collegeMajorMappingService.deleteCollegeMajor(collegeMajorMappingDO));
}
}
......@@ -3,7 +3,10 @@ package com.laowu.controller;
import com.laowu.dto.company.AddCompanyDTO;
import com.laowu.dto.company.CompanyDTO;
import com.laowu.dto.company.DeleteCompanyDTO;
import com.laowu.dto.company.StationCompanyDTO;
import com.laowu.model.CompanyDictDO;
import com.laowu.model.WorkstationDictDO;
import com.laowu.service.CompanyDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
......@@ -32,25 +35,25 @@ public class CompanyDictController {
private CompanyDictService companyDictService;
@PostMapping("/company")
@ApiOperation("获取所有企业 pageSize pageNum companyName cityId businessId")
@ApiOperation("获取所有企业 pageSize pageNum province city county companyName")
public ResponseVO company(@RequestBody CompanyDTO companyDTO){
return ResponseData.generateCreatedResponse(0,companyDictService.company(companyDTO));
}
@PostMapping("deleteCompany")
@ApiOperation("删除某个企业 id")
public ResponseVO deleteCompany(@RequestBody CompanyDictDO companyDictDO){
return ResponseData.generateCreatedResponse(0,companyDictService.deleteCompany(companyDictDO));
@ApiOperation("删除某个企业 userId module id")
public ResponseVO deleteCompany(@RequestBody DeleteCompanyDTO deleteCompanyDTO){
return ResponseData.generateCreatedResponse(0,companyDictService.deleteCompany(deleteCompanyDTO));
}
@PostMapping("addCompany")
@ApiOperation("添加企业 companyName companyLogo cityId businessId companyCode account companyDesc companyPhotoDOS[ photo]")
@ApiOperation("添加企业 userId module 模块 companyName companyLogo province city county positionId companyCode account companyDesc companyOrigin companyPhotoDOS[ photo] companyLabelDOS[ label] 关联业务 stationId")
public ResponseVO addCompany(@RequestBody AddCompanyDTO addCompanyDTO){
return ResponseData.generateCreatedResponse(0,companyDictService.addCompany(addCompanyDTO));
}
@PostMapping("updateCompany")
@ApiOperation("更新企业 id companyName companyLogo cityId businessId companyCode account companyDesc companyPhotoDOS[ photo]")
@ApiOperation("更新企业 userId module id companyName companyLogo province city county positionId companyCode account companyDesc companyOrigin companyPhotoDOS[ photo] companyLabelDOS[ label] 关联业务 stationId")
public ResponseVO updateCompany(@RequestBody AddCompanyDTO addCompanyDTO){
return ResponseData.generateCreatedResponse(0,companyDictService.updateCompany(addCompanyDTO));
}
......@@ -61,4 +64,16 @@ public class CompanyDictController {
return ResponseData.generateCreatedResponse(0,companyDictService.oneCompany(companyDictDO));
}
@PostMapping("totalCount")
@ApiOperation("查看某个省某个工作站的企业数 id 工作站id")
public ResponseVO totalCount(@RequestBody WorkstationDictDO workstationDictDO){
return ResponseData.generateCreatedResponse(0,companyDictService.totalCount(workstationDictDO));
}
@PostMapping("stationCompany")
@ApiOperation("查看工作站下的企业 id 工作站id")
public ResponseVO stationCompany(@RequestBody StationCompanyDTO stationCompanyDTO){
return ResponseData.generateCreatedResponse(0,companyDictService.stationCompany(stationCompanyDTO));
}
}
package com.laowu.controller;
import com.laowu.service.CityDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -14,25 +8,15 @@ import io.swagger.annotations.Api;
/**
* <p>
* 城市字典表 前端控制器
* 企业标签 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-02-15
* @since 2023-03-22
*/
@RestController
@Api(tags = "城市字典表")
@RequestMapping("/cityDict")
public class CityDictController {
@Autowired
private CityDictService cityDictService;
@PostMapping("allCities")
@ApiOperation("查询所有城市 ")
public ResponseVO allCities(){
return ResponseData.generateCreatedResponse(0,cityDictService.allCities());
}
@Api(tags = "企业标签")
@RequestMapping("/companyLabel")
public class CompanyLabelController {
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 公司关联业务映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-22
*/
@RestController
@Api(tags = "公司关联业务映射表")
@RequestMapping("/company-relate-work-do")
public class CompanyRelateWorkController {
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 公司更新日志表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "公司更新日志表")
@RequestMapping("/company-update-history-do")
public class CompanyUpdateHistoryController {
}
package com.laowu.controller;
import com.laowu.dto.college.CollegeDTO;
import com.laowu.model.LibCollegeDO;
import com.laowu.service.LibCollegeService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 院校信息管理 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "院校信息管理")
@RequestMapping("/libColleges")
public class LibCollegeController {
@Autowired
private LibCollegeService libCollegeService;
@PostMapping("colleges")
@ApiOperation("查询院校列表 pageSize pageNum province city county status")
public ResponseVO colleges(@RequestBody CollegeDTO collegeDTO){
return ResponseData.generateCreatedResponse(0,libCollegeService.colleges(collegeDTO));
}
@PostMapping("deleteCollege")
@ApiOperation("删除院校 id")
public ResponseVO deleteCollege(@RequestBody LibCollegeDO libCollegeDO){
return ResponseData.generateCreatedResponse(0,libCollegeService.deleteCollege(libCollegeDO));
}
@PostMapping("oneCollege")
@ApiOperation("查看详情 id ")
public ResponseVO oneCollege(@RequestBody LibCollegeDO libCollegeDO){
return ResponseData.generateCreatedResponse(0,libCollegeService.oneCollege(libCollegeDO));
}
@PostMapping("addCollege")
@ApiOperation("添加院校 college province city county town collegeType collegeCode status")
public ResponseVO addCollege(@RequestBody LibCollegeDO libCollegeDO){
return ResponseData.generateCreatedResponse(0,libCollegeService.addCollege(libCollegeDO));
}
@PostMapping("updateCollege")
@ApiOperation("修改院校 id college province city county town collegeType collegeCode status")
public ResponseVO updateCollege(@RequestBody LibCollegeDO libCollegeDO){
return ResponseData.generateCreatedResponse(0,libCollegeService.updateCollege(libCollegeDO));
}
}
package com.laowu.controller;
import com.laowu.dto.geo.AllGeosDTO;
import com.laowu.model.LibGeoLocationDO;
import com.laowu.service.LibGeoLocationService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 地理位置字典表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-21
*/
@RestController
@Api(tags = "地理位置字典表")
@RequestMapping("/libGeoLocation")
public class LibGeoLocationController {
@Autowired
private LibGeoLocationService libGeoLocationService;
@PostMapping("provinces")
@ApiOperation("查询所有的省")
public ResponseVO provinces(){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.provinces());
}
// @PostMapping("cities")
// @ApiOperation("通过省去查所有市 province")
// public ResponseVO cities(@RequestBody LibGeoLocationDO libGeoLocationDO){
// return ResponseData.generateCreatedResponse(0,libGeoLocationService.cities(libGeoLocationDO));
// }
//
// @PostMapping("county")
// @ApiOperation("通过省、市去查所有县 province,city")
// public ResponseVO county(@RequestBody LibGeoLocationDO libGeoLocationDO){
// return ResponseData.generateCreatedResponse(0,libGeoLocationService.county(libGeoLocationDO));
// }
@PostMapping("villages")
@ApiOperation("通过省市县镇 查村 province city county town")
public ResponseVO village(@RequestBody LibGeoLocationDO libGeoLocationDO){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.villages(libGeoLocationDO));
}
@PostMapping("geo")
@ApiOperation("查看所有地理位置 pageSize pageNum province city county town")
public ResponseVO geo(@RequestBody AllGeosDTO allGeosDTO){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.geo(allGeosDTO));
}
@PostMapping("addGeo")
@ApiOperation("添加地理位置/添加村 province city county town village")
public ResponseVO addGeo(@RequestBody LibGeoLocationDO libGeoLocationDO){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.addGeo(libGeoLocationDO));
}
@PostMapping("updateGeo")
@ApiOperation("修改地理位置 id province city county town village")
public ResponseVO updateGeo(@RequestBody LibGeoLocationDO libGeoLocationDO){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.updateGeo(libGeoLocationDO));
}
@PostMapping("deleteGeo")
@ApiOperation("删除地理位置 id ")
public ResponseVO deleteGeo(@RequestBody LibGeoLocationDO libGeoLocationDO){
return ResponseData.generateCreatedResponse(0,libGeoLocationService.deleteGeo(libGeoLocationDO));
}
}
package com.laowu.controller;
import com.laowu.model.LibJobSortDO;
import com.laowu.service.LibJobSortService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 职业分类信息管理 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-24
*/
@RestController
@Api(tags = "职业分类信息管理")
@RequestMapping("/jobSort")
public class LibJobSortController {
@Autowired
private LibJobSortService libJobSortService;
@PostMapping("sorts")
@ApiOperation("查看所有的职业分类")
public ResponseVO sorts(){
return ResponseData.generateCreatedResponse(0,libJobSortService.sorts());
}
@PostMapping("addSort")
@ApiOperation("添加分类 jobName sortCode sort parentId")
public ResponseVO addSort(@RequestBody LibJobSortDO libJobSortDO){
return ResponseData.generateCreatedResponse(0,libJobSortService.addSort(libJobSortDO));
}
@PostMapping("updateSort")
@ApiOperation("修改分类 id jobName sortCode sort ")
public ResponseVO updateSort(@RequestBody LibJobSortDO libJobSortDO){
return ResponseData.generateCreatedResponse(0,libJobSortService.updateSort(libJobSortDO));
}
@PostMapping("deleteSort")
@ApiOperation("删除分类 id")
public ResponseVO deleteSort(@RequestBody LibJobSortDO libJobSortDO){
return ResponseData.generateCreatedResponse(0,libJobSortService.deleteSort(libJobSortDO));
}
}
package com.laowu.controller;
import com.laowu.dto.major.AllMajorDTO;
import com.laowu.model.LibMajorDO;
import com.laowu.service.LibMajorService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 专业字典表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "专业字典表")
@RequestMapping("/libMajor")
public class LibMajorController {
@Autowired
private LibMajorService libMajorService;
@PostMapping("allMajor")
@ApiOperation("查询所有专业 pageSize pageNum major collegeType")
public ResponseVO allMajor(@RequestBody AllMajorDTO allMajorDTO) {
return ResponseData.generateCreatedResponse(0, libMajorService.allMajor(allMajorDTO));
}
@PostMapping("addMajor")
@ApiOperation("添加专业 collegeType major majorCode")
public ResponseVO addMajor(@RequestBody LibMajorDO libMajorDO){
return ResponseData.generateCreatedResponse(0,libMajorService.addMajor(libMajorDO));
}
@PostMapping("updateMajor")
@ApiOperation("修改专业 id collegeType major majorCode")
public ResponseVO updateMajor(@RequestBody LibMajorDO libMajorDO){
return ResponseData.generateCreatedResponse(0,libMajorService.updateMajor(libMajorDO));
}
@PostMapping("deleteMajor")
@ApiOperation("删除专业 id")
public ResponseVO deleteMajor(@RequestBody LibMajorDO libMajorDO){
return ResponseData.generateCreatedResponse(0,libMajorService.deleteMajor(libMajorDO));
}
}
package com.laowu.controller;
import com.laowu.dto.provider.ProvidersDTO;
import com.laowu.model.LibServiceProviderDO;
import com.laowu.service.LibServiceProviderService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 服务商信息字典表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-24
*/
@RestController
@Api(tags = "服务商信息字典表")
@RequestMapping("/serviceProvider")
public class LibServiceProviderController {
@Autowired
private LibServiceProviderService libServiceProviderService;
@PostMapping("providers")
@ApiOperation("查看所有服务商 pageSize pageNum province city county serviceProvider ")
public ResponseVO providers(@RequestBody ProvidersDTO providersDTO){
return ResponseData.generateCreatedResponse(0,libServiceProviderService.providers(providersDTO));
}
@PostMapping("addProvider")
@ApiOperation("新增服务商 province city county serviceProvider socialCreditCode")
public ResponseVO addProvider(@RequestBody LibServiceProviderDO libServiceProviderDO){
return ResponseData.generateCreatedResponse(0,libServiceProviderService.addProvider(libServiceProviderDO));
}
@PostMapping("deleteProvider")
@ApiOperation("新增服务商 id")
public ResponseVO deleteProvider(@RequestBody LibServiceProviderDO libServiceProviderDO){
return ResponseData.generateCreatedResponse(0,libServiceProviderService.deleteProvider(libServiceProviderDO));
}
@PostMapping("updateProvider")
@ApiOperation("新增服务商 id province city county serviceProvider socialCreditCode")
public ResponseVO updateProvider(@RequestBody LibServiceProviderDO libServiceProviderDO){
return ResponseData.generateCreatedResponse(0,libServiceProviderService.updateProvider(libServiceProviderDO));
}
}
package com.laowu.controller;
import com.laowu.model.MemberCollegeMappingDO;
import com.laowu.service.MemberCollegeMappingService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 学员-学校映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-04-04
*/
@RestController
@Api(tags = "学员-学校映射表")
@RequestMapping("/memberCollege")
public class MemberCollegeMappingController {
@Autowired
private MemberCollegeMappingService memberCollegeMappingService;
@PostMapping("addCollege")
@ApiOperation("添加院校信息 schoolType collegeId memberId startDate endDate majorId rank educationType")
public ResponseVO addCollege(@RequestBody MemberCollegeMappingDO memberCollegeMappingDO){
return ResponseData.generateCreatedResponse(0,memberCollegeMappingService.addCollege(memberCollegeMappingDO));
}
@PostMapping("updateCollege")
@ApiOperation("修改院校 id schoolType collegeId memberId startDate endDate majorId rank educationType")
public ResponseVO updateCollege(@RequestBody MemberCollegeMappingDO memberCollegeMappingDO){
return ResponseData.generateCreatedResponse(0,memberCollegeMappingService.updateCollege(memberCollegeMappingDO));
}
@PostMapping("deleteCollege")
@ApiOperation("删除院校 id")
public ResponseVO deleteCollege(@RequestBody MemberCollegeMappingDO memberCollegeMappingDO){
return ResponseData.generateCreatedResponse(0,memberCollegeMappingService.deleteCollege(memberCollegeMappingDO));
}
}
package com.laowu.controller;
import com.laowu.dto.member.AddMemberDTO;
import com.laowu.dto.member.AllMembersDTO;
import com.laowu.dto.member.UpdateMemberDTO;
import com.laowu.model.MemberDictDO;
import com.laowu.service.MemberDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 自然人表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "自然人表")
@RequestMapping("/memberDict")
public class MemberDictController {
@Autowired
private MemberDictService memberDictService;
@PostMapping("allMembers")
@ApiOperation("查询所有自然人 pageSize pageNum province city county status userName")
public ResponseVO allMembers(@RequestBody AllMembersDTO allMembersDTO){
return ResponseData.generateCreatedResponse(0,memberDictService.allMembers(allMembersDTO));
}
@PostMapping("deleteMember")
@ApiOperation("删除自然人 id userId module")
public ResponseVO deleteMember(@RequestBody AddMemberDTO addMemberDTO){
return ResponseData.generateCreatedResponse(0,memberDictService.deleteMember(addMemberDTO));
}
@PostMapping("addMember")
@ApiOperation("添加自然人 userId module userName status 学生/社会 telephone idCardType idCard province city county address education" +
"isPoor isMigration isParty jobStatus stationId")
public ResponseVO addMember(@RequestBody AddMemberDTO addMemberDTO){
return ResponseData.generateCreatedResponse(0,memberDictService.addMember(addMemberDTO));
}
@PostMapping("oneMember")
@ApiOperation("查看详情 id 人员id")
public ResponseVO oneMember(@RequestBody MemberDictDO memberDictDO){
return ResponseData.generateCreatedResponse(0,memberDictService.oneMember(memberDictDO));
}
@PostMapping("updateMember")
@ApiOperation("修改自然人 id userId module userName status 学生/社会 telephone idCardType idCard province city county address education" +
"isPoor isMigration isParty jobStatus infoOrigin")
public ResponseVO updateMember(@RequestBody UpdateMemberDTO updateMemberDTO){
return ResponseData.generateCreatedResponse(0,memberDictService.updateMember(updateMemberDTO));
}
}
package com.laowu.controller;
import com.laowu.model.MemberJobInfoDO;
import com.laowu.service.MemberJobInfoService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@RestController
@Api(tags = "自然人就业信息表")
@RequestMapping("/memberJobInfo")
public class MemberJobInfoController {
@Autowired
private MemberJobInfoService memberJobInfoService;
@PostMapping("addJob")
@ApiOperation("添加工作 memberId jobSource jobType job province city town address companyId startDate endDate jobMonth salary ")
public ResponseVO addJob(@RequestBody MemberJobInfoDO memberJobInfoDO){
return ResponseData.generateCreatedResponse(0,memberJobInfoService.addJob(memberJobInfoDO));
}
@PostMapping("updateJob")
@ApiOperation("修改工作 id memberId jobSource jobType job province city town address companyId startDate endDate jobMonth salary ")
public ResponseVO updateJob(@RequestBody MemberJobInfoDO memberJobInfoDO){
return ResponseData.generateCreatedResponse(0,memberJobInfoService.updateJob(memberJobInfoDO));
}
@PostMapping("deleteJob")
@ApiOperation("删除工作 id ")
public ResponseVO deleteJob(@RequestBody MemberJobInfoDO memberJobInfoDO){
return ResponseData.generateCreatedResponse(0,memberJobInfoService.deleteJob(memberJobInfoDO));
}
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 团队成员映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-29
*/
@RestController
@Api(tags = "团队成员映射表")
@RequestMapping("/member-team-mapping-do")
public class MemberTeamMappingController {
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 公司更新日志表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-04-07
*/
@RestController
@Api(tags = "公司更新日志表")
@RequestMapping("/member-update-history-do")
public class MemberUpdateHistoryController {
}
package com.laowu.controller;
import com.laowu.dto.place.AddPlaceDTO;
import com.laowu.model.PlaceDictDO;
import com.laowu.service.PlaceDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 地区字典表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-02-15
*/
@RestController
@Api(tags = "地区字典表")
@RequestMapping("/placeDict")
public class PlaceDictController {
@Autowired
private PlaceDictService placeDictService;
@PostMapping("allPlaces")
@ApiOperation("查看所有工作地点")
public ResponseVO allPlaces(){
return ResponseData.generateCreatedResponse(0,placeDictService.allPlaces());
}
@PostMapping("deletePlace")
@ApiOperation("删除工作地点 id")
public ResponseVO deletePlace(@RequestBody PlaceDictDO placeDictDO){
return ResponseData.generateCreatedResponse(0,placeDictService.deletePlace(placeDictDO));
}
@PostMapping("addPlace")
@ApiOperation("添加工作地点 place secondTitle desc cityId placeImgsDOS[img]")
public ResponseVO addPlace(@RequestBody AddPlaceDTO addPlaceDTO){
return ResponseData.generateCreatedResponse(0,placeDictService.addPlace(addPlaceDTO));
}
@PostMapping("updatePlace")
@ApiOperation("修改工作地点 id place secondTitle desc cityId placeImgsDOS[img]")
public ResponseVO updatePlace(@RequestBody AddPlaceDTO addPlaceDTO){
return ResponseData.generateCreatedResponse(0,placeDictService.updatePlace(addPlaceDTO));
}
@PostMapping("onePlace")
@ApiOperation("一个地点详情 id")
public ResponseVO onePlace(@RequestBody PlaceDictDO placeDictDO){
return ResponseData.generateCreatedResponse(0,placeDictService.onePlace(placeDictDO));
}
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 公司更新日志表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-04-06
*/
@RestController
@Api(tags = "公司更新日志表")
@RequestMapping("/position-alone-history-do")
public class PositionAloneHistoryController {
}
package com.laowu.controller;
import com.laowu.dto.position.AddAloneDTO;
import com.laowu.dto.position.AloneRequirementsDTO;
import com.laowu.model.PositionAloneInfoDO;
import com.laowu.service.PositionAloneInfoService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 独立职位需求信息 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@RestController
@Api(tags = "独立职位需求信息")
@RequestMapping("/positionAloneInfo")
public class PositionAloneInfoController {
@Autowired
private PositionAloneInfoService positionAloneInfoService;
@PostMapping("aloneRequirements")
@ApiOperation("独立职位需求管理 pageSize pageNum positionStatus province city county positionId positionName")
public ResponseVO aloneRequirements(@RequestBody AloneRequirementsDTO aloneRequirementsDTO){
return ResponseData.generateCreatedResponse(0,positionAloneInfoService.aloneRequirements(aloneRequirementsDTO));
}
@PostMapping("deleteRequestment")
@ApiOperation("删除独立职位需求管理 id")
public ResponseVO deleteRequestment(@RequestBody AddAloneDTO addAloneDTO){
return ResponseData.generateCreatedResponse(0,positionAloneInfoService.deleteRequestment(addAloneDTO));
}
@PostMapping("addRequirement")
@ApiOperation("添加独立职位需求管理 {companyId positionStatus requireCount positionName recruitType jobSortId" +
"positionId province city county address jobId positionDesc positionRequire startSalary endSalary infoOrigin}")
public ResponseVO addRequirement(@RequestBody AddAloneDTO addAloneDTO){
return ResponseData.generateCreatedResponse(0,positionAloneInfoService.addRequirement(addAloneDTO));
}
@PostMapping("updateRequirement")
@ApiOperation("修改独立需求管理 {id companyId positionStatus requireCounts positionName recruitType jobSortId" +
"positionId jobId positionDesc positionRequire startSalary endSalary infoOrigin }")
public ResponseVO updateRequirement(@RequestBody AddAloneDTO addAloneDTO){
return ResponseData.generateCreatedResponse(0,positionAloneInfoService.updateRequirement(addAloneDTO));
}
@PostMapping("oneAloneRequirement")
@ApiOperation("查看某一个独立需求详情 id")
public ResponseVO oneAloneRequirement(@RequestBody PositionAloneInfoDO positionAloneInfoDO){
return ResponseData.generateCreatedResponse(0,positionAloneInfoService.oneAloneRequirement(positionAloneInfoDO));
}
}
package com.laowu.controller;
import com.laowu.model.PositionDictDO;
import com.laowu.service.PositionDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -20,7 +23,7 @@ import io.swagger.annotations.Api;
* @since 2023-02-15
*/
@RestController
@Api(tags = "职位类别")
@Api(tags = "职位范围信息管理")
@RequestMapping("/positionDict")
public class PositionDictController {
......@@ -32,4 +35,23 @@ public class PositionDictController {
return ResponseData.generateCreatedResponse(0,positionDictService.allPosition());
}
@PostMapping("addPosition")
@ApiOperation("新增职位 parentId positionType positionCode")
public ResponseVO addPosition(@RequestBody PositionDictDO positionDictDO){
return ResponseData.generateCreatedResponse(0,positionDictService.addPosition(positionDictDO));
}
@PostMapping("updatePosition")
@ApiOperation("修改职位 id parentId positionType positionCode ")
public ResponseVO updatePosition(@RequestBody PositionDictDO positionDictDO){
return ResponseData.generateCreatedResponse(0,positionDictService.updatePosition(positionDictDO));
}
@PostMapping("deletePosition")
@ApiOperation("删除职位 id")
public ResponseVO deletePosition(@RequestBody PositionDictDO positionDictDO){
return ResponseData.generateCreatedResponse(0,positionDictService.deletePosition(positionDictDO));
}
}
package com.laowu.controller;
import com.laowu.dto.position.UpdateItemInfoDTO;
import com.laowu.model.PositionItemJobMappingDO;
import com.laowu.service.PositionItemInfoService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 项目职位需求 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@RestController
@Api(tags = "项目职位需求")
@RequestMapping("/positionItemInfo")
public class PositionItemInfoController {
@Autowired
private PositionItemInfoService positionItemInfoService;
@PostMapping("updateItemInfo")
@ApiOperation("编辑职位信息 id positionName positionStatus requireCounts positionId startSalary endSalary address jobIds[] 职位分类 ")
public ResponseVO updateItemInfo(@RequestBody UpdateItemInfoDTO updateItemInfoDTO){
return ResponseData.generateCreatedResponse(0,positionItemInfoService.updateItemInfo(updateItemInfoDTO));
}
@PostMapping("deleteItemInfo")
@ApiOperation("删除职位信息 id")
public ResponseVO deleteItemInfo(@RequestBody PositionItemJobMappingDO positionItemJobMappingDO){
return ResponseData.generateCreatedResponse(0,positionItemInfoService.deleteItemInfo(positionItemJobMappingDO));
}
@PostMapping("addItemInfo")
@ApiOperation("编辑职位信息 positionRequireId positionName positionStatus requireCount positionId startSalary endSalary address jobIds[] 职位分类 ")
public ResponseVO addItemInfo(@RequestBody UpdateItemInfoDTO updateItemInfoDTO){
return ResponseData.generateCreatedResponse(0,positionItemInfoService.addItemInfo(updateItemInfoDTO));
}
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 职位信息分类映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-28
*/
@RestController
@Api(tags = "职位信息分类映射表")
@RequestMapping("/position-item-job-mapping-do")
public class PositionItemJobMappingController {
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 公司更新日志表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-04-06
*/
@RestController
@Api(tags = "公司更新日志表")
@RequestMapping("/position-require-history-do")
public class PositionRequireHistoryController {
}
package com.laowu.controller;
import com.laowu.dto.position.AddRequirementsDTO;
import com.laowu.dto.position.RequirementsDTO;
import com.laowu.model.PositionRequireItemDO;
import com.laowu.service.PositionRequireItemService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 项目职位需求信息 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@RestController
@Api(tags = "项目职位需求信息")
@RequestMapping("/positionRequireItem")
public class PositionRequireItemController {
@Autowired
private PositionRequireItemService positionRequireItemService;
@PostMapping("requirements")
@ApiOperation("项目职位需求管理 pageSize pageNum itemStatus province city county positionId itemName ")
public ResponseVO requirements(@RequestBody RequirementsDTO requirementsDTO) {
return ResponseData.generateCreatedResponse(0, positionRequireItemService.requirements(requirementsDTO));
}
@PostMapping("deleteRequirements")
@ApiOperation("删除项目需求 id userId module")
public ResponseVO deleteRequirements(@RequestBody AddRequirementsDTO addRequirementsDTO) {
return ResponseData.generateCreatedResponse(0, positionRequireItemService.deleteRequirements(addRequirementsDTO));
}
@PostMapping("updateRequirements")
@ApiOperation("编辑基本信息、关联信息 id itemName itemStatus companyId jobId infoOrigin province city county")
public ResponseVO updateRequirements(@RequestBody AddRequirementsDTO addRequirementsDTO) {
return ResponseData.generateCreatedResponse(0, positionRequireItemService.updateRequirements(addRequirementsDTO));
}
@PostMapping("addRequirements")
@ApiOperation("添加需求 id userId module itemName itemStatus companyId jobId infoOrigin province city county")
public ResponseVO addRequirements(@RequestBody AddRequirementsDTO addRequirementsDTO) {
return ResponseData.generateCreatedResponse(0, positionRequireItemService.addRequirements(addRequirementsDTO));
}
@PostMapping("oneRequirement")
@ApiOperation("查看某个需求详情 id")
public ResponseVO oneRequirement(@RequestBody PositionRequireItemDO positionRequireItemDO){
return ResponseData.generateCreatedResponse(0,positionRequireItemService.oneRequirement(positionRequireItemDO));
}
}
package com.laowu.controller;
import com.laowu.dto.team.*;
import com.laowu.model.LibGeoLocationDO;
import com.laowu.model.TeamDictDO;
import com.laowu.service.TeamDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 团队字典表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-29
*/
@RestController
@Api(tags = "团队字典表")
@RequestMapping("/teamDict")
public class TeamDictController {
@Autowired
private TeamDictService teamDictService;
@PostMapping("teams")
@ApiOperation("工作站下的团队 pageSize pageNum stationId teamName")
public ResponseVO teams(@RequestBody TeamsDTO teamsDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.teams(teamsDTO));
}
@PostMapping("totalTeams")
@ApiOperation("总团队数 stationId")
public ResponseVO totalTeams(@RequestBody TeamDictDO teamDictDO){
return ResponseData.generateCreatedResponse(0,teamDictService.totalTeams(teamDictDO));
}
@PostMapping("deleteTeam")
@ApiOperation("删除团队 id")
public ResponseVO deleteTeam(@RequestBody TeamDictDO teamDictDO){
return ResponseData.generateCreatedResponse(0,teamDictService.deleteTeam(teamDictDO));
}
@PostMapping("addTeam")
@ApiOperation("添加团队 stationId teamName comment memberId")
public ResponseVO addTeam(@RequestBody TeamDictDO teamDictDO){
return ResponseData.generateCreatedResponse(0,teamDictService.addTeam(teamDictDO));
}
@PostMapping("updateTeam")
@ApiOperation("id stationId teamName comment memberId")
public ResponseVO updateTeam(@RequestBody TeamDictDO teamDict){
return ResponseData.generateCreatedResponse(0,teamDictService.updateTeam(teamDict));
}
@PostMapping("teamMember")
@ApiOperation("查看团队成员信息 teamId")
public ResponseVO teamMember(@RequestBody TeamMemberDTO teamMemberDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.teamMember(teamMemberDTO));
}
@PostMapping("oneTeamInfo")
@ApiOperation("查看一个团队详情 id")
public ResponseVO oneTeamInfo(@RequestBody TeamDictDO teamDictDO){
return ResponseData.generateCreatedResponse(0,teamDictService.oneTeamInfo(teamDictDO));
}
@PostMapping("noTeamMembers")
@ApiOperation("查看没有团队的成员信息 pageSize pageNum teamId userName")
public ResponseVO noTeamMembers(@RequestBody TeamMemberDTO teamMemberDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.noTeamMembers(teamMemberDTO));
}
@PostMapping("updateTeamMembers")
@ApiOperation("编辑团队信息 teamId memberIds[] ")
public ResponseVO updateMembers(@RequestBody UpdateTeamMembersDTO updateTeamMembersDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.updateMembers(updateTeamMembersDTO));
}
@PostMapping("leaderMembers")
@ApiOperation("团队带头人 stationId pageSize pageNum ")
public ResponseVO leaderMembers(@RequestBody LeaderMembersDTO leaderMembersDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.leaderMembers(leaderMembersDTO));
}
@PostMapping("leaderMemberCounts")
@ApiOperation("团队带头人数 stationId")
public ResponseVO leaderMemberCounts(@RequestBody TeamDictDO teamDictDO){
return ResponseData.generateCreatedResponse(0,teamDictService.leaderMemberCounts(teamDictDO));
}
@PostMapping("provinceStationTeam")
@ApiOperation("省-工作站-团队 ")
public ResponseVO provinceStationTeam(){
return ResponseData.generateCreatedResponse(0,teamDictService.provinceStationTeam());
}
@PostMapping("memberManagement")
@ApiOperation("人员管理 pageSize pageNum teamId stationId province jobStatus userName")
public ResponseVO memberManagement (@RequestBody MemberManagementDTO memberManagementDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.memberManagement(memberManagementDTO));
}
@PostMapping("memberManagementCount")
@ApiOperation("人员管理 人数 teamId stationId province jobStatus userName")
public ResponseVO memberManagementCount(@RequestBody MemberManagementDTO memberManagementDTO){
return ResponseData.generateCreatedResponse(0,teamDictService.memberManagementCount(memberManagementDTO));
}
@PostMapping("homepage")
@ApiOperation("主页 province city county")
public ResponseVO homepage(@RequestBody LibGeoLocationDO libGeoLocationDO){
return ResponseData.generateCreatedResponse(0,teamDictService.homepage(libGeoLocationDO));
}
}
package com.laowu.controller;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 工作站站长映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-28
*/
@RestController
@Api(tags = "工作站站长映射表")
@RequestMapping("/workstationAdministers")
public class WorkstationAdministersController {
}
package com.laowu.controller;
import com.laowu.dto.station.StationAccountDTO;
import com.laowu.dto.station.StationsDTO;
import com.laowu.dto.station.UpdateAdministerDTO;
import com.laowu.model.AdministerDO;
import com.laowu.model.WorkstationDictDO;
import com.laowu.service.WorkstationDictService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 工作站 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-28
*/
@RestController
@Api(tags = "工作站")
@RequestMapping("/workstationDict")
public class WorkstationDictController {
@Autowired
private WorkstationDictService workstationDictService;
@PostMapping("stations")
@ApiOperation("工作站管理 pageSize pageNum province city county workstation")
public ResponseVO stations(@RequestBody StationsDTO stationsDTO){
return ResponseData.generateCreatedResponse(0,workstationDictService.stations(stationsDTO));
}
@PostMapping("deleteStation")
@ApiOperation("删除工作站 id")
public ResponseVO deleteStation(@RequestBody WorkstationDictDO workstationDictDO){
return ResponseData.generateCreatedResponse(0,workstationDictService.deleteStation(workstationDictDO));
}
@PostMapping("addStation")
@ApiOperation("添加工作站 workstationName province city county ")
public ResponseVO addStation(@RequestBody WorkstationDictDO workstationDictDO){
return ResponseData.generateCreatedResponse(0,workstationDictService.addStation(workstationDictDO));
}
@PostMapping("updateStation")
@ApiOperation("修改工作站 id workstationName province city county ")
public ResponseVO updateStation(@RequestBody WorkstationDictDO workstationDictDO){
return ResponseData.generateCreatedResponse(0,workstationDictService.updateStation(workstationDictDO));
}
@PostMapping("stationAccount")
@ApiOperation("工作站账户列表 pageSize pageNum workStation")
public ResponseVO stationAccount(@RequestBody StationAccountDTO stationAccountDTO){
return ResponseData.generateCreatedResponse(0,workstationDictService.stationAccount(stationAccountDTO));
}
@PostMapping("oneStationAccount")
@ApiOperation("查看某个工作站账户 id")
public ResponseVO oneStationAccount(@RequestBody AdministerDO administerDO){
return ResponseData.generateCreatedResponse(0,workstationDictService.oneStationAccount(administerDO));
}
@PostMapping("provinceStations")
@ApiOperation("以省为单位查看工作站 ")
public ResponseVO provinceStations(){
return ResponseData.generateCreatedResponse(0,workstationDictService.provinceStations());
}
@PostMapping("updateAdminister")
@ApiOperation("修改工作站 stationIds ")
public ResponseVO updateAdminister(@RequestBody UpdateAdministerDTO updateAdministerDTO){
return ResponseData.generateCreatedResponse(0,workstationDictService.updateAdminister(updateAdministerDTO));
}
@PostMapping("addAdminister")
@ApiOperation("添加工作站 stationIds ")
public ResponseVO addAdminister(@RequestBody UpdateAdministerDTO updateAdministerDTO){
return ResponseData.generateCreatedResponse(0,workstationDictService.addAdminister(updateAdministerDTO));
}
}
package com.laowu.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
/**
* <p>
* 学员--工作站映射关系 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-04-07
*/
@RestController
@Api(tags = "学员--工作站映射关系")
@RequestMapping("/workstation-member-mapping-do")
public class WorkstationMemberMappingController {
}
package com.laowu.controller;
import com.laowu.dto.station.RequiresDTO;
import com.laowu.dto.station.ShareDTO;
import com.laowu.model.WorkstationRequireMappingDO;
import com.laowu.service.WorkstationRequireMappingService;
import com.laowu.util.ResponseData;
import com.laowu.util.ResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 职位需求工作站映射表 前端控制器
* </p>
*
* @author Tuyp
* @since 2023-03-30
*/
@RestController
@Api(tags = "职位需求工作站映射表")
@RequestMapping("/workstationRequireMapping")
public class WorkstationRequireMappingController {
@Autowired
private WorkstationRequireMappingService workstationRequireMappingService;
@PostMapping("requires")
@ApiOperation("查看某个工作站的项目用工需求 stationId 工作站id pageSize pageNum itemStatus province city county positionId itemName ")
public ResponseVO requires(@RequestBody RequiresDTO requiresDTO){
return ResponseData.generateCreatedResponse(0,workstationRequireMappingService.requires(requiresDTO));
}
@PostMapping("deleteRequire")
@ApiOperation("删除需求 stationId requireId 需求id")
public ResponseVO deleteRequire(@RequestBody WorkstationRequireMappingDO workstationRequireMappingDO){
return ResponseData.generateCreatedResponse(0,workstationRequireMappingService.deleteRequire(workstationRequireMappingDO));
}
@PostMapping("share")
@ApiOperation("分配工作站 stationIds[] requireIds ")
public ResponseVO share(@RequestBody ShareDTO shareDTO){
return ResponseData.generateCreatedResponse(0,workstationRequireMappingService.share(shareDTO));
}
@PostMapping("requireStations")
@ApiOperation("查看需求已经在哪些工作站 requireId")
public ResponseVO requireStations(@RequestBody WorkstationRequireMappingDO workstationRequireMappingDO){
return ResponseData.generateCreatedResponse(0,workstationRequireMappingService.requireStations(workstationRequireMappingDO));
}
}
package com.laowu.dto.administer;
import lombok.Data;
@Data
public class AllDTO {
private String status;
private Integer pageSize;
private Integer pageNum;
}
package com.laowu.dto.college;
import lombok.Data;
@Data
public class CollegeDTO {
private Integer pageSize;
private Integer pageNum;
private String status;
private String province;
private String city;
private String county;
}
package com.laowu.dto.company;
import com.laowu.model.CompanyDictDO;
import com.laowu.model.CompanyLabelDO;
import com.laowu.model.CompanyPhotoDO;
import lombok.Data;
......@@ -9,6 +10,14 @@ import java.util.List;
@Data
public class AddCompanyDTO extends CompanyDictDO {
private Long userId;
private String module;
private List<CompanyPhotoDO> companyPhotoDOS;
private List<CompanyLabelDO> companyLabelDOS;
private Long stationId;
}
......@@ -11,9 +11,13 @@ public class CompanyDTO {
private String companyName;
private Long cityId;
private String province;
private Long businessId;
private String city;
private String county;
private Long positionId;
private String companyLogo;
......
package com.laowu.dto.company;
import lombok.Data;
@Data
public class DeleteCompanyDTO {
private Long userId;
private Long id;
private String module;
}
package com.laowu.dto.company;
import lombok.Data;
@Data
public class StationCompanyDTO {
private Integer pageSize;
private Integer pageNum;
private Long stationId;
private String companyName;
private String province;
private String city;
private String county;
}
package com.laowu.dto.geo;
import lombok.Data;
@Data
public class AllGeosDTO {
private Integer pageSize;
private Integer pageNum;
private String province;
private String city;
private String county;
private String town;
}
package com.laowu.dto.job;
import lombok.Data;
@Data
public class RangeDTO {
private Integer pageSize;
private Integer pageNum;
private String sort;
}
package com.laowu.dto.major;
import lombok.Data;
@Data
public class AllMajorDTO {
private Integer pageSize;
private Integer pageNum;
private String major;
private String collegeType;
}
package com.laowu.dto.major;
import lombok.Data;
@Data
public class SortsDTO {
private Integer pageSize;
private Integer pageNum;
private String jobName;
}
package com.laowu.dto.member;
import com.laowu.model.MemberDictDO;
import lombok.Data;
@Data
public class AddMemberDTO extends MemberDictDO {
private Long userId;
private String module;
private Long stationId;
}
package com.laowu.dto.member;
import lombok.Data;
@Data
public class AllMembersDTO {
private Integer pageSize;
private Integer pageNum;
private String province;
private String city;
private String county;
private String status;
private String userName;
}
package com.laowu.dto.member;
import com.laowu.model.MemberDictDO;
import com.laowu.vo.member.MemberJobInfoVO;
import lombok.Data;
import java.util.List;
@Data
public class UpdateMemberDTO extends MemberDictDO {
private List<MemberJobInfoVO> memberJobInfoVOS;
private Long userId;
private String module;
}
package com.laowu.dto.place;
import com.laowu.model.PlaceDictDO;
import com.laowu.model.PlaceImgsDO;
import lombok.Data;
import java.util.List;
@Data
public class AddPlaceDTO extends PlaceDictDO {
private List<PlaceImgsDO> placeImgsDOS;
}
package com.laowu.dto.position;
import com.laowu.model.PositionAloneInfoDO;
import lombok.Data;
@Data
public class AddAloneDTO extends PositionAloneInfoDO {
private Long userId;
private String module;
}
package com.laowu.dto.position;
import com.laowu.model.PositionRequireItemDO;
import lombok.Data;
@Data
public class AddRequirementsDTO extends PositionRequireItemDO {
private Long userId;
private String module;
}
package com.laowu.dto.position;
import lombok.Data;
@Data
public class AloneRequirementsDTO {
private Integer pageSize;
private Integer pageNum;
private String positionStatus;
private String province;
private String city;
private String county;
private Long positionId;
private String positionName;
}
package com.laowu.dto.position;
import lombok.Data;
@Data
public class RequirementsDTO {
private Integer pageSize;
private Integer pageNum;
private String itemName;
private String itemStatus;
private String province;
private String city;
private String county;
private Long positionId;
}
package com.laowu.dto.position;
import com.laowu.model.PositionItemInfoDO;
import lombok.Data;
import java.util.List;
@Data
public class UpdateItemInfoDTO extends PositionItemInfoDO {
private List<Long> jobIds;
}
package com.laowu.dto.provider;
import lombok.Data;
@Data
public class ProvidersDTO {
private Integer pageSize;
private Integer pageNum;
private String province;
private String city;
private String county;
private String serviceProvider;
}
package com.laowu.dto.station;
import lombok.Data;
@Data
public class RequiresDTO {
private Integer pageSize;
private Integer pageNum;
private String itemName;
private String itemStatus;
private String province;
private String city;
private String county;
private Long positionId;
private Long stationId;
}
package com.laowu.dto.station;
import lombok.Data;
import java.util.List;
@Data
public class ShareDTO {
private List<Long> stationIds;
private List<Long> requireIds;
}
package com.laowu.dto.station;
import lombok.Data;
@Data
public class StationAccountDTO {
private Integer pageSize;
private Integer pageNum;
private String workStation;
}
package com.laowu.dto.station;
import lombok.Data;
@Data
public class StationsDTO {
private Integer pageSize;
private Integer pageNum;
private String province;
private String city;
private String county;
private String workstation;
}
package com.laowu.dto.station;
import com.laowu.model.AdministerDO;
import lombok.Data;
import java.util.List;
@Data
public class UpdateAdministerDTO extends AdministerDO {
private List<Long> stationIds;
}
package com.laowu.dto.team;
import lombok.Data;
@Data
public class LeaderMembersDTO {
private Integer pageSize;
private Integer pageNum;
private Long stationId;
private String userName;
}
package com.laowu.dto.team;
import lombok.Data;
@Data
public class MemberManagementDTO {
private Integer pageSize;
private Integer pageNum;
private Long teamId;
private Long stationId;
private String province;
private String jobStatus;
private String userName;
}
package com.laowu.dto.team;
import lombok.Data;
@Data
public class TeamMemberDTO {
private Integer pageSize;
private Integer pageNum;
private Long teamId;
private String userName;
}
package com.laowu.dto.team;
import lombok.Data;
@Data
public class TeamsDTO {
private Integer pageSize;
private Integer pageNum;
private Long stationId;
private String teamName;
}
package com.laowu.dto.team;
import lombok.Data;
import java.util.List;
@Data
public class UpdateTeamMembersDTO {
private Long teamId;
private List<Long> memberIds;
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.AdministerDO;
import com.laowu.vo.admin.PermissionsVO;
import org.springframework.stereotype.Repository;
......@@ -20,5 +21,5 @@ public interface AdministerMapper extends BaseMapper<AdministerDO> {
List<PermissionsVO> getPermissions(Long id);
IPage<AdministerDO> all(IPage page,String status);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.CollegeMajorMappingDO;
import com.laowu.vo.major.CollegeMajorsVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 院校专业映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@Repository
public interface CollegeMajorMappingMapper extends BaseMapper<CollegeMajorMappingDO> {
/**
* 查看某个院校的专业信息
*/
List<CollegeMajorsVO> collegeMajors(Long collegeId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.CompanyDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.company.CompanyVO;
import org.springframework.stereotype.Repository;
......@@ -20,6 +20,16 @@ public interface CompanyDictMapper extends BaseMapper<CompanyDictDO> {
/**
* 查询企业
*/
IPage<CompanyVO> company(IPage page, String companyName, Long cityId,Long businessId);
IPage<CompanyVO> company(IPage page, String companyName, String province,String city,String county);
/**
* 查看工作站下的企业数
*/
Integer stationCompanyCount(Long stationId);
/**
* 根据工作站查企业
*/
IPage<CompanyVO> stationCompany(IPage iPage,Long stationId, String companyName, String province,String city,String county);
}
package com.laowu.mapper;
import com.laowu.model.BusinessDictDO;
import com.laowu.model.CompanyLabelDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
* <p>
* 经营范围 Mapper 接口
* 企业标签 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-02-20
* @since 2023-03-22
*/
@Repository
public interface BusinessDictMapper extends BaseMapper<BusinessDictDO> {
public interface CompanyLabelMapper extends BaseMapper<CompanyLabelDO> {
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.CompanyRelateWorkDO;
import com.laowu.vo.company.RelateWorkVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 公司关联业务映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-22
*/
@Repository
public interface CompanyRelateWorkMapper extends BaseMapper<CompanyRelateWorkDO> {
List<RelateWorkVO> relateWork(Long companyId);
List<Long> relateWorkId(Long companyId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.CompanyUpdateHistoryDO;
import com.laowu.vo.company.CompanyUpdateHistoryVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 公司更新日志表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@Repository
public interface CompanyUpdateHistoryMapper extends BaseMapper<CompanyUpdateHistoryDO> {
List<CompanyUpdateHistoryVO> companyUpdateHistory(Long companyId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.LibCollegeDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.college.CollegeVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 院校信息管理 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@Repository
public interface LibCollegeMapper extends BaseMapper<LibCollegeDO> {
IPage<CollegeVO> colleges(IPage iPage, String status,String province,String city,String county);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.LibGeoLocationDO;
import com.laowu.vo.geo.GeoVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 地理位置字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-21
*/
@Repository
public interface LibGeoLocationMapper extends BaseMapper<LibGeoLocationDO> {
List<String> provinces();
List<String> cities(String province);
List<String> county(String province,String city);
IPage<GeoVO> geo(IPage iPage, String province, String city, String county, String town);
}
package com.laowu.mapper;
import com.laowu.model.PlaceDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.LibJobSortDO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 地区字典表 Mapper 接口
* 职业分类信息管理 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-02-15
* @since 2023-03-24
*/
@Repository
public interface PlaceDictMapper extends BaseMapper<PlaceDictDO> {
@Repository
public interface LibJobSortMapper extends BaseMapper<LibJobSortDO> {
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.LibMajorDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.major.AllMajorVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 专业字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@Repository
public interface LibMajorMapper extends BaseMapper<LibMajorDO> {
/**
* 模糊查询所有专业
*/
IPage<AllMajorVO> allMajor(IPage iPage, String collegeType, String major);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.LibServiceProviderDO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 服务商信息字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-24
*/
@Repository
public interface LibServiceProviderMapper extends BaseMapper<LibServiceProviderDO> {
IPage<LibServiceProviderDO> providers(IPage ipage,String province,String city,String county,String serviceProvider);
}
package com.laowu.mapper;
import com.laowu.model.MemberCollegeMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
* <p>
* 学员-学校映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-04-04
*/
@Repository
public interface MemberCollegeMappingMapper extends BaseMapper<MemberCollegeMappingDO> {
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.MemberDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.member.AllMembersVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 自然人表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-23
*/
@Repository
public interface MemberDictMapper extends BaseMapper<MemberDictDO> {
/**
* 查询自然人
*/
IPage<AllMembersVO> allMembers(IPage pager, String province, String city, String county, String status, String userName);
/**
* 查看某个团队的人 返回id
*/
List<Long> members(Long teamId);
}
package com.laowu.mapper;
import com.laowu.model.CityDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.MemberJobInfoDO;
import com.laowu.vo.job.RecentJobInfoVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 城市字典表 Mapper 接口
* Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-02-15
* @since 2023-03-23
*/
@Repository
public interface CityDictMapper extends BaseMapper<CityDictDO> {
public interface MemberJobInfoMapper extends BaseMapper<MemberJobInfoDO> {
/**
* 通过cityId查询省-市
* 查看某人最近一次就业情况
*/
String getCityName(Long cityId);
RecentJobInfoVO recentJobInfo(Long memberId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.MemberDictDO;
import com.laowu.model.MemberTeamMappingDO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 团队成员映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-29
*/
@Repository
public interface MemberTeamMappingMapper extends BaseMapper<MemberTeamMappingDO> {
/**
* 查看某个团队的成员
*/
IPage<MemberDictDO> teamMembers(IPage page,Long teamId);
/**
* 查看还不在这个团队里的人
*/
IPage<MemberDictDO> noTeamMembers(IPage iPage,Long teamId,String userName);
}
package com.laowu.mapper;
import com.laowu.model.MemberUpdateHistoryDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
* <p>
* 公司更新日志表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-04-07
*/
@Repository
public interface MemberUpdateHistoryMapper extends BaseMapper<MemberUpdateHistoryDO> {
}
package com.laowu.mapper;
import com.laowu.model.PositionAloneHistoryDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.position.AloneHistoryVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 公司更新日志表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-04-06
*/
@Repository
public interface PositionAloneHistoryMapper extends BaseMapper<PositionAloneHistoryDO> {
/**
* 查看某个独立职位信息的历史
*/
List<AloneHistoryVO> aloneHistory(Long aloneId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.PositionAloneInfoDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.position.AloneRequirementsVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 独立职位需求信息 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@Repository
public interface PositionAloneInfoMapper extends BaseMapper<PositionAloneInfoDO> {
IPage<AloneRequirementsVO> aloneRequirements(IPage ipage,String positionStatus,String positionName,Long positionId,String province,String city,String county);
}
package com.laowu.mapper;
import com.laowu.model.PositionItemInfoDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.vo.position.PositionCountsVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 项目职位需求 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@Repository
public interface PositionItemInfoMapper extends BaseMapper<PositionItemInfoDO> {
/**
* 职位+预招人数
*/
List<PositionCountsVO> positionCounts(Long positionRequireId);
}
package com.laowu.mapper;
import com.laowu.model.LibJobSortDO;
import com.laowu.model.PositionItemJobMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 职位信息分类映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-28
*/
@Repository
public interface PositionItemJobMappingMapper extends BaseMapper<PositionItemJobMappingDO> {
/**
* 职位分类
*/
List<LibJobSortDO> positionSorts(Long requireId);
/**
* 职位分类 返回id
*/
List<Long> positionSortIds(Long itemInfoId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.PositionRequireHistoryDO;
import com.laowu.vo.position.RequireHistoryVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 公司更新日志表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-04-06
*/
@Repository
public interface PositionRequireHistoryMapper extends BaseMapper<PositionRequireHistoryDO> {
/**
* 查看某个职位需求的历史
*/
List<RequireHistoryVO> requireHistory(Long requireId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.PositionRequireItemDO;
import com.laowu.vo.position.RequirementsVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 项目职位需求信息 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-27
*/
@Repository
public interface PositionRequireItemMapper extends BaseMapper<PositionRequireItemDO> {
IPage<RequirementsVO> requirements(IPage iPage, String itemName,String itemStatus,String province,String city,String county,Long positionId);
}
package com.laowu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.TeamDictDO;
import com.laowu.vo.team.LeaderMembersVO;
import com.laowu.vo.team.MemberManagementVO;
import com.laowu.vo.team.TeamsVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 团队字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-29
*/
@Repository
public interface TeamDictMapper extends BaseMapper<TeamDictDO> {
IPage<TeamsVO> teams(IPage iPage, Long stationId, String teamName);
/**
* 查看某个工作站的带头人总数
*/
Integer leaderMemberCounts(Long stationId);
/**
* 查看带头人的团队情况
*/
IPage<LeaderMembersVO> leaderMembers(IPage iPage, Long stationId, String userName);
/**
* 人员管理
*/
IPage<MemberManagementVO> memberManagement(IPage page, Long teamId, Long stationId, String province, String jobStatus,String userName);
/**
* 人员管理---人数
*/
Integer memberManagementCount(Long teamId, Long stationId, String province, String jobStatus);
/**
* 将组长为memberId的team职位空
*/
void noLeader(Long id);
}
package com.laowu.mapper;
import com.laowu.model.WorkstationAdministersDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laowu.model.WorkstationDictDO;
import com.laowu.vo.station.AdministerVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 工作站站长映射表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2023-03-28
*/
@Repository
public interface WorkstationAdministersMapper extends BaseMapper<WorkstationAdministersDO> {
/**
* 根据工作站id找站长
*/
List<AdministerVO> administers(Long id);
/**
* 根据人去找工作站信息
*/
List<WorkstationDictDO> workstations(Long administerId);
/**
* 根据人去找工作站信息 返回ids
*/
List<Long> administerStations(Long administerId);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!