bug修改
This commit is contained in:
parent
a39f95b78e
commit
db6cd0fd86
@ -22,7 +22,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
@ApiModel(value="DangerousEngineeringChooseTypeDescribe实体类",description="DangerousEngineeringChooseTypeDescribe")
|
||||
public class DangerousEngineeringChooseTypeDescribe implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="id")
|
||||
@ -30,12 +30,10 @@ public class DangerousEngineeringChooseTypeDescribe implements Serializable {
|
||||
/**危大工程ID*/
|
||||
@Excel(name = "危大工程ID", width = 15)
|
||||
@ApiModelProperty(value="危大工程ID")
|
||||
|
||||
private java.lang.Long engineeringId ;
|
||||
/**分类描述ID*/
|
||||
@Excel(name = "分类描述ID", width = 15)
|
||||
@ApiModelProperty(value="分类描述ID")
|
||||
|
||||
private java.lang.Long describeId ;
|
||||
/**描述*/
|
||||
@Excel(name = "描述", width = 15)
|
||||
|
||||
@ -51,7 +51,6 @@ public class DangerousEngineeringRecord implements Serializable {
|
||||
/**危大工程类别描述*/
|
||||
@Excel(name = "危大工程类别描述", width = 15)
|
||||
@ApiModelProperty(value="危大工程类别描述")
|
||||
|
||||
private java.lang.Long typeDescribeId;
|
||||
|
||||
/**是否超危,1否,2是*/
|
||||
@ -133,6 +132,8 @@ public class DangerousEngineeringRecord implements Serializable {
|
||||
private java.lang.Long personLiableId;
|
||||
@ApiModelProperty(value = "已结束?1是,0否")
|
||||
private java.lang.Integer isEnd;
|
||||
@ApiModelProperty(value = "分包单位id")
|
||||
private java.lang.Long responsibilityCompanyId;
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "类别描述列表")
|
||||
private List<DangerousEngineeringChooseTypeDescribe> typeDescribeList;
|
||||
|
||||
@ -22,7 +22,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
@ApiModel(value="DangerousEngineeringTypeDescribeControl实体类",description="DangerousEngineeringTypeDescribeControl")
|
||||
public class DangerousEngineeringTypeDescribeControl implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value="id")
|
||||
@ -30,11 +30,9 @@ public class DangerousEngineeringTypeDescribeControl implements Serializable {
|
||||
/**管控要点ID*/
|
||||
@Excel(name = "管控要点ID", width = 15)
|
||||
@ApiModelProperty(value="管控要点ID")
|
||||
|
||||
private java.lang.Long controlId ;
|
||||
/**分类描述ID*/
|
||||
@Excel(name = "分类描述ID", width = 15)
|
||||
@ApiModelProperty(value="分类描述ID")
|
||||
|
||||
private java.lang.Long describeId ;
|
||||
}
|
||||
|
||||
@ -102,6 +102,7 @@ public class DangerousEngineeringRecordServiceImpl extends ServiceImpl<Dangerous
|
||||
if (dangerousEngineeringRecord.getTypeDescribeList() != null && dangerousEngineeringRecord.getTypeDescribeList().size() > 0) {
|
||||
for (DangerousEngineeringChooseTypeDescribe typeDescribe : dangerousEngineeringRecord.getTypeDescribeList()) {
|
||||
typeDescribe.setEngineeringId(id);
|
||||
//typeDescribe.setDescribeId(dangerousEngineeringRecord.getTypeDescribeId());
|
||||
dangerousEngineeringChooseTypeDescribeMapper.insert(typeDescribe);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user