Commit 34164ec6 authored by KeYong's avatar KeYong

更新首页展示内容字段

parent 90f99f3f
......@@ -126,11 +126,53 @@ public class StationInfo extends BasicEntity{
private String safetyChargeUserName;
/**
* 安全负责人姓名
* 创建人姓名
*/
@Column(name="create_user_name")
private String createUserName;
/**
* 创建人联系方式
*/
@Column(name="create_user_phone_num")
private String createUserPhoneNum;
/**
* 换流站负责人联系方式
*/
@Column(name="station_user_phone_num")
private String stationChargeUserPhoneNum;
/**
* 安全负责人联系方式
*/
@Column(name="safety_user_phone_num")
private String safetyChargeUserPhoneNum;
public String getCreateUserPhoneNum() {
return createUserPhoneNum;
}
public String getStationChargeUserPhoneNum() {
return stationChargeUserPhoneNum;
}
public String getSafetyChargeUserPhoneNum() {
return safetyChargeUserPhoneNum;
}
public void setCreateUserPhoneNum(String createUserPhoneNum) {
this.createUserPhoneNum = createUserPhoneNum;
}
public void setStationChargeUserPhoneNum(String stationChargeUserPhoneNum) {
this.stationChargeUserPhoneNum = stationChargeUserPhoneNum;
}
public void setSafetyChargeUserPhoneNum(String safetyChargeUserPhoneNum) {
this.safetyChargeUserPhoneNum = safetyChargeUserPhoneNum;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
......
......@@ -36,6 +36,7 @@ public class StationMaintenController extends BaseController{
stationParams.setCreateBy(getUserId());
stationParams.setCreateDate(new Date());
stationParams.setCreateUserName(userModel.getUserName());
stationParams.setCreateUserPhoneNum(userModel.getMobile());
stationMaintenService.save(stationParams);
return CommonResponseUtil.success();
......
......@@ -518,5 +518,41 @@
ALTER TABLE `f_station_info` ADD COLUMN `create_user_name` varchar(20) NULL COMMENT '创建人姓名';
</sql>
</changeSet>
<changeSet author="keyong" id="1606290088-1">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="f_station_info" columnName="create_user_phone_num" />
</not>
</preConditions>
<comment>修改f_station_info表结构</comment>
<sql>
ALTER TABLE `f_station_info` ADD COLUMN `create_user_phone_num` varchar(20) NULL COMMENT '创建人联系方式';
</sql>
</changeSet>
<changeSet author="keyong" id="1606290088-2">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="f_station_info" columnName="station_user_phone_num" />
</not>
</preConditions>
<comment>修改f_station_info表结构</comment>
<sql>
ALTER TABLE `f_station_info` ADD COLUMN `station_user_phone_num` varchar(20) NULL COMMENT '换流站负责人联系方式';
</sql>
</changeSet>
<changeSet author="keyong" id="1606290088-3">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="f_station_info" columnName="safety_user_phone_num" />
</not>
</preConditions>
<comment>修改f_station_info表结构</comment>
<sql>
ALTER TABLE `f_station_info` ADD COLUMN `safety_user_phone_num` varchar(20) NULL COMMENT '安全负责人联系方式';
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
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