Commit 0b9995e5 authored by helinlin's avatar helinlin

修改bug

parent 1cd43584
...@@ -46,7 +46,7 @@ public class ContractDto extends BaseDto { ...@@ -46,7 +46,7 @@ public class ContractDto extends BaseDto {
private String contractNo; private String contractNo;
@ApiModelProperty(value = "机构代码用于权限过滤") @ApiModelProperty(value = "机构代码用于权限过滤")
private Boolean orgCode; private String orgCode;
@ApiModelProperty(value = "单位名称") @ApiModelProperty(value = "单位名称")
private String company; private String company;
......
...@@ -61,7 +61,7 @@ public class Contract extends BaseEntity { ...@@ -61,7 +61,7 @@ public class Contract extends BaseEntity {
* 机构代码用于权限过滤 * 机构代码用于权限过滤
*/ */
@TableField("org_code") @TableField("org_code")
private Boolean orgCode; private String orgCode;
/** /**
* 单位名称 * 单位名称
*/ */
......
...@@ -2389,5 +2389,14 @@ ...@@ -2389,5 +2389,14 @@
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="helinlin" id="2021-12-23-11-06">
<preConditions onFail="MARK_RAN">
<tableExists tableName="cb_contract"/>
</preConditions>
<comment>change org_code filed type</comment>
<sql>
ALTER TABLE `cb_contract` MODIFY COLUMN org_code VARCHAR(10) DEFAULT NULL COMMENT '机构代码用于权限过滤';
</sql>
</changeSet>
</databaseChangeLog> </databaseChangeLog>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment