Commit 012639fb authored by 谢希宇's avatar 谢希宇

create entity

parent d86fb068
......@@ -23,6 +23,7 @@
<result column="description" property="description"/>
<result column="create_by" property="createBy"/>
<result column="update_by" property="updateBy"/>
<result column="price" property="price"/>
</resultMap>
<sql id="sqlWhere">
......@@ -53,27 +54,27 @@
</sql>
<sql id="sqlColumns">
id
,
drug_erp_no,
otc,
drug_unit,
dosage,
spec,
appr_number,
drug_num,
drug_compay,
name,
drug_id,
parent_id,
accounts_id,
del_flag,
status,
create_time,
update_time,
description,
create_by,
update_by
id,
drug_erp_no,
otc,
drug_unit,
dosage,
spec,
appr_number,
drug_num,
drug_compay,
name,
drug_id,
parent_id,
accounts_id,
del_flag,
status,
create_time,
update_time,
description,
create_by,
update_by,
price
</sql>
......@@ -104,7 +105,8 @@
now(),
#{description, jdbcType=VARCHAR},
#{createBy, jdbcType=BIGINT},
#{updateBy, jdbcType=BIGINT}
#{updateBy, jdbcType=BIGINT},
#{price, jdbcType=VARCHAR}
)
</insert>
......@@ -190,6 +192,9 @@
<if test="updateBy != null">
update_by = #{updateBy, jdbcType=BIGINT},
</if>
<if test="price != null">
price = #{price, jdbcType=VARCHAR},
</if>
</set>
where id=#{id,jdbcType=BIGINT}
</update>
......
......@@ -38,6 +38,9 @@ public class PreDrugs implements Serializable {
/* 数量 */
@ExportConfig(value = "数量", width = 100, showLevel = 1)
private Long drugNum;
/* 金额 */
@ExportConfig(value = "金额", width = 100, showLevel = 1 )
private String price;
/* 药品生产厂家 */
@ExportConfig(value = "药品生产厂家", width = 100, showLevel = 1)
private String drugCompay;
......
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