Commit 7e23423e authored by 谢希宇's avatar 谢希宇

create by Strive

create date 2021/02/18
parent b57fe18b
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<result column="number" property="number"/> <result column="number" property="number"/>
<result column="openid" property="openid"/> <result column="openid" property="openid"/>
<result column="qrcode" property="qrcode"/> <result column="qrcode" property="qrcode"/>
<result column="hospital_id" property="hospitalId"/>
<result column="invalid_date" property="invalidDate"/> <result column="invalid_date" property="invalidDate"/>
<result column="verif_date" property="verifDate"/> <result column="verif_date" property="verifDate"/>
<result column="facility_no" property="facilityNo"/> <result column="facility_no" property="facilityNo"/>
...@@ -63,6 +64,7 @@ ...@@ -63,6 +64,7 @@
invalid_date, invalid_date,
verif_date, verif_date,
facility_no, facility_no,
hospital_id,
accounts_id, accounts_id,
del_flag, del_flag,
status, status,
...@@ -92,7 +94,8 @@ ...@@ -92,7 +94,8 @@
#{qrcode, jdbcType=VARCHAR}, #{qrcode, jdbcType=VARCHAR},
now(), now(),
now(), now(),
now(), #{facilityNo, jdbcType=VARCHAR},
#{hospitalId, jdbcType=BIGINT},
#{accountsId, jdbcType=BIGINT}, #{accountsId, jdbcType=BIGINT},
#{delFlag, jdbcType=TINYINT}, #{delFlag, jdbcType=TINYINT},
#{status, jdbcType=VARCHAR}, #{status, jdbcType=VARCHAR},
...@@ -160,7 +163,10 @@ ...@@ -160,7 +163,10 @@
verif_date = #{verifDate, jdbcType=TIMESTAMP}, verif_date = #{verifDate, jdbcType=TIMESTAMP},
</if> </if>
<if test="facilityNo != null"> <if test="facilityNo != null">
facility_no = #{facilityNo, jdbcType=TIMESTAMP}, facility_no = #{facilityNo, jdbcType=VARCHAR},
</if>
<if test="hospitalId != null">
hospital_id = #{hospitalId, jdbcType=BIGINT},
</if> </if>
<if test="accountsId != null"> <if test="accountsId != null">
accounts_id = #{accountsId, jdbcType=BIGINT}, accounts_id = #{accountsId, jdbcType=BIGINT},
......
...@@ -46,13 +46,15 @@ public class Couponrecord implements Serializable { ...@@ -46,13 +46,15 @@ public class Couponrecord implements Serializable {
private Date verifDate; private Date verifDate;
/* 设备号 */ /* 设备号 */
@ExportConfig(value = "设备号", width = 100, showLevel = 1) @ExportConfig(value = "设备号", width = 100, showLevel = 1)
private Date facilityNo; private String facilityNo;
/* 过期时间 */ /* 过期时间 */
@ExportConfig(value = "过期时间", width = 100, showLevel = 1) @ExportConfig(value = "过期时间", width = 100, showLevel = 1)
private Date expireDate; private Date expireDate;
/* 过期时间 */ /* 过期时间 */
@ExportConfig(value = "生效时间", width = 100, showLevel = 1) @ExportConfig(value = "生效时间", width = 100, showLevel = 1)
private Date takeEffectDate; private Date takeEffectDate;
/* 医院id */
private Long hospitalId;
/* 所属的账号 */ /* 所属的账号 */
private Long accountsId; private Long accountsId;
/* 删除标识 */ /* 删除标识 */
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<result column="level" property="level"/> <result column="level" property="level"/>
<result column="org_id" property="orgId"/> <result column="org_id" property="orgId"/>
<result column="org_name" property="orgName"/> <result column="org_name" property="orgName"/>
<result column="facility_no" property="facilityNo"/>
<result column="accounts_id" property="accountsId"/> <result column="accounts_id" property="accountsId"/>
<result column="del_flag" property="delFlag"/> <result column="del_flag" property="delFlag"/>
<result column="status" property="status"/> <result column="status" property="status"/>
...@@ -70,6 +71,7 @@ ...@@ -70,6 +71,7 @@
t.reliability, t.reliability,
t.level, t.level,
t.org_id, t.org_id,
t.facility_no,
t.accounts_id, t.accounts_id,
t.del_flag, t.del_flag,
t.status, t.status,
...@@ -104,6 +106,7 @@ ...@@ -104,6 +106,7 @@
#{reliability, jdbcType=VARCHAR}, #{reliability, jdbcType=VARCHAR},
#{level, jdbcType=VARCHAR}, #{level, jdbcType=VARCHAR},
#{orgId, jdbcType=VARCHAR}, #{orgId, jdbcType=VARCHAR},
#{facilityNo, jdbcType=VARCHAR},
#{accountsId, jdbcType=BIGINT}, #{accountsId, jdbcType=BIGINT},
#{delFlag, jdbcType=TINYINT}, #{delFlag, jdbcType=TINYINT},
#{status, jdbcType=VARCHAR}, #{status, jdbcType=VARCHAR},
...@@ -162,6 +165,9 @@ ...@@ -162,6 +165,9 @@
<if test="latitude != null"> <if test="latitude != null">
latitude = #{latitude, jdbcType=VARCHAR}, latitude = #{latitude, jdbcType=VARCHAR},
</if> </if>
<if test="facilityNo != null">
facility_no = #{facilityNo, jdbcType=VARCHAR},
</if>
<if test="remarks != null"> <if test="remarks != null">
remarks = #{remarks, jdbcType=VARCHAR}, remarks = #{remarks, jdbcType=VARCHAR},
</if> </if>
......
...@@ -44,6 +44,9 @@ public class Hospital implements Serializable { ...@@ -44,6 +44,9 @@ public class Hospital implements Serializable {
/* 试剂盒检测下限 */ /* 试剂盒检测下限 */
@ExportConfig(value = "城市", width = 100, showLevel = 1) @ExportConfig(value = "城市", width = 100, showLevel = 1)
private String city; private String city;
/* 设备号 */
@ExportConfig(value = "设备号", width = 100, showLevel = 1)
private String facilityNo;
/* 所属的账号 */ /* 所属的账号 */
private Long accountsId; private Long accountsId;
/* 删除标识 */ /* 删除标识 */
......
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