web:修改vp_config_drug计量数据类型

dev_2.1.0
xueqingkun 1 year ago
parent b3861b0aee
commit 439c8e72d7

@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;
@ -43,7 +44,7 @@ public class ConfigDrug implements Serializable {
/**
*
*/
private Long dose;
private BigDecimal dose;
/**
*

@ -10,7 +10,7 @@
<result property="drugNameEn" column="drug_name_en" jdbcType="VARCHAR"/>
<result property="firstMeasuresId" column="first_measures_id" jdbcType="VARCHAR"/>
<result property="specification" column="specification" jdbcType="VARCHAR"/>
<result property="dose" column="dose" jdbcType="BIGINT"/>
<result property="dose" column="dose" jdbcType="DECIMAL"/>
<result property="unit" column="unit" jdbcType="VARCHAR"/>
<result property="intervalDay" column="interval_day" jdbcType="INTEGER"/>
<result property="intervalHour" column="interval_hour" jdbcType="DOUBLE"/>

@ -4,6 +4,8 @@ alter table vp_user
alter table vp_config_drug
add interval_hour varchar(64) null comment '用药间隔(小时)' after interval_day;
alter table vp_config_drug
modify dose decimal null comment '剂量';
alter table vp_disease_ancillary
modify result text null comment '结果';

Loading…
Cancel
Save