kangwei :风险库:is_share 改为share
正在显示
2 个修改的文件
包含
6 行增加
和
3 行删除
... | @@ -133,7 +133,7 @@ public class DangerLevelManageController { | ... | @@ -133,7 +133,7 @@ public class DangerLevelManageController { |
133 | dangerLevelManageService.updateById( dangerLevelManage ) ; | 133 | dangerLevelManageService.updateById( dangerLevelManage ) ; |
134 | 134 | ||
135 | //是否共享 添加到共享库 | 135 | //是否共享 添加到共享库 |
136 | if("1".equals(dangerLevelManage.getIs_share())){ | 136 | if("1".equals(dangerLevelManage.getShare())){ |
137 | DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare(); | 137 | DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare(); |
138 | BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare); | 138 | BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare); |
139 | dangerLevelManageShareService.save( dangerLevelManageShare ) ; | 139 | dangerLevelManageShareService.save( dangerLevelManageShare ) ; |
... | @@ -166,7 +166,7 @@ public class DangerLevelManageController { | ... | @@ -166,7 +166,7 @@ public class DangerLevelManageController { |
166 | boolean ok = dangerLevelManageService.updateById(dangerLevelManage); | 166 | boolean ok = dangerLevelManageService.updateById(dangerLevelManage); |
167 | 167 | ||
168 | //是否共享 添加到共享库 | 168 | //是否共享 添加到共享库 |
169 | if("1".equals(dangerLevelManage.getIs_share())){ | 169 | if("1".equals(dangerLevelManage.getShare())){ |
170 | dangerLevelManageShareService.removeById( dangerLevelManage.getId()) ; | 170 | dangerLevelManageShareService.removeById( dangerLevelManage.getId()) ; |
171 | DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare(); | 171 | DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare(); |
172 | BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare); | 172 | BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare); | ... | ... |
... | @@ -16,6 +16,9 @@ import lombok.experimental.Accessors; | ... | @@ -16,6 +16,9 @@ import lombok.experimental.Accessors; |
16 | import com.fasterxml.jackson.annotation.JsonFormat; | 16 | import com.fasterxml.jackson.annotation.JsonFormat; |
17 | import org.springframework.format.annotation.DateTimeFormat; | 17 | import org.springframework.format.annotation.DateTimeFormat; |
18 | import org.jeecgframework.poi.excel.annotation.Excel; | 18 | import org.jeecgframework.poi.excel.annotation.Excel; |
19 | |||
20 | import javax.persistence.Column; | ||
21 | |||
19 | /** | 22 | /** |
20 | * 风险分级管控清单 | 23 | * 风险分级管控清单 |
21 | */ | 24 | */ |
... | @@ -95,7 +98,7 @@ public class DangerLevelManage{ | ... | @@ -95,7 +98,7 @@ public class DangerLevelManage{ |
95 | 98 | ||
96 | @Excel(name = "是否共享", width = 15) | 99 | @Excel(name = "是否共享", width = 15) |
97 | @ApiModelProperty(value = "是否共享") | 100 | @ApiModelProperty(value = "是否共享") |
98 | private String is_share; | 101 | private String share; |
99 | 102 | ||
100 | //@Excel(name = "二维码", width = 15) | 103 | //@Excel(name = "二维码", width = 15) |
101 | @ApiModelProperty(value = "二维码") | 104 | @ApiModelProperty(value = "二维码") | ... | ... |
-
请 注册 或 登录 后发表评论