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
012639fb
Commit
012639fb
authored
Aug 20, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create entity
parent
d86fb068
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
22 deletions
+30
-22
PreDrugsMapper.xml
.../src/main/java/com/cftech/predrugs/dao/PreDrugsMapper.xml
+27
-22
PreDrugs.java
...ule/src/main/java/com/cftech/predrugs/model/PreDrugs.java
+3
-0
No files found.
aidea-modules/prescription-module/src/main/java/com/cftech/predrugs/dao/PreDrugsMapper.xml
View file @
012639fb
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<result
column=
"description"
property=
"description"
/>
<result
column=
"description"
property=
"description"
/>
<result
column=
"create_by"
property=
"createBy"
/>
<result
column=
"create_by"
property=
"createBy"
/>
<result
column=
"update_by"
property=
"updateBy"
/>
<result
column=
"update_by"
property=
"updateBy"
/>
<result
column=
"price"
property=
"price"
/>
</resultMap>
</resultMap>
<sql
id=
"sqlWhere"
>
<sql
id=
"sqlWhere"
>
...
@@ -53,27 +54,27 @@
...
@@ -53,27 +54,27 @@
</sql>
</sql>
<sql
id=
"sqlColumns"
>
<sql
id=
"sqlColumns"
>
id
id
,
,
drug_erp_no
,
drug_erp_no
,
otc
,
otc
,
drug_unit
,
drug_unit
,
dosage
,
dosage
,
spec
,
spec
,
appr_number
,
appr_number
,
drug_num
,
drug_num
,
drug_compay
,
drug_compay
,
name
,
name
,
drug_id
,
drug
_id,
parent
_id,
parent
_id,
accounts
_id,
accounts_id
,
del_flag
,
del_flag
,
status
,
status
,
create_time
,
cre
ate_time,
upd
ate_time,
update_time
,
description
,
description
,
create_by
,
cre
ate_by,
upd
ate_by,
update_by
price
</sql>
</sql>
...
@@ -104,7 +105,8 @@
...
@@ -104,7 +105,8 @@
now(),
now(),
#{description, jdbcType=VARCHAR},
#{description, jdbcType=VARCHAR},
#{createBy, jdbcType=BIGINT},
#{createBy, jdbcType=BIGINT},
#{updateBy, jdbcType=BIGINT}
#{updateBy, jdbcType=BIGINT},
#{price, jdbcType=VARCHAR}
)
)
</insert>
</insert>
...
@@ -190,6 +192,9 @@
...
@@ -190,6 +192,9 @@
<if
test=
"updateBy != null"
>
<if
test=
"updateBy != null"
>
update_by = #{updateBy, jdbcType=BIGINT},
update_by = #{updateBy, jdbcType=BIGINT},
</if>
</if>
<if
test=
"price != null"
>
price = #{price, jdbcType=VARCHAR},
</if>
</set>
</set>
where id=#{id,jdbcType=BIGINT}
where id=#{id,jdbcType=BIGINT}
</update>
</update>
...
...
aidea-modules/prescription-module/src/main/java/com/cftech/predrugs/model/PreDrugs.java
View file @
012639fb
...
@@ -38,6 +38,9 @@ public class PreDrugs implements Serializable {
...
@@ -38,6 +38,9 @@ public class PreDrugs implements Serializable {
/* 数量 */
/* 数量 */
@ExportConfig
(
value
=
"数量"
,
width
=
100
,
showLevel
=
1
)
@ExportConfig
(
value
=
"数量"
,
width
=
100
,
showLevel
=
1
)
private
Long
drugNum
;
private
Long
drugNum
;
/* 金额 */
@ExportConfig
(
value
=
"金额"
,
width
=
100
,
showLevel
=
1
)
private
String
price
;
/* 药品生产厂家 */
/* 药品生产厂家 */
@ExportConfig
(
value
=
"药品生产厂家"
,
width
=
100
,
showLevel
=
1
)
@ExportConfig
(
value
=
"药品生产厂家"
,
width
=
100
,
showLevel
=
1
)
private
String
drugCompay
;
private
String
drugCompay
;
...
...
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