4a54521b 康伟

kangwei :风险库:is_share 改为share

1 个父辈 87c4cabc
...@@ -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 = "二维码")
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!