mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-08 14:44:57 +08:00
[fix] 修改属性更新策略
This commit is contained in:
parent
705f915efe
commit
f32dd75760
@ -133,6 +133,7 @@ public class ProjectDO extends BaseDO {
|
|||||||
/**
|
/**
|
||||||
* 评审附件
|
* 评审附件
|
||||||
*/
|
*/
|
||||||
|
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||||
private String reviewFileUrl;
|
private String reviewFileUrl;
|
||||||
/**
|
/**
|
||||||
* 是否落地
|
* 是否落地
|
||||||
@ -143,6 +144,7 @@ public class ProjectDO extends BaseDO {
|
|||||||
/**
|
/**
|
||||||
* 中标附件
|
* 中标附件
|
||||||
*/
|
*/
|
||||||
|
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||||
private String winFileUrl;
|
private String winFileUrl;
|
||||||
/**
|
/**
|
||||||
* 预计合同金额
|
* 预计合同金额
|
||||||
|
@ -96,6 +96,7 @@ public class ProjectServiceImpl implements ProjectService {
|
|||||||
updateReqVO.setFunnelExpectation(funnel);
|
updateReqVO.setFunnelExpectation(funnel);
|
||||||
// 更新
|
// 更新
|
||||||
ProjectDO updateObj = BeanUtils.toBean(updateReqVO, ProjectDO.class);
|
ProjectDO updateObj = BeanUtils.toBean(updateReqVO, ProjectDO.class);
|
||||||
|
//处理文件转换
|
||||||
updateObj.setReviewFileUrl(FileUtils.covertFileToJSONString(updateReqVO.getReviewFileUrl()));
|
updateObj.setReviewFileUrl(FileUtils.covertFileToJSONString(updateReqVO.getReviewFileUrl()));
|
||||||
updateObj.setWinFileUrl(FileUtils.covertFileToJSONString(updateReqVO.getWinFileUrl()));
|
updateObj.setWinFileUrl(FileUtils.covertFileToJSONString(updateReqVO.getWinFileUrl()));
|
||||||
projectMapper.updateById(updateObj);
|
projectMapper.updateById(updateObj);
|
||||||
|
Loading…
Reference in New Issue
Block a user