add 委员会基础代码
This commit is contained in:
+92
@@ -0,0 +1,92 @@
|
||||
package com.jero.committee.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.jero.committee.entity.PayCommitteeInfo;
|
||||
import com.jero.committee.service.PayCommitteeInfoService;
|
||||
import com.jero.common.api.vo.Result;
|
||||
import com.jero.common.aspect.annotation.AutoLog;
|
||||
import com.jero.common.exception.JeroBootException;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import com.jero.common.system.query.QueryGenerator;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 委员会表(pay_committee_info)表控制层
|
||||
*
|
||||
* @author xxxxx
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "委员会表")
|
||||
@RestController
|
||||
@RequestMapping("PayCommitteeInfo")
|
||||
public class PayCommitteeInfoController extends JeroController<PayCommitteeInfo, PayCommitteeInfoService> {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private PayCommitteeInfoService payCommitteeInfoService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*/
|
||||
@ApiOperation(value = "委员会表-分页列表查询", notes = "委员会表-分页列表查询")
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<PayCommitteeInfo>> queryPageList(PayCommitteeInfo payCommitteeInfo,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<PayCommitteeInfo> queryWrapper = QueryGenerator.initQueryWrapper(payCommitteeInfo, req.getParameterMap());
|
||||
Page<PayCommitteeInfo> page = new Page<>(pageNo, pageSize);
|
||||
IPage<PayCommitteeInfo> pageList = payCommitteeInfoService.page(page, queryWrapper);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
@ApiOperation(value = "委员会表-列表查询", notes = "委员会表-列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<PayCommitteeInfo>> queryList(PayCommitteeInfo payCommitteeInfo,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<PayCommitteeInfo> queryWrapper = QueryGenerator.initQueryWrapper(payCommitteeInfo, req.getParameterMap());
|
||||
List<PayCommitteeInfo> list = payCommitteeInfoService.list(queryWrapper);
|
||||
return Result.OK(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*/
|
||||
@AutoLog(value = "委员会表-通过id查询")
|
||||
@ApiOperation(value = "委员会表-通过id查询", notes = "委员会表-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<PayCommitteeInfo> queryById(@RequestParam(name = "id") String id) {
|
||||
PayCommitteeInfo payCommitteeInfo = payCommitteeInfoService.queryById(id);
|
||||
if (payCommitteeInfo == null) {
|
||||
throw new JeroBootException("未找到对应数据");
|
||||
}
|
||||
return Result.OK(payCommitteeInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出excel
|
||||
*/
|
||||
@ApiOperation(value = "委员会表-导出excel")
|
||||
@GetMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, PayCommitteeInfo payCommitteeInfo) {
|
||||
return super.exportXls(request, payCommitteeInfo, PayCommitteeInfo.class, "委员会表");
|
||||
}
|
||||
}
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
package com.jero.committee.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.jero.committee.entity.PayCommitteeMemberInfo;
|
||||
import com.jero.committee.service.PayCommitteeMemberInfoService;
|
||||
import com.jero.common.api.vo.Result;
|
||||
import com.jero.common.aspect.annotation.AutoLog;
|
||||
import com.jero.common.exception.JeroBootException;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import com.jero.common.system.query.QueryGenerator;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 委员会成员表(pay_committee_member_info)表控制层
|
||||
*
|
||||
* @author xxxxx
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "委员会成员表")
|
||||
@RestController
|
||||
@RequestMapping("PayCommitteeMemberInfo")
|
||||
public class PayCommitteeMemberInfoController extends JeroController<PayCommitteeMemberInfo, PayCommitteeMemberInfoService> {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private PayCommitteeMemberInfoService payCommitteeMemberInfoService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*/
|
||||
@ApiOperation(value = "委员会成员表-分页列表查询", notes = "委员会成员表-分页列表查询")
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<PayCommitteeMemberInfo>> queryPageList(PayCommitteeMemberInfo payCommitteeMemberInfo,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<PayCommitteeMemberInfo> queryWrapper = QueryGenerator.initQueryWrapper(payCommitteeMemberInfo, req.getParameterMap());
|
||||
Page<PayCommitteeMemberInfo> page = new Page<>(pageNo, pageSize);
|
||||
IPage<PayCommitteeMemberInfo> pageList = payCommitteeMemberInfoService.page(page, queryWrapper);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
@ApiOperation(value = "委员会成员表-列表查询", notes = "委员会成员表-列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<PayCommitteeMemberInfo>> queryList(PayCommitteeMemberInfo payCommitteeMemberInfo,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<PayCommitteeMemberInfo> queryWrapper = QueryGenerator.initQueryWrapper(payCommitteeMemberInfo, req.getParameterMap());
|
||||
List<PayCommitteeMemberInfo> list = payCommitteeMemberInfoService.list(queryWrapper);
|
||||
return Result.OK(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*/
|
||||
@AutoLog(value = "委员会成员表-通过id查询")
|
||||
@ApiOperation(value = "委员会成员表-通过id查询", notes = "委员会成员表-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<PayCommitteeMemberInfo> queryById(@RequestParam(name = "id") String id) {
|
||||
PayCommitteeMemberInfo payCommitteeMemberInfo = payCommitteeMemberInfoService.queryById(id);
|
||||
if (payCommitteeMemberInfo == null) {
|
||||
throw new JeroBootException("未找到对应数据");
|
||||
|
||||
}
|
||||
return Result.OK(payCommitteeMemberInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出excel
|
||||
*/
|
||||
@ApiOperation(value = "委员会成员表-导出excel")
|
||||
@GetMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, PayCommitteeMemberInfo payCommitteeMemberInfo) {
|
||||
return super.exportXls(request, payCommitteeMemberInfo, PayCommitteeMemberInfo.class, "委员会成员表");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
package com.jero.committee.dto;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
* @date 2024-06-05 15:31
|
||||
*/
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
public class CommiteeInfoDTO {
|
||||
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
@JSONField(name = "联系人")
|
||||
private String contacts;
|
||||
/**
|
||||
* email
|
||||
*/
|
||||
@JSONField(name = "Email")
|
||||
private String email;
|
||||
/**
|
||||
* 成立年代
|
||||
*/
|
||||
@JSONField(name = "成立年代")
|
||||
private String establishmentYear;
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
@JSONField(name = "电话")
|
||||
private String telephone;
|
||||
/**
|
||||
* 秘书处所在单位
|
||||
*/
|
||||
@JSONField(name = "秘书处所在单位")
|
||||
private String theUnitToWhichOneBelongs;
|
||||
/**
|
||||
* 本届批准时间
|
||||
*/
|
||||
@JSONField(name = "本届批准时间")
|
||||
private String approvalTimeForThisSession;
|
||||
/**
|
||||
* 技术组织类型
|
||||
*/
|
||||
@JSONField(name = "技术组织类型")
|
||||
private String technicalOrganizationType;
|
||||
/**
|
||||
* 联系人Email
|
||||
*/
|
||||
@JSONField(name = "联系人Email")
|
||||
private String contactEmail;
|
||||
/**
|
||||
* 委员会编号
|
||||
*/
|
||||
@JSONField(name = "委员会编号")
|
||||
private String committeeNumber;
|
||||
/**
|
||||
* 秘书处所在省
|
||||
*/
|
||||
@JSONField(name = "秘书处所在省")
|
||||
private String province;
|
||||
/**
|
||||
* 第一届成立时间
|
||||
*/
|
||||
@JSONField(name = "第一届成立时间")
|
||||
private String firstEstablishmentDate;
|
||||
/**
|
||||
* 联系人传真
|
||||
*/
|
||||
@JSONField(name = "联系人传真")
|
||||
private String contactFax;
|
||||
/**
|
||||
* 负责专业范围
|
||||
*/
|
||||
@JSONField(name = "负责专业范围")
|
||||
private String responsibleForProfessionalScope;
|
||||
/**
|
||||
* 秘书处通讯地址
|
||||
*/
|
||||
@JSONField(name = "秘书处通讯地址")
|
||||
private String secretariatMailingAddress;
|
||||
/**
|
||||
* 联系人电话
|
||||
*/
|
||||
@JSONField(name = "联系人电话")
|
||||
private String contactPhoneNumber;
|
||||
/**
|
||||
* 业务指导单位
|
||||
*/
|
||||
@JSONField(name = "业务指导单位")
|
||||
private String businessGuidanceUnit;
|
||||
/**
|
||||
* 秘书处所在城市
|
||||
*/
|
||||
@JSONField(name = "秘书处所在城市")
|
||||
private String city;
|
||||
/**
|
||||
* 秘书处单位性质
|
||||
*/
|
||||
@JSONField(name = "秘书处单位性质")
|
||||
private String unitNature;
|
||||
/**
|
||||
* 秘书处组织机构代码
|
||||
*/
|
||||
@JSONField(name = "秘书处组织机构代码")
|
||||
private String orgCode;
|
||||
/**
|
||||
* 秘书长
|
||||
*/
|
||||
@JSONField(name = "秘书长")
|
||||
private String secretaryGeneral;
|
||||
/**
|
||||
* 成立文号
|
||||
*/
|
||||
@JSONField(name = "成立文号")
|
||||
private String establishmentNumber;
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
@JSONField(name = "联系人手机")
|
||||
private String cellPhone;
|
||||
/**
|
||||
* 现为第几届
|
||||
*/
|
||||
@JSONField(name = "现为第几届")
|
||||
private String whatIsTheCurrentSession;
|
||||
/**
|
||||
* 邮政编码
|
||||
*/
|
||||
@JSONField(name = "邮政编码")
|
||||
private String zipCode;
|
||||
/**
|
||||
* 英文名称
|
||||
*/
|
||||
@JSONField(name = "英文名称")
|
||||
private String englishName;
|
||||
/**
|
||||
* 本届批准文号编号
|
||||
*/
|
||||
@JSONField(name = "本届批准文号编号")
|
||||
private String approvalNumberForThisSession;
|
||||
/**
|
||||
* 传真
|
||||
*/
|
||||
@JSONField(name = "传真")
|
||||
private String facsimile;
|
||||
/**
|
||||
* 筹建单位
|
||||
*/
|
||||
@JSONField(name = "筹建单位")
|
||||
private String preparationUnit;
|
||||
/**
|
||||
* 委员会名称
|
||||
*/
|
||||
@JSONField(name = "委员会名称")
|
||||
private String committeeName;
|
||||
}
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
package com.jero.committee.dto;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
* @date 2024-06-05 15:33
|
||||
*/
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
public class CommiteeMemberInfoDTO {
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
@JSONField(name = "手机")
|
||||
private String mobilePhone;
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
@JSONField(name = "序号")
|
||||
private String number;
|
||||
/**
|
||||
* 证件号码
|
||||
*/
|
||||
@JSONField(name = "证件号码")
|
||||
private String identificationNumber;
|
||||
/**
|
||||
* 所学专业
|
||||
*/
|
||||
@JSONField(name = "所学专业")
|
||||
private String majorStudied;
|
||||
/**
|
||||
* 行政职务
|
||||
*/
|
||||
@JSONField(name = "行政职务")
|
||||
private String administrativePosition;
|
||||
/**
|
||||
* 技术职称
|
||||
*/
|
||||
@JSONField(name = "技术职称")
|
||||
private String technicalTitle;
|
||||
/**
|
||||
* 所属相关方
|
||||
*/
|
||||
@JSONField(name = "所属相关方")
|
||||
private String affiliatedParties;
|
||||
/**
|
||||
* 参加委员会时间
|
||||
*/
|
||||
@JSONField(name = "参加委员会时间")
|
||||
private String committeeParticipationTime;
|
||||
/**
|
||||
* 工作单位
|
||||
*/
|
||||
@JSONField(name = "工作单位")
|
||||
private String workUnit;
|
||||
/**
|
||||
* 电子邮箱
|
||||
*/
|
||||
@JSONField(name = "电子邮箱")
|
||||
private String eMail;
|
||||
/**
|
||||
* 委员会编号
|
||||
*/
|
||||
@JSONField(name = "委员会编号")
|
||||
private String committeeNumber;
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@JSONField(name = "姓名")
|
||||
private String name;
|
||||
/**
|
||||
* 民族
|
||||
*/
|
||||
@JSONField(name = "民族")
|
||||
private String nation;
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@JSONField(name = "联系电话")
|
||||
private String contactPhoneNumber;
|
||||
/**
|
||||
* 毕业院校
|
||||
*/
|
||||
@JSONField(name = "毕业院校")
|
||||
private String graduationInstitution;
|
||||
/**
|
||||
* 聘书有效期
|
||||
*/
|
||||
@JSONField(name = "聘书有效期")
|
||||
private String validityPeriodOfEmploymentLetter;
|
||||
/**
|
||||
* 外语
|
||||
*/
|
||||
@JSONField(name = "外语")
|
||||
private String foreignLanguage;
|
||||
/**
|
||||
* 委员聘书编号
|
||||
*/
|
||||
@JSONField(name = "委员聘书编号")
|
||||
private String appointmentLetterNumber;
|
||||
/**
|
||||
* 标委会职务
|
||||
*/
|
||||
@JSONField(name = "标委会职务")
|
||||
private String positionOfStandardsCommittee;
|
||||
/**
|
||||
* 专业技术特长
|
||||
*/
|
||||
@JSONField(name = "专业技术特长")
|
||||
private String professionalTechnicalExpertise;
|
||||
/**
|
||||
* 职称级别
|
||||
*/
|
||||
@JSONField(name = "职称级别")
|
||||
private String titleLevel;
|
||||
/**
|
||||
* 从事专业
|
||||
*/
|
||||
@JSONField(name = "从事专业")
|
||||
private String engagedInProfession;
|
||||
/**
|
||||
* 学历
|
||||
*/
|
||||
@JSONField(name = "学历")
|
||||
private String educationalBackground;
|
||||
/**
|
||||
* 邮政编码
|
||||
*/
|
||||
@JSONField(name = "邮政编码")
|
||||
private String zipCode;
|
||||
/**
|
||||
* 学位
|
||||
*/
|
||||
@JSONField(name = "学位")
|
||||
private String degree;
|
||||
/**
|
||||
* 单位性质
|
||||
*/
|
||||
@JSONField(name = "单位性质")
|
||||
private String unitNature;
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
@JSONField(name = "性别")
|
||||
private String gender;
|
||||
/**
|
||||
* 通信地址
|
||||
*/
|
||||
@JSONField(name = "通信地址")
|
||||
private String communicationAddress;
|
||||
/**
|
||||
* 外语熟练程度
|
||||
*/
|
||||
@JSONField(name = "外语熟练程度")
|
||||
private String foreignLanguageProficiencyLevel;
|
||||
/**
|
||||
* 传真
|
||||
*/
|
||||
@JSONField(name = "传真")
|
||||
private String facsimile;
|
||||
/**
|
||||
* 央企级别
|
||||
*/
|
||||
@JSONField(name = "央企级别")
|
||||
private String centralEnterpriseLevel;
|
||||
/**
|
||||
* 工作单位统一社会信用代码或组织机构代码
|
||||
*/
|
||||
@JSONField(name = "工作单位统一社会信用代码或组织机构代码")
|
||||
private String orgCode;
|
||||
/**
|
||||
* 政治面貌
|
||||
*/
|
||||
@JSONField(name = "政治面貌")
|
||||
private String politicalLandscape;
|
||||
/**
|
||||
* 工作单位所属省直辖市自治区特区
|
||||
*/
|
||||
@JSONField(name = "工作单位所属省_直辖市_自治区_特区")
|
||||
private String provinceOfWorkUnit;
|
||||
/**
|
||||
* 证件类型
|
||||
*/
|
||||
@JSONField(name = "证件类型")
|
||||
private String documentType;
|
||||
/**
|
||||
* 出生年月
|
||||
*/
|
||||
@JSONField(name = "出生年月")
|
||||
private String birthDate;
|
||||
}
|
||||
+234
@@ -0,0 +1,234 @@
|
||||
package com.jero.committee.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*@author liJiaRao
|
||||
*@date 2024-06-05 16:03
|
||||
*/
|
||||
|
||||
/**
|
||||
* 委员会表
|
||||
*/
|
||||
@ApiModel(description = "委员会表")
|
||||
@Data
|
||||
@TableName(value = "pay_committee_info")
|
||||
public class PayCommitteeInfo {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
@TableField(value = "contacts")
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contacts;
|
||||
|
||||
/**
|
||||
* Email
|
||||
*/
|
||||
@TableField(value = "email")
|
||||
@ApiModelProperty(value = "Email")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 成立年代
|
||||
*/
|
||||
@TableField(value = "establishment_year")
|
||||
@ApiModelProperty(value = "成立年代")
|
||||
private String establishmentYear;
|
||||
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
@TableField(value = "telephone")
|
||||
@ApiModelProperty(value = "电话")
|
||||
private String telephone;
|
||||
|
||||
/**
|
||||
* 秘书处所在单位
|
||||
*/
|
||||
@TableField(value = "the_unit_to_which_one_belongs")
|
||||
@ApiModelProperty(value = "秘书处所在单位")
|
||||
private String theUnitToWhichOneBelongs;
|
||||
|
||||
/**
|
||||
* 本届批准时间
|
||||
*/
|
||||
@TableField(value = "approval_time_for_this_session")
|
||||
@ApiModelProperty(value = "本届批准时间")
|
||||
private Date approvalTimeForThisSession;
|
||||
|
||||
/**
|
||||
* 技术组织类型
|
||||
*/
|
||||
@TableField(value = "technical_organization_type")
|
||||
@ApiModelProperty(value = "技术组织类型")
|
||||
private String technicalOrganizationType;
|
||||
|
||||
/**
|
||||
* 联系人Email
|
||||
*/
|
||||
@TableField(value = "contact_email")
|
||||
@ApiModelProperty(value = "联系人Email")
|
||||
private String contactEmail;
|
||||
|
||||
/**
|
||||
* 委员会编号
|
||||
*/
|
||||
@TableField(value = "committee_number")
|
||||
@ApiModelProperty(value = "委员会编号")
|
||||
private String committeeNumber;
|
||||
|
||||
/**
|
||||
* 秘书处所在省
|
||||
*/
|
||||
@TableField(value = "province")
|
||||
@ApiModelProperty(value = "秘书处所在省")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 第一届成立时间
|
||||
*/
|
||||
@TableField(value = "rst_establishment_date")
|
||||
@ApiModelProperty(value = "第一届成立时间")
|
||||
private Date rstEstablishmentDate;
|
||||
|
||||
/**
|
||||
* 联系人传真
|
||||
*/
|
||||
@TableField(value = "contact_fax")
|
||||
@ApiModelProperty(value = "联系人传真")
|
||||
private String contactFax;
|
||||
|
||||
/**
|
||||
* 负责专业范围
|
||||
*/
|
||||
@TableField(value = "responsible_for_professional_scope")
|
||||
@ApiModelProperty(value = "负责专业范围")
|
||||
private String responsibleForProfessionalScope;
|
||||
|
||||
/**
|
||||
* 秘书处通讯地址
|
||||
*/
|
||||
@TableField(value = "secretariat_mailing_address")
|
||||
@ApiModelProperty(value = "秘书处通讯地址")
|
||||
private String secretariatMailingAddress;
|
||||
|
||||
/**
|
||||
* 联系人电话
|
||||
*/
|
||||
@TableField(value = "contact_phone_number")
|
||||
@ApiModelProperty(value = "联系人电话")
|
||||
private String contactPhoneNumber;
|
||||
|
||||
/**
|
||||
* 业务指导单位
|
||||
*/
|
||||
@TableField(value = "business_guidance_unit")
|
||||
@ApiModelProperty(value = "业务指导单位")
|
||||
private String businessGuidanceUnit;
|
||||
|
||||
/**
|
||||
* 秘书处所在城市
|
||||
*/
|
||||
@TableField(value = "city")
|
||||
@ApiModelProperty(value = "秘书处所在城市")
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 秘书处单位性质
|
||||
*/
|
||||
@TableField(value = "unit_nature")
|
||||
@ApiModelProperty(value = "秘书处单位性质")
|
||||
private String unitNature;
|
||||
|
||||
/**
|
||||
* 秘书处组织机构代码
|
||||
*/
|
||||
@TableField(value = "org_code")
|
||||
@ApiModelProperty(value = "秘书处组织机构代码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 秘书长
|
||||
*/
|
||||
@TableField(value = "secretary_general")
|
||||
@ApiModelProperty(value = "秘书长")
|
||||
private String secretaryGeneral;
|
||||
|
||||
/**
|
||||
* 成立文号
|
||||
*/
|
||||
@TableField(value = "establishment_number")
|
||||
@ApiModelProperty(value = "成立文号")
|
||||
private String establishmentNumber;
|
||||
|
||||
/**
|
||||
* 联系人手机
|
||||
*/
|
||||
@TableField(value = "cell_phone")
|
||||
@ApiModelProperty(value = "联系人手机")
|
||||
private String cellPhone;
|
||||
|
||||
/**
|
||||
* 现为第几届
|
||||
*/
|
||||
@TableField(value = "what_is_the_current_session")
|
||||
@ApiModelProperty(value = "现为第几届")
|
||||
private String whatIsTheCurrentSession;
|
||||
|
||||
/**
|
||||
* 邮政编码
|
||||
*/
|
||||
@TableField(value = "zip_code")
|
||||
@ApiModelProperty(value = "邮政编码")
|
||||
private String zipCode;
|
||||
|
||||
/**
|
||||
* 英文名称
|
||||
*/
|
||||
@TableField(value = "english_name")
|
||||
@ApiModelProperty(value = "英文名称")
|
||||
private String englishName;
|
||||
|
||||
/**
|
||||
* 本届批准文号编号
|
||||
*/
|
||||
@TableField(value = "approval_number_for_this_session")
|
||||
@ApiModelProperty(value = "本届批准文号编号")
|
||||
private String approvalNumberForThisSession;
|
||||
|
||||
/**
|
||||
* 传真
|
||||
*/
|
||||
@TableField(value = "facsimile")
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String facsimile;
|
||||
|
||||
/**
|
||||
* 筹建单位
|
||||
*/
|
||||
@TableField(value = "preparation_unit")
|
||||
@ApiModelProperty(value = "筹建单位")
|
||||
private String preparationUnit;
|
||||
|
||||
/**
|
||||
* 委员会名称
|
||||
*/
|
||||
@TableField(value = "committee_name")
|
||||
@ApiModelProperty(value = "委员会名称")
|
||||
private String committeeName;
|
||||
}
|
||||
+283
@@ -0,0 +1,283 @@
|
||||
package com.jero.committee.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*@author liJiaRao
|
||||
*@date 2024-06-05 16:03
|
||||
*/
|
||||
|
||||
/**
|
||||
* 委员会成员表
|
||||
*/
|
||||
@ApiModel(description = "委员会成员表")
|
||||
@Data
|
||||
@TableName(value = "pay_committee_member_info")
|
||||
public class PayCommitteeMemberInfo {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
@TableField(value = "mobile_phone")
|
||||
@ApiModelProperty(value = "手机")
|
||||
private String mobilePhone;
|
||||
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
@TableField(value = "`number`")
|
||||
@ApiModelProperty(value = "序号")
|
||||
private String number;
|
||||
|
||||
/**
|
||||
* 证件号码
|
||||
*/
|
||||
@TableField(value = "identification_number")
|
||||
@ApiModelProperty(value = "证件号码")
|
||||
private String identificationNumber;
|
||||
|
||||
/**
|
||||
* 所学专业
|
||||
*/
|
||||
@TableField(value = "major_studied")
|
||||
@ApiModelProperty(value = "所学专业")
|
||||
private String majorStudied;
|
||||
|
||||
/**
|
||||
* 行政职务
|
||||
*/
|
||||
@TableField(value = "administrative_position")
|
||||
@ApiModelProperty(value = "行政职务")
|
||||
private String administrativePosition;
|
||||
|
||||
/**
|
||||
* 技术职称
|
||||
*/
|
||||
@TableField(value = "technical_title")
|
||||
@ApiModelProperty(value = "技术职称")
|
||||
private String technicalTitle;
|
||||
|
||||
/**
|
||||
* 所属相关方
|
||||
*/
|
||||
@TableField(value = "affiliated_parties")
|
||||
@ApiModelProperty(value = "所属相关方")
|
||||
private String affiliatedParties;
|
||||
|
||||
/**
|
||||
* 参加委员会时间
|
||||
*/
|
||||
@TableField(value = "committee_participation_time")
|
||||
@ApiModelProperty(value = "参加委员会时间")
|
||||
private Date committeeParticipationTime;
|
||||
|
||||
/**
|
||||
* 工作单位
|
||||
*/
|
||||
@TableField(value = "work_unit")
|
||||
@ApiModelProperty(value = "工作单位")
|
||||
private String workUnit;
|
||||
|
||||
/**
|
||||
* 电子邮箱
|
||||
*/
|
||||
@TableField(value = "e_mail")
|
||||
@ApiModelProperty(value = "电子邮箱")
|
||||
private String eMail;
|
||||
|
||||
/**
|
||||
* 委员会编号
|
||||
*/
|
||||
@TableField(value = "committee_number")
|
||||
@ApiModelProperty(value = "委员会编号")
|
||||
private String committeeNumber;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@TableField(value = "`name`")
|
||||
@ApiModelProperty(value = "姓名")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 民族
|
||||
*/
|
||||
@TableField(value = "nation")
|
||||
@ApiModelProperty(value = "民族")
|
||||
private String nation;
|
||||
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@TableField(value = "contact_phone_number")
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String contactPhoneNumber;
|
||||
|
||||
/**
|
||||
* 毕业院校
|
||||
*/
|
||||
@TableField(value = "graduation_institution")
|
||||
@ApiModelProperty(value = "毕业院校")
|
||||
private String graduationInstitution;
|
||||
|
||||
/**
|
||||
* 聘书有效期
|
||||
*/
|
||||
@TableField(value = "validity_period_of_employment_letter")
|
||||
@ApiModelProperty(value = "聘书有效期")
|
||||
private Date validityPeriodOfEmploymentLetter;
|
||||
|
||||
/**
|
||||
* 外语
|
||||
*/
|
||||
@TableField(value = "foreign_language")
|
||||
@ApiModelProperty(value = "外语")
|
||||
private String foreignLanguage;
|
||||
|
||||
/**
|
||||
* 委员聘书编号
|
||||
*/
|
||||
@TableField(value = "appointment_letter_number")
|
||||
@ApiModelProperty(value = "委员聘书编号")
|
||||
private String appointmentLetterNumber;
|
||||
|
||||
/**
|
||||
* 标委会职务
|
||||
*/
|
||||
@TableField(value = "position_of_standards_committee")
|
||||
@ApiModelProperty(value = "标委会职务")
|
||||
private String positionOfStandardsCommittee;
|
||||
|
||||
/**
|
||||
* 专业技术特长
|
||||
*/
|
||||
@TableField(value = "professional_technical_expertise")
|
||||
@ApiModelProperty(value = "专业技术特长")
|
||||
private String professionalTechnicalExpertise;
|
||||
|
||||
/**
|
||||
* 职称级别
|
||||
*/
|
||||
@TableField(value = "title_level")
|
||||
@ApiModelProperty(value = "职称级别")
|
||||
private String titleLevel;
|
||||
|
||||
/**
|
||||
* 从事专业
|
||||
*/
|
||||
@TableField(value = "engaged_in_profession")
|
||||
@ApiModelProperty(value = "从事专业")
|
||||
private String engagedInProfession;
|
||||
|
||||
/**
|
||||
* 学历
|
||||
*/
|
||||
@TableField(value = "educational_background")
|
||||
@ApiModelProperty(value = "学历")
|
||||
private String educationalBackground;
|
||||
|
||||
/**
|
||||
* 邮政编码
|
||||
*/
|
||||
@TableField(value = "zip_code")
|
||||
@ApiModelProperty(value = "邮政编码")
|
||||
private String zipCode;
|
||||
|
||||
/**
|
||||
* 学位
|
||||
*/
|
||||
@TableField(value = "`degree`")
|
||||
@ApiModelProperty(value = "学位")
|
||||
private String degree;
|
||||
|
||||
/**
|
||||
* 单位性质
|
||||
*/
|
||||
@TableField(value = "unit_nature")
|
||||
@ApiModelProperty(value = "单位性质")
|
||||
private String unitNature;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
@TableField(value = "gender")
|
||||
@ApiModelProperty(value = "性别")
|
||||
private String gender;
|
||||
|
||||
/**
|
||||
* 通信地址
|
||||
*/
|
||||
@TableField(value = "communication_address")
|
||||
@ApiModelProperty(value = "通信地址")
|
||||
private String communicationAddress;
|
||||
|
||||
/**
|
||||
* 外语熟练程度
|
||||
*/
|
||||
@TableField(value = "foreign_language_proficiency_level")
|
||||
@ApiModelProperty(value = "外语熟练程度")
|
||||
private String foreignLanguageProficiencyLevel;
|
||||
|
||||
/**
|
||||
* 传真
|
||||
*/
|
||||
@TableField(value = "facsimile")
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String facsimile;
|
||||
|
||||
/**
|
||||
* 央企级别
|
||||
*/
|
||||
@TableField(value = "central_enterprise_level")
|
||||
@ApiModelProperty(value = "央企级别")
|
||||
private String centralEnterpriseLevel;
|
||||
|
||||
/**
|
||||
* 工作单位统一社会信用代码或组织机构代码
|
||||
*/
|
||||
@TableField(value = "org_code")
|
||||
@ApiModelProperty(value = "工作单位统一社会信用代码或组织机构代码")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 政治面貌
|
||||
*/
|
||||
@TableField(value = "political_landscape")
|
||||
@ApiModelProperty(value = "政治面貌")
|
||||
private String politicalLandscape;
|
||||
|
||||
/**
|
||||
* 工作单位所属省_直辖市_自治区_特区
|
||||
*/
|
||||
@TableField(value = "province_of_work_unit")
|
||||
@ApiModelProperty(value = "工作单位所属省_直辖市_自治区_特区")
|
||||
private String provinceOfWorkUnit;
|
||||
|
||||
/**
|
||||
* 证件类型
|
||||
*/
|
||||
@TableField(value = "document_type")
|
||||
@ApiModelProperty(value = "证件类型")
|
||||
private String documentType;
|
||||
|
||||
/**
|
||||
* 出生年月
|
||||
*/
|
||||
@TableField(value = "birth_date")
|
||||
@ApiModelProperty(value = "出生年月")
|
||||
private Date birthDate;
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.jero.committee.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.jero.committee.entity.PayCommitteeInfo;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
* @date 2024-06-05 16:03
|
||||
*/
|
||||
public interface PayCommitteeInfoMapper extends BaseMapper<PayCommitteeInfo> {
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.jero.committee.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.jero.committee.entity.PayCommitteeMemberInfo;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
* @date 2024-06-05 16:03
|
||||
*/
|
||||
public interface PayCommitteeMemberInfoMapper extends BaseMapper<PayCommitteeMemberInfo> {
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.jero.committee.mapper.PayCommitteeInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jero.committee.entity.PayCommitteeInfo">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table pay_committee_info-->
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="contacts" jdbcType="VARCHAR" property="contacts" />
|
||||
<result column="email" jdbcType="VARCHAR" property="email" />
|
||||
<result column="establishment_year" jdbcType="VARCHAR" property="establishmentYear" />
|
||||
<result column="telephone" jdbcType="VARCHAR" property="telephone" />
|
||||
<result column="the_unit_to_which_one_belongs" jdbcType="VARCHAR" property="theUnitToWhichOneBelongs" />
|
||||
<result column="approval_time_for_this_session" jdbcType="DATE" property="approvalTimeForThisSession" />
|
||||
<result column="technical_organization_type" jdbcType="VARCHAR" property="technicalOrganizationType" />
|
||||
<result column="contact_email" jdbcType="VARCHAR" property="contactEmail" />
|
||||
<result column="committee_number" jdbcType="VARCHAR" property="committeeNumber" />
|
||||
<result column="province" jdbcType="VARCHAR" property="province" />
|
||||
<result column="rst_establishment_date" jdbcType="DATE" property="rstEstablishmentDate" />
|
||||
<result column="contact_fax" jdbcType="VARCHAR" property="contactFax" />
|
||||
<result column="responsible_for_professional_scope" jdbcType="VARCHAR" property="responsibleForProfessionalScope" />
|
||||
<result column="secretariat_mailing_address" jdbcType="VARCHAR" property="secretariatMailingAddress" />
|
||||
<result column="contact_phone_number" jdbcType="VARCHAR" property="contactPhoneNumber" />
|
||||
<result column="business_guidance_unit" jdbcType="VARCHAR" property="businessGuidanceUnit" />
|
||||
<result column="city" jdbcType="VARCHAR" property="city" />
|
||||
<result column="unit_nature" jdbcType="VARCHAR" property="unitNature" />
|
||||
<result column="org_code" jdbcType="VARCHAR" property="orgCode" />
|
||||
<result column="secretary_general" jdbcType="VARCHAR" property="secretaryGeneral" />
|
||||
<result column="establishment_number" jdbcType="VARCHAR" property="establishmentNumber" />
|
||||
<result column="cell_phone" jdbcType="VARCHAR" property="cellPhone" />
|
||||
<result column="what_is_the_current_session" jdbcType="VARCHAR" property="whatIsTheCurrentSession" />
|
||||
<result column="zip_code" jdbcType="VARCHAR" property="zipCode" />
|
||||
<result column="english_name" jdbcType="VARCHAR" property="englishName" />
|
||||
<result column="approval_number_for_this_session" jdbcType="VARCHAR" property="approvalNumberForThisSession" />
|
||||
<result column="facsimile" jdbcType="VARCHAR" property="facsimile" />
|
||||
<result column="preparation_unit" jdbcType="VARCHAR" property="preparationUnit" />
|
||||
<result column="committee_name" jdbcType="VARCHAR" property="committeeName" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, contacts, email, establishment_year, telephone, the_unit_to_which_one_belongs,
|
||||
approval_time_for_this_session, technical_organization_type, contact_email, committee_number,
|
||||
province, rst_establishment_date, contact_fax, responsible_for_professional_scope,
|
||||
secretariat_mailing_address, contact_phone_number, business_guidance_unit, city,
|
||||
unit_nature, org_code, secretary_general, establishment_number, cell_phone, what_is_the_current_session,
|
||||
zip_code, english_name, approval_number_for_this_session, facsimile, preparation_unit,
|
||||
committee_name
|
||||
</sql>
|
||||
</mapper>
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.jero.committee.mapper.PayCommitteeMemberInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jero.committee.entity.PayCommitteeMemberInfo">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table pay_committee_member_info-->
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="mobile_phone" jdbcType="VARCHAR" property="mobilePhone" />
|
||||
<result column="number" jdbcType="VARCHAR" property="number" />
|
||||
<result column="identification_number" jdbcType="VARCHAR" property="identificationNumber" />
|
||||
<result column="major_studied" jdbcType="VARCHAR" property="majorStudied" />
|
||||
<result column="administrative_position" jdbcType="VARCHAR" property="administrativePosition" />
|
||||
<result column="technical_title" jdbcType="VARCHAR" property="technicalTitle" />
|
||||
<result column="affiliated_parties" jdbcType="VARCHAR" property="affiliatedParties" />
|
||||
<result column="committee_participation_time" jdbcType="DATE" property="committeeParticipationTime" />
|
||||
<result column="work_unit" jdbcType="VARCHAR" property="workUnit" />
|
||||
<result column="e_mail" jdbcType="VARCHAR" property="eMail" />
|
||||
<result column="committee_number" jdbcType="VARCHAR" property="committeeNumber" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="nation" jdbcType="VARCHAR" property="nation" />
|
||||
<result column="contact_phone_number" jdbcType="VARCHAR" property="contactPhoneNumber" />
|
||||
<result column="graduation_institution" jdbcType="VARCHAR" property="graduationInstitution" />
|
||||
<result column="validity_period_of_employment_letter" jdbcType="DATE" property="validityPeriodOfEmploymentLetter" />
|
||||
<result column="foreign_language" jdbcType="VARCHAR" property="foreignLanguage" />
|
||||
<result column="appointment_letter_number" jdbcType="VARCHAR" property="appointmentLetterNumber" />
|
||||
<result column="position_of_standards_committee" jdbcType="VARCHAR" property="positionOfStandardsCommittee" />
|
||||
<result column="professional_technical_expertise" jdbcType="VARCHAR" property="professionalTechnicalExpertise" />
|
||||
<result column="title_level" jdbcType="VARCHAR" property="titleLevel" />
|
||||
<result column="engaged_in_profession" jdbcType="VARCHAR" property="engagedInProfession" />
|
||||
<result column="educational_background" jdbcType="VARCHAR" property="educationalBackground" />
|
||||
<result column="zip_code" jdbcType="VARCHAR" property="zipCode" />
|
||||
<result column="degree" jdbcType="VARCHAR" property="degree" />
|
||||
<result column="unit_nature" jdbcType="VARCHAR" property="unitNature" />
|
||||
<result column="gender" jdbcType="VARCHAR" property="gender" />
|
||||
<result column="communication_address" jdbcType="VARCHAR" property="communicationAddress" />
|
||||
<result column="foreign_language_proficiency_level" jdbcType="VARCHAR" property="foreignLanguageProficiencyLevel" />
|
||||
<result column="facsimile" jdbcType="VARCHAR" property="facsimile" />
|
||||
<result column="central_enterprise_level" jdbcType="VARCHAR" property="centralEnterpriseLevel" />
|
||||
<result column="org_code" jdbcType="VARCHAR" property="orgCode" />
|
||||
<result column="political_landscape" jdbcType="VARCHAR" property="politicalLandscape" />
|
||||
<result column="province_of_work_unit" jdbcType="VARCHAR" property="provinceOfWorkUnit" />
|
||||
<result column="document_type" jdbcType="VARCHAR" property="documentType" />
|
||||
<result column="birth_date" jdbcType="DATE" property="birthDate" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, mobile_phone, `number`, identification_number, major_studied, administrative_position,
|
||||
technical_title, affiliated_parties, committee_participation_time, work_unit, e_mail,
|
||||
committee_number, `name`, nation, contact_phone_number, graduation_institution, validity_period_of_employment_letter,
|
||||
foreign_language, appointment_letter_number, position_of_standards_committee, professional_technical_expertise,
|
||||
title_level, engaged_in_profession, educational_background, zip_code, `degree`, unit_nature,
|
||||
gender, communication_address, foreign_language_proficiency_level, facsimile, central_enterprise_level,
|
||||
org_code, political_landscape, province_of_work_unit, document_type, birth_date
|
||||
</sql>
|
||||
</mapper>
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package com.jero.committee.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.jero.committee.mapper.PayCommitteeInfoMapper;
|
||||
import com.jero.committee.entity.PayCommitteeInfo;
|
||||
/**
|
||||
*
|
||||
*@author liJiaRao
|
||||
*@date 2024-06-05 16:02
|
||||
*/
|
||||
@Service
|
||||
public class PayCommitteeInfoService extends ServiceImpl<PayCommitteeInfoMapper, PayCommitteeInfo> {
|
||||
public void add(PayCommitteeInfo payCommitteeInfo) {
|
||||
this.save(payCommitteeInfo);
|
||||
}
|
||||
|
||||
public void editById(PayCommitteeInfo payCommitteeInfo) {
|
||||
this.updateById(payCommitteeInfo);
|
||||
}
|
||||
|
||||
public void deleteById(String id) {
|
||||
this.removeById(id);
|
||||
}
|
||||
|
||||
public void deleteByIds(List<String> idList) {
|
||||
for (String id : idList) {
|
||||
deleteById(id);
|
||||
}
|
||||
}
|
||||
|
||||
public PayCommitteeInfo queryById(String id) {
|
||||
PayCommitteeInfo payCommitteeInfo = this.getById(id);
|
||||
return payCommitteeInfo;
|
||||
}
|
||||
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.jero.committee.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.jero.committee.entity.PayCommitteeMemberInfo;
|
||||
import com.jero.committee.mapper.PayCommitteeMemberInfoMapper;
|
||||
/**
|
||||
*
|
||||
*@author liJiaRao
|
||||
*@date 2024-06-05 16:02
|
||||
*/
|
||||
@Service
|
||||
public class PayCommitteeMemberInfoService extends ServiceImpl<PayCommitteeMemberInfoMapper, PayCommitteeMemberInfo> {
|
||||
public void add(PayCommitteeMemberInfo payCommitteeMemberInfo) {
|
||||
this.save(payCommitteeMemberInfo);
|
||||
}
|
||||
|
||||
public void editById(PayCommitteeMemberInfo payCommitteeMemberInfo) {
|
||||
this.updateById(payCommitteeMemberInfo);
|
||||
}
|
||||
|
||||
public void deleteById(String id) {
|
||||
this.removeById(id);
|
||||
}
|
||||
|
||||
public void deleteByIds(List<String> idList) {
|
||||
for (String id : idList) {
|
||||
deleteById(id);
|
||||
}
|
||||
}
|
||||
|
||||
public PayCommitteeMemberInfo queryById(String id) {
|
||||
PayCommitteeMemberInfo payCommitteeMemberInfo = this.getById(id);
|
||||
return payCommitteeMemberInfo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user