4a54521b 康伟

kangwei :风险库:is_share 改为share

1 个父辈 87c4cabc
......@@ -133,7 +133,7 @@ public class DangerLevelManageController {
dangerLevelManageService.updateById( dangerLevelManage ) ;
//是否共享 添加到共享库
if("1".equals(dangerLevelManage.getIs_share())){
if("1".equals(dangerLevelManage.getShare())){
DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare();
BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare);
dangerLevelManageShareService.save( dangerLevelManageShare ) ;
......@@ -166,7 +166,7 @@ public class DangerLevelManageController {
boolean ok = dangerLevelManageService.updateById(dangerLevelManage);
//是否共享 添加到共享库
if("1".equals(dangerLevelManage.getIs_share())){
if("1".equals(dangerLevelManage.getShare())){
dangerLevelManageShareService.removeById( dangerLevelManage.getId()) ;
DangerLevelManageShare dangerLevelManageShare = new DangerLevelManageShare();
BeanUtils.copyProperties(dangerLevelManage , dangerLevelManageShare);
......
......@@ -16,6 +16,9 @@ import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import javax.persistence.Column;
/**
* 风险分级管控清单
*/
......@@ -95,7 +98,7 @@ public class DangerLevelManage{
@Excel(name = "是否共享", width = 15)
@ApiModelProperty(value = "是否共享")
private String is_share;
private String share;
//@Excel(name = "二维码", width = 15)
@ApiModelProperty(value = "二维码")
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!