Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pension
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
mengmeng
pension
Commits
6de52e01
Commit
6de52e01
authored
Mar 19, 2021
by
mlchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.老人家属列表添加姓名
parent
9ab971d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
PensionOldFamilyDTO.java
...io/hmit/modules/serviceOrder/dto/PensionOldFamilyDTO.java
+3
-3
PensionOldFamilyDao.xml
...ain/resources/mapper/serviceOrder/PensionOldFamilyDao.xml
+3
-1
No files found.
hmit-api/src/main/java/io/hmit/modules/serviceOrder/dto/PensionOldFamilyDTO.java
View file @
6de52e01
...
...
@@ -31,6 +31,9 @@ public class PensionOldFamilyDTO implements Serializable {
@ApiModelProperty
(
value
=
"家属id"
)
private
Long
familyMemberId
;
@ApiModelProperty
(
value
=
"家属姓名"
)
private
String
familyMemberName
;
@ApiModelProperty
(
value
=
"家属与老人的关系"
)
private
String
familyMemberRole
;
...
...
@@ -40,7 +43,4 @@ public class PensionOldFamilyDTO implements Serializable {
@ApiModelProperty
(
value
=
"身份证号"
)
private
String
idCardNo
;
@ApiModelProperty
(
value
=
"备注"
)
private
String
remark
;
}
\ No newline at end of file
hmit-api/src/main/resources/mapper/serviceOrder/PensionOldFamilyDao.xml
View file @
6de52e01
...
...
@@ -17,7 +17,9 @@
</resultMap>
<select
id=
"findByOldId"
resultType=
"io.hmit.modules.serviceOrder.dto.PensionOldFamilyDTO"
>
SELECT * FROM pension_old_family pof, tb_user tu
SELECT tu.id, pof.old_id, pof.parent_role, pof.family_member_id, tu.username AS familyMemberName,
pof.family_member_role, tu.mobile, tu.id_card_no
FROM pension_old_family pof, tb_user tu
WHERE pof.family_member_id = tu.id and pof.old_id = #{oldId}
</select>
...
...
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