fix(标准化活动): 字段属性调整
This commit is contained in:
-2
@@ -125,8 +125,6 @@ public class SarFileCompareInfoController extends JeroController<SarFileCompareI
|
|||||||
|
|
||||||
for (SarFileCompareInfo info : pageList.getRecords()) {
|
for (SarFileCompareInfo info : pageList.getRecords()) {
|
||||||
info.setReleaseStateTitle(ReleaseConditionEnum.getTextByValue(info.getReleaseState(), cut));
|
info.setReleaseStateTitle(ReleaseConditionEnum.getTextByValue(info.getReleaseState(), cut));
|
||||||
// info.setFileTypeLeft(getFileTypeText(info.getFileTypeLeft(), cut));
|
|
||||||
// info.setFileTypeRight(getFileTypeText(info.getFileTypeRight(), cut));
|
|
||||||
// 根据编号赋值标准ID、标准来源、补充创建人
|
// 根据编号赋值标准ID、标准来源、补充创建人
|
||||||
setProperty(info, lawsDomesticStandards, lawsOverseasStandards, lawsEnterpriseStandards);
|
setProperty(info, lawsDomesticStandards, lawsOverseasStandards, lawsEnterpriseStandards);
|
||||||
}
|
}
|
||||||
|
|||||||
+11
@@ -1,5 +1,7 @@
|
|||||||
package com.jero.modules.laws.standardization.entity;
|
package com.jero.modules.laws.standardization.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
@@ -31,38 +33,47 @@ public class LawsStandardizationGroup extends BaseEntity {
|
|||||||
/**我司在工作组排名顺序*/
|
/**我司在工作组排名顺序*/
|
||||||
@Excel(name = "我司在工作组排名顺序", width = 15)
|
@Excel(name = "我司在工作组排名顺序", width = 15)
|
||||||
@ApiModelProperty(value = "我司在工作组排名顺序")
|
@ApiModelProperty(value = "我司在工作组排名顺序")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String sort;
|
private java.lang.String sort;
|
||||||
/**参会人员*/
|
/**参会人员*/
|
||||||
@Excel(name = "参会人员", width = 15)
|
@Excel(name = "参会人员", width = 15)
|
||||||
@ApiModelProperty(value = "参会人员")
|
@ApiModelProperty(value = "参会人员")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String personnel;
|
private java.lang.String personnel;
|
||||||
/**工号*/
|
/**工号*/
|
||||||
@Excel(name = "工号", width = 15)
|
@Excel(name = "工号", width = 15)
|
||||||
@ApiModelProperty(value = "工号")
|
@ApiModelProperty(value = "工号")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String jobNum;
|
private java.lang.String jobNum;
|
||||||
/**单位*/
|
/**单位*/
|
||||||
@Excel(name = "单位", width = 15)
|
@Excel(name = "单位", width = 15)
|
||||||
@ApiModelProperty(value = "单位")
|
@ApiModelProperty(value = "单位")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String unit;
|
private java.lang.String unit;
|
||||||
/**提出部门*/
|
/**提出部门*/
|
||||||
@Excel(name = "提出部门", width = 15)
|
@Excel(name = "提出部门", width = 15)
|
||||||
@ApiModelProperty(value = "提出部门")
|
@ApiModelProperty(value = "提出部门")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String department;
|
private java.lang.String department;
|
||||||
/**电话*/
|
/**电话*/
|
||||||
@Excel(name = "电话", width = 15)
|
@Excel(name = "电话", width = 15)
|
||||||
@ApiModelProperty(value = "电话")
|
@ApiModelProperty(value = "电话")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String phone;
|
private java.lang.String phone;
|
||||||
/**邮箱*/
|
/**邮箱*/
|
||||||
@Excel(name = "邮箱", width = 15)
|
@Excel(name = "邮箱", width = 15)
|
||||||
@ApiModelProperty(value = "邮箱")
|
@ApiModelProperty(value = "邮箱")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String mailbox;
|
private java.lang.String mailbox;
|
||||||
/**身份*/
|
/**身份*/
|
||||||
@Excel(name = "身份", width = 15)
|
@Excel(name = "身份", width = 15)
|
||||||
@ApiModelProperty(value = "身份")
|
@ApiModelProperty(value = "身份")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String identity;
|
private java.lang.String identity;
|
||||||
/**资料*/
|
/**资料*/
|
||||||
@Excel(name = "资料", width = 15)
|
@Excel(name = "资料", width = 15)
|
||||||
@ApiModelProperty(value = "资料")
|
@ApiModelProperty(value = "资料")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private java.lang.String feeData;
|
private java.lang.String feeData;
|
||||||
/**部门code*/
|
/**部门code*/
|
||||||
@Excel(name = "部门code", width = 15)
|
@Excel(name = "部门code", width = 15)
|
||||||
|
|||||||
+11
-4
@@ -1,5 +1,7 @@
|
|||||||
package com.jero.modules.laws.standardization.entity;
|
package com.jero.modules.laws.standardization.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
@@ -28,25 +30,30 @@ public class LawsStandardizationLiaison extends BaseEntity {
|
|||||||
@Excel(name = "标准化活动ID", width = 15)
|
@Excel(name = "标准化活动ID", width = 15)
|
||||||
@ApiModelProperty(value = "标准化活动ID")
|
@ApiModelProperty(value = "标准化活动ID")
|
||||||
private String standardizationId;
|
private String standardizationId;
|
||||||
/**联络人ID*/
|
/**联络人*/
|
||||||
@Excel(name = "联络人ID", width = 15)
|
@Excel(name = "联络人", width = 15)
|
||||||
@ApiModelProperty(value = "联络人ID")
|
@ApiModelProperty(value = "联络人")
|
||||||
private String liaisonId;
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
|
private String liaison;
|
||||||
/**会议名称*/
|
/**会议名称*/
|
||||||
@Excel(name = "会议名称", width = 15)
|
@Excel(name = "会议名称", width = 15)
|
||||||
@ApiModelProperty(value = "会议名称")
|
@ApiModelProperty(value = "会议名称")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String name;
|
private String name;
|
||||||
/**单位*/
|
/**单位*/
|
||||||
@Excel(name = "单位", width = 15)
|
@Excel(name = "单位", width = 15)
|
||||||
@ApiModelProperty(value = "单位")
|
@ApiModelProperty(value = "单位")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String unit;
|
private String unit;
|
||||||
/**电话*/
|
/**电话*/
|
||||||
@Excel(name = "电话", width = 15)
|
@Excel(name = "电话", width = 15)
|
||||||
@ApiModelProperty(value = "电话")
|
@ApiModelProperty(value = "电话")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String phone;
|
private String phone;
|
||||||
/**邮箱*/
|
/**邮箱*/
|
||||||
@Excel(name = "邮箱", width = 15)
|
@Excel(name = "邮箱", width = 15)
|
||||||
@ApiModelProperty(value = "邮箱")
|
@ApiModelProperty(value = "邮箱")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String mailbox;
|
private String mailbox;
|
||||||
/**部门code*/
|
/**部门code*/
|
||||||
@Excel(name = "部门code", width = 15)
|
@Excel(name = "部门code", width = 15)
|
||||||
|
|||||||
+7
@@ -1,5 +1,7 @@
|
|||||||
package com.jero.modules.laws.standardization.entity;
|
package com.jero.modules.laws.standardization.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
||||||
@@ -37,19 +39,24 @@ public class LawsStandardizationMeeting extends BaseEntity {
|
|||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||||
@ApiModelProperty(value = "参会日期")
|
@ApiModelProperty(value = "参会日期")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private Date participationTime;
|
private Date participationTime;
|
||||||
/**会议名称*/
|
/**会议名称*/
|
||||||
@Excel(name = "会议名称", width = 15)
|
@Excel(name = "会议名称", width = 15)
|
||||||
@ApiModelProperty(value = "会议名称")
|
@ApiModelProperty(value = "会议名称")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String name;
|
private String name;
|
||||||
/**参会人员*/
|
/**参会人员*/
|
||||||
@Excel(name = "参会人员", width = 15)
|
@Excel(name = "参会人员", width = 15)
|
||||||
@ApiModelProperty(value = "参会人员")
|
@ApiModelProperty(value = "参会人员")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String personnel;
|
private String personnel;
|
||||||
/**会议资料*/
|
/**会议资料*/
|
||||||
@Excel(name = "会议资料", width = 15)
|
@Excel(name = "会议资料", width = 15)
|
||||||
@ApiModelProperty(value = "会议资料")
|
@ApiModelProperty(value = "会议资料")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String meetingData;
|
private String meetingData;
|
||||||
|
/**部门code*/
|
||||||
@Excel(name = "部门code", width = 15)
|
@Excel(name = "部门code", width = 15)
|
||||||
@ApiModelProperty(value = "部门code")
|
@ApiModelProperty(value = "部门code")
|
||||||
private String orgCode;
|
private String orgCode;
|
||||||
|
|||||||
+9
@@ -1,5 +1,7 @@
|
|||||||
package com.jero.modules.laws.standardization.entity;
|
package com.jero.modules.laws.standardization.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
import com.jero.modules.laws.documenttool.entity.BaseEntity;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
@@ -31,30 +33,37 @@ public class LawsStandardizationPayment extends BaseEntity {
|
|||||||
/**费用*/
|
/**费用*/
|
||||||
@Excel(name = "费用", width = 15)
|
@Excel(name = "费用", width = 15)
|
||||||
@ApiModelProperty(value = "费用")
|
@ApiModelProperty(value = "费用")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String fee;
|
private String fee;
|
||||||
/**年份*/
|
/**年份*/
|
||||||
@Excel(name = "年份", width = 15)
|
@Excel(name = "年份", width = 15)
|
||||||
@ApiModelProperty(value = "年份")
|
@ApiModelProperty(value = "年份")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String year;
|
private String year;
|
||||||
/**整改状态(1-待整改、2-整改中、3-审批中、4-已完成)*/
|
/**整改状态(1-待整改、2-整改中、3-审批中、4-已完成)*/
|
||||||
@Excel(name = "整改状态(1-待整改、2-整改中、3-审批中、4-已完成)", width = 15)
|
@Excel(name = "整改状态(1-待整改、2-整改中、3-审批中、4-已完成)", width = 15)
|
||||||
@ApiModelProperty(value = "整改状态(1-待整改、2-整改中、3-审批中、4-已完成)")
|
@ApiModelProperty(value = "整改状态(1-待整改、2-整改中、3-审批中、4-已完成)")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String state;
|
private String state;
|
||||||
/**计划内*/
|
/**计划内*/
|
||||||
@Excel(name = "计划内", width = 15)
|
@Excel(name = "计划内", width = 15)
|
||||||
@ApiModelProperty(value = "计划内")
|
@ApiModelProperty(value = "计划内")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String plan;
|
private String plan;
|
||||||
/**缴费方式*/
|
/**缴费方式*/
|
||||||
@Excel(name = "缴费方式", width = 15)
|
@Excel(name = "缴费方式", width = 15)
|
||||||
@ApiModelProperty(value = "缴费方式")
|
@ApiModelProperty(value = "缴费方式")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String pay;
|
private String pay;
|
||||||
/**费用列支*/
|
/**费用列支*/
|
||||||
@Excel(name = "费用列支", width = 15)
|
@Excel(name = "费用列支", width = 15)
|
||||||
@ApiModelProperty(value = "费用列支")
|
@ApiModelProperty(value = "费用列支")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String feeListing;
|
private String feeListing;
|
||||||
/**资料*/
|
/**资料*/
|
||||||
@Excel(name = "资料", width = 15)
|
@Excel(name = "资料", width = 15)
|
||||||
@ApiModelProperty(value = "资料")
|
@ApiModelProperty(value = "资料")
|
||||||
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||||
private String feeData;
|
private String feeData;
|
||||||
/**部门code*/
|
/**部门code*/
|
||||||
@Excel(name = "部门code", width = 15)
|
@Excel(name = "部门code", width = 15)
|
||||||
|
|||||||
+2
-1
@@ -22,6 +22,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
|
||||||
@@ -337,7 +338,7 @@ public class LawsStandardizationServiceImpl extends ServiceImpl<LawsStandardizat
|
|||||||
// 填充上级节点名称
|
// 填充上级节点名称
|
||||||
LawsStandardization standardization = getOne(new LambdaQueryWrapper<LawsStandardization>()
|
LawsStandardization standardization = getOne(new LambdaQueryWrapper<LawsStandardization>()
|
||||||
.eq(LawsStandardization::getId, lawsStandardization.getPid()));
|
.eq(LawsStandardization::getId, lawsStandardization.getPid()));
|
||||||
if (StringUtils.isNotBlank(standardization.getName())){
|
if (!Objects.isNull(standardization) && StringUtils.isNotBlank(standardization.getName())){
|
||||||
lawsStandardization.setSupperName(standardization.getName());
|
lawsStandardization.setSupperName(standardization.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user