add 初始化-标准法规入库/变更流程-业务代码
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
package com.jero.modules.activiti.process.fb.controller;
|
||||
|
||||
import com.jero.modules.activiti.process.fb.entity.ProcessFbEntryChange;
|
||||
import com.jero.modules.activiti.process.fb.service.IProcessFbEntryChangeService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
|
||||
/**
|
||||
* @Description: 标准法规入库/变更流程
|
||||
* @Author: jero-boot
|
||||
* @Date: 2023-11-01
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="标准法规入库/变更流程")
|
||||
@RestController
|
||||
@RequestMapping("/process/fb/processFbEntryChange")
|
||||
@Slf4j
|
||||
public class ProcessFbEntryChangeController extends JeroController<ProcessFbEntryChange, IProcessFbEntryChangeService> {
|
||||
@Autowired
|
||||
private IProcessFbEntryChangeService processFbEntryChangeService;
|
||||
|
||||
}
|
||||
+244
@@ -0,0 +1,244 @@
|
||||
package com.jero.modules.activiti.process.fb.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.Date;
|
||||
import java.math.BigDecimal;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import com.jero.common.aspect.annotation.Dict;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
|
||||
|
||||
/**
|
||||
* @Description: 标准法规入库/变更流程
|
||||
* @Author: jero-boot
|
||||
* @Date: 2023-11-01
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("process_fb_entry_change")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="process_fb_entry_change对象", description="标准法规入库/变更流程")
|
||||
public class ProcessFbEntryChange implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键ID*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private java.lang.String id;
|
||||
/**创建人*/
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private java.lang.String createBy;
|
||||
/**创建时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private java.util.Date createTime;
|
||||
/**更新人*/
|
||||
@ApiModelProperty(value = "更新人")
|
||||
private java.lang.String updateBy;
|
||||
/**更新时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private java.util.Date updateTime;
|
||||
/**所属部门*/
|
||||
@Excel(name = "所属部门", width = 15)
|
||||
@ApiModelProperty(value = "所属部门")
|
||||
private java.lang.String orgCode;
|
||||
/**0表示未删除,1表示删除*/
|
||||
@Excel(name = "0表示未删除,1表示删除", width = 15)
|
||||
@ApiModelProperty(value = "0表示未删除,1表示删除")
|
||||
private java.lang.Integer delFlag;
|
||||
/**流程示例id(流程信息)*/
|
||||
@Excel(name = "流程示例id(流程信息)", width = 15)
|
||||
@ApiModelProperty(value = "流程示例id(流程信息)")
|
||||
private java.lang.String processInstanceId;
|
||||
/**流程名称(流程信息)*/
|
||||
@Excel(name = "流程名称(流程信息)", width = 15)
|
||||
@ApiModelProperty(value = "流程名称(流程信息)")
|
||||
private java.lang.String processname;
|
||||
/**截止日期(流程信息)*/
|
||||
@Excel(name = "截止日期(流程信息)", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "截止日期(流程信息)")
|
||||
private java.util.Date processDueDate;
|
||||
/**流程说明(流程信息)*/
|
||||
@Excel(name = "流程说明(流程信息)", width = 15)
|
||||
@ApiModelProperty(value = "流程说明(流程信息)")
|
||||
private java.lang.String processDescription;
|
||||
/**来源(1国内、2海外)*/
|
||||
@Excel(name = "来源(1国内、2海外)", width = 15)
|
||||
@ApiModelProperty(value = "来源(1国内、2海外)")
|
||||
private java.lang.String source;
|
||||
/**操作类型(1标准法规入库、2标准法规变更)*/
|
||||
@Excel(name = "操作类型(1标准法规入库、2标准法规变更)", width = 15)
|
||||
@ApiModelProperty(value = "操作类型(1标准法规入库、2标准法规变更)")
|
||||
private java.lang.String operateType;
|
||||
/**标准性质*/
|
||||
@Excel(name = "标准性质", width = 15)
|
||||
@ApiModelProperty(value = "标准性质")
|
||||
private java.lang.String standardProperty;
|
||||
/**标准类别*/
|
||||
@Excel(name = "标准类别", width = 15)
|
||||
@ApiModelProperty(value = "标准类别")
|
||||
private java.lang.String standardClass;
|
||||
/**标准号*/
|
||||
@Excel(name = "标准号", width = 15)
|
||||
@ApiModelProperty(value = "标准号")
|
||||
private java.lang.String standardNumberTemp;
|
||||
/**标准编号*/
|
||||
@Excel(name = "标准编号", width = 15)
|
||||
@ApiModelProperty(value = "标准编号")
|
||||
private java.lang.String standardNumber;
|
||||
/**年代号*/
|
||||
@Excel(name = "年代号", width = 15)
|
||||
@ApiModelProperty(value = "年代号")
|
||||
private java.lang.String yearNumber;
|
||||
/**标准名称*/
|
||||
@Excel(name = "标准名称", width = 15)
|
||||
@ApiModelProperty(value = "标准名称")
|
||||
private java.lang.String standardName;
|
||||
/**标准英文名称*/
|
||||
@Excel(name = "标准英文名称", width = 15)
|
||||
@ApiModelProperty(value = "标准英文名称")
|
||||
private java.lang.String standardEnglishName;
|
||||
/**标准体系*/
|
||||
@Excel(name = "标准体系", width = 15)
|
||||
@ApiModelProperty(value = "标准体系")
|
||||
private java.lang.String standardSystem;
|
||||
/**发布日期*/
|
||||
@Excel(name = "发布日期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "发布日期")
|
||||
private java.util.Date releaseDate;
|
||||
/**实施日期*/
|
||||
@Excel(name = "实施日期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "实施日期")
|
||||
private java.util.Date implementationDate;
|
||||
/**在产车实施日期*/
|
||||
@Excel(name = "在产车实施日期", width = 15)
|
||||
@ApiModelProperty(value = "在产车实施日期")
|
||||
private java.lang.String onTheProductionDate;
|
||||
/**新车型实施日期*/
|
||||
@Excel(name = "新车型实施日期", width = 15)
|
||||
@ApiModelProperty(value = "新车型实施日期")
|
||||
private java.lang.String newModelImplementationDate;
|
||||
/**废止日期*/
|
||||
@Excel(name = "废止日期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "废止日期")
|
||||
private java.util.Date annulmentDate;
|
||||
/**归口管理部门*/
|
||||
@Excel(name = "归口管理部门", width = 15)
|
||||
@ApiModelProperty(value = "归口管理部门")
|
||||
private java.lang.String centralizedManagementDepartments;
|
||||
/**分标委*/
|
||||
@Excel(name = "分标委", width = 15)
|
||||
@ApiModelProperty(value = "分标委")
|
||||
private java.lang.String biddingCommittee;
|
||||
/**责任部门*/
|
||||
@Excel(name = "责任部门", width = 15)
|
||||
@ApiModelProperty(value = "责任部门")
|
||||
private java.lang.String responsibleDepartment;
|
||||
/**责任部门负责人*/
|
||||
@Excel(name = "责任部门负责人", width = 15)
|
||||
@ApiModelProperty(value = "责任部门负责人")
|
||||
private java.lang.String responsibleDepartmentUser;
|
||||
/**企业参与情况*/
|
||||
@Excel(name = "企业参与情况", width = 15)
|
||||
@ApiModelProperty(value = "企业参与情况")
|
||||
private java.lang.String enterpriseParticipation;
|
||||
/**零部件名称*/
|
||||
@Excel(name = "零部件名称", width = 15)
|
||||
@ApiModelProperty(value = "零部件名称")
|
||||
private java.lang.String partName;
|
||||
/**适用认证*/
|
||||
@Excel(name = "适用认证", width = 15)
|
||||
@ApiModelProperty(value = "适用认证")
|
||||
private java.lang.String applicableCertification;
|
||||
/**适用车型*/
|
||||
@Excel(name = "适用车型", width = 15)
|
||||
@ApiModelProperty(value = "适用车型")
|
||||
private java.lang.String applicableVehicle;
|
||||
/**动力类型*/
|
||||
@Excel(name = "动力类型", width = 15)
|
||||
@ApiModelProperty(value = "动力类型")
|
||||
private java.lang.String dynamicType;
|
||||
/**代替标准号*/
|
||||
@Excel(name = "代替标准号", width = 15)
|
||||
@ApiModelProperty(value = "代替标准号")
|
||||
private java.lang.String substituteStandardNumber;
|
||||
/**被代替标准号*/
|
||||
@Excel(name = "被代替标准号", width = 15)
|
||||
@ApiModelProperty(value = "被代替标准号")
|
||||
private java.lang.String replacedByStandardNumber;
|
||||
/**引用标准*/
|
||||
@Excel(name = "引用标准", width = 15)
|
||||
@ApiModelProperty(value = "引用标准")
|
||||
private java.lang.String referenceStandard;
|
||||
/**被引用标准*/
|
||||
@Excel(name = "被引用标准", width = 15)
|
||||
@ApiModelProperty(value = "被引用标准")
|
||||
private java.lang.String referencedStandard;
|
||||
/**关联文件*/
|
||||
@Excel(name = "关联文件", width = 15)
|
||||
@ApiModelProperty(value = "关联文件")
|
||||
private java.lang.String associatedFile;
|
||||
/**采标程度*/
|
||||
@Excel(name = "采标程度", width = 15)
|
||||
@ApiModelProperty(value = "采标程度")
|
||||
private java.lang.String degreeOfBidAcquisition;
|
||||
/**采用国际标准号*/
|
||||
@Excel(name = "采用国际标准号", width = 15)
|
||||
@ApiModelProperty(value = "采用国际标准号")
|
||||
private java.lang.String adoptTheInternationalStandardNumber;
|
||||
/**关联国外标准*/
|
||||
@Excel(name = "关联国外标准", width = 15)
|
||||
@ApiModelProperty(value = "关联国外标准")
|
||||
private java.lang.String associatedForeignStandards;
|
||||
/**发布搞(原文)*/
|
||||
@Excel(name = "发布搞(原文)", width = 15)
|
||||
@ApiModelProperty(value = "发布搞(原文)")
|
||||
private java.lang.String publishOfOriginal;
|
||||
/**发布搞(译文)*/
|
||||
@Excel(name = "发布搞(译文)", width = 15)
|
||||
@ApiModelProperty(value = "发布搞(译文)")
|
||||
private java.lang.String publishOfTranslation;
|
||||
/**修改单*/
|
||||
@Excel(name = "修改单", width = 15)
|
||||
@ApiModelProperty(value = "修改单")
|
||||
private java.lang.String modificationList;
|
||||
/**报批稿*/
|
||||
@Excel(name = "报批稿", width = 15)
|
||||
@ApiModelProperty(value = "报批稿")
|
||||
private java.lang.String draftForReview;
|
||||
/**送审稿*/
|
||||
@Excel(name = "送审稿", width = 15)
|
||||
@ApiModelProperty(value = "送审稿")
|
||||
private java.lang.String draftForApproval;
|
||||
/**征求意见稿*/
|
||||
@Excel(name = "征求意见稿", width = 15)
|
||||
@ApiModelProperty(value = "征求意见稿")
|
||||
private java.lang.String draftForComment;
|
||||
/**草案*/
|
||||
@Excel(name = "草案", width = 15)
|
||||
@ApiModelProperty(value = "草案")
|
||||
private java.lang.String draft;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.jero.modules.activiti.process.fb.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.jero.modules.activiti.process.fb.entity.ProcessFbEntryChange;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 标准法规入库/变更流程
|
||||
* @Author: jero-boot
|
||||
* @Date: 2023-11-01
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface ProcessFbEntryChangeMapper extends BaseMapper<ProcessFbEntryChange> {
|
||||
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
<?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.modules.activiti.process.fb.mapper.ProcessFbEntryChangeMapper">
|
||||
<resultMap id="ProcessFbEntryChangeResultMap" type="com.jero.modules.activiti.process.fb.entity.ProcessFbEntryChange">
|
||||
<id column="id" property="id" />
|
||||
<result column="create_by" property="createBy" />
|
||||
<result column="create_time" property="createTime" />
|
||||
<result column="update_by" property="updateBy" />
|
||||
<result column="update_time" property="updateTime" />
|
||||
<result column="org_code" property="orgCode" />
|
||||
<result column="del_flag" property="delFlag" />
|
||||
<result column="process_instance_id" property="processInstanceId" />
|
||||
<result column="processname" property="processname" />
|
||||
<result column="process_due_date" property="processDueDate" />
|
||||
<result column="process_description" property="processDescription" />
|
||||
<result column="source" property="source" />
|
||||
<result column="operate_type" property="operateType" />
|
||||
<result column="standard_property" property="standardProperty" />
|
||||
<result column="standard_class" property="standardClass" />
|
||||
<result column="standard_number_temp" property="standardNumberTemp" />
|
||||
<result column="standard_number" property="standardNumber" />
|
||||
<result column="year_number" property="yearNumber" />
|
||||
<result column="standard_name" property="standardName" />
|
||||
<result column="standard_english_name" property="standardEnglishName" />
|
||||
<result column="standard_system" property="standardSystem" />
|
||||
<result column="release_date" property="releaseDate" />
|
||||
<result column="implementation_date" property="implementationDate" />
|
||||
<result column="on_the_production_date" property="onTheProductionDate" />
|
||||
<result column="new_model_implementation_date" property="newModelImplementationDate" />
|
||||
<result column="annulment_date" property="annulmentDate" />
|
||||
<result column="centralized_management_departments" property="centralizedManagementDepartments" />
|
||||
<result column="bidding_committee" property="biddingCommittee" />
|
||||
<result column="responsible_department" property="responsibleDepartment" />
|
||||
<result column="responsible_department_user" property="responsibleDepartmentUser" />
|
||||
<result column="enterprise_participation" property="enterpriseParticipation" />
|
||||
<result column="part_name" property="partName" />
|
||||
<result column="applicable_certification" property="applicableCertification" />
|
||||
<result column="applicable_vehicle" property="applicableVehicle" />
|
||||
<result column="dynamic_type" property="dynamicType" />
|
||||
<result column="substitute_standard_number" property="substituteStandardNumber" />
|
||||
<result column="replaced_by_standard_number" property="replacedByStandardNumber" />
|
||||
<result column="reference_standard" property="referenceStandard" />
|
||||
<result column="referenced_standard" property="referencedStandard" />
|
||||
<result column="associated_file" property="associatedFile" />
|
||||
<result column="degree_of_bid_acquisition" property="degreeOfBidAcquisition" />
|
||||
<result column="adopt_the_international_standard_number" property="adoptTheInternationalStandardNumber" />
|
||||
<result column="associated_foreign_standards" property="associatedForeignStandards" />
|
||||
<result column="publish_of_original" property="publishOfOriginal" />
|
||||
<result column="publish_of_translation" property="publishOfTranslation" />
|
||||
<result column="modification_list" property="modificationList" />
|
||||
<result column="draft_for_review" property="draftForReview" />
|
||||
<result column="draft_for_approval" property="draftForApproval" />
|
||||
<result column="draft_for_comment" property="draftForComment" />
|
||||
<result column="draft" property="draft" />
|
||||
</resultMap>
|
||||
</mapper>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package com.jero.modules.activiti.process.fb.service;
|
||||
|
||||
import com.jero.modules.activiti.process.fb.entity.ProcessFbEntryChange;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @Description: 标准法规入库/变更流程
|
||||
* @Author: jero-boot
|
||||
* @Date: 2023-11-01
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface IProcessFbEntryChangeService extends IService<ProcessFbEntryChange> {
|
||||
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package com.jero.modules.activiti.process.fb.service.impl;
|
||||
|
||||
import com.jero.modules.activiti.process.fb.entity.ProcessFbEntryChange;
|
||||
import com.jero.modules.activiti.process.fb.mapper.ProcessFbEntryChangeMapper;
|
||||
import com.jero.modules.activiti.process.fb.service.IProcessFbEntryChangeService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import com.jero.common.exception.JeroBootException;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
|
||||
/**
|
||||
* @Description: 标准法规入库/变更流程
|
||||
* @Author: jero-boot
|
||||
* @Date: 2023-11-01
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = JeroBootException.class)
|
||||
@Slf4j
|
||||
public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryChangeMapper, ProcessFbEntryChange> implements IProcessFbEntryChangeService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user