Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sa_aidea
Aidea
Commits
7e23423e
Commit
7e23423e
authored
Feb 18, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create by Strive
create date 2021/02/18
parent
b57fe18b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
CouponrecordMapper.xml
...n/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
+8
-2
Couponrecord.java
...main/java/com/cftech/couponrecord/model/Couponrecord.java
+3
-1
HospitalMapper.xml
.../src/main/java/com/cftech/hospital/dao/HospitalMapper.xml
+6
-0
Hospital.java
...ule/src/main/java/com/cftech/hospital/model/Hospital.java
+3
-0
No files found.
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
View file @
7e23423e
...
...
@@ -11,6 +11,7 @@
<result
column=
"number"
property=
"number"
/>
<result
column=
"openid"
property=
"openid"
/>
<result
column=
"qrcode"
property=
"qrcode"
/>
<result
column=
"hospital_id"
property=
"hospitalId"
/>
<result
column=
"invalid_date"
property=
"invalidDate"
/>
<result
column=
"verif_date"
property=
"verifDate"
/>
<result
column=
"facility_no"
property=
"facilityNo"
/>
...
...
@@ -63,6 +64,7 @@
invalid_date,
verif_date,
facility_no,
hospital_id,
accounts_id,
del_flag,
status,
...
...
@@ -92,7 +94,8 @@
#{qrcode, jdbcType=VARCHAR},
now(),
now(),
now(),
#{facilityNo, jdbcType=VARCHAR},
#{hospitalId, jdbcType=BIGINT},
#{accountsId, jdbcType=BIGINT},
#{delFlag, jdbcType=TINYINT},
#{status, jdbcType=VARCHAR},
...
...
@@ -160,7 +163,10 @@
verif_date = #{verifDate, jdbcType=TIMESTAMP},
</if>
<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
test=
"accountsId != null"
>
accounts_id = #{accountsId, jdbcType=BIGINT},
...
...
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/model/Couponrecord.java
View file @
7e23423e
...
...
@@ -46,13 +46,15 @@ public class Couponrecord implements Serializable {
private
Date
verifDate
;
/* 设备号 */
@ExportConfig
(
value
=
"设备号"
,
width
=
100
,
showLevel
=
1
)
private
Date
facilityNo
;
private
String
facilityNo
;
/* 过期时间 */
@ExportConfig
(
value
=
"过期时间"
,
width
=
100
,
showLevel
=
1
)
private
Date
expireDate
;
/* 过期时间 */
@ExportConfig
(
value
=
"生效时间"
,
width
=
100
,
showLevel
=
1
)
private
Date
takeEffectDate
;
/* 医院id */
private
Long
hospitalId
;
/* 所属的账号 */
private
Long
accountsId
;
/* 删除标识 */
...
...
aidea-modules/hospital-module/src/main/java/com/cftech/hospital/dao/HospitalMapper.xml
View file @
7e23423e
...
...
@@ -18,6 +18,7 @@
<result
column=
"level"
property=
"level"
/>
<result
column=
"org_id"
property=
"orgId"
/>
<result
column=
"org_name"
property=
"orgName"
/>
<result
column=
"facility_no"
property=
"facilityNo"
/>
<result
column=
"accounts_id"
property=
"accountsId"
/>
<result
column=
"del_flag"
property=
"delFlag"
/>
<result
column=
"status"
property=
"status"
/>
...
...
@@ -70,6 +71,7 @@
t.reliability,
t.level,
t.org_id,
t.facility_no,
t.accounts_id,
t.del_flag,
t.status,
...
...
@@ -104,6 +106,7 @@
#{reliability, jdbcType=VARCHAR},
#{level, jdbcType=VARCHAR},
#{orgId, jdbcType=VARCHAR},
#{facilityNo, jdbcType=VARCHAR},
#{accountsId, jdbcType=BIGINT},
#{delFlag, jdbcType=TINYINT},
#{status, jdbcType=VARCHAR},
...
...
@@ -162,6 +165,9 @@
<if
test=
"latitude != null"
>
latitude = #{latitude, jdbcType=VARCHAR},
</if>
<if
test=
"facilityNo != null"
>
facility_no = #{facilityNo, jdbcType=VARCHAR},
</if>
<if
test=
"remarks != null"
>
remarks = #{remarks, jdbcType=VARCHAR},
</if>
...
...
aidea-modules/hospital-module/src/main/java/com/cftech/hospital/model/Hospital.java
View file @
7e23423e
...
...
@@ -44,6 +44,9 @@ public class Hospital implements Serializable {
/* 试剂盒检测下限 */
@ExportConfig
(
value
=
"城市"
,
width
=
100
,
showLevel
=
1
)
private
String
city
;
/* 设备号 */
@ExportConfig
(
value
=
"设备号"
,
width
=
100
,
showLevel
=
1
)
private
String
facilityNo
;
/* 所属的账号 */
private
Long
accountsId
;
/* 删除标识 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment