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
e2bff8ac
Commit
e2bff8ac
authored
Jun 04, 2021
by
Shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 返回订单列表添加详情图片
parent
908ae091
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
PensionOrderDTO.java
...ava/io/hmit/modules/serviceOrder/dto/PensionOrderDTO.java
+3
-0
PensionOrderDao.xml
...rc/main/resources/mapper/serviceOrder/PensionOrderDao.xml
+8
-8
No files found.
hmit-api/src/main/java/io/hmit/modules/serviceOrder/dto/PensionOrderDTO.java
View file @
e2bff8ac
...
...
@@ -107,6 +107,9 @@ public class PensionOrderDTO implements Serializable {
@ApiModelProperty
(
value
=
"封面"
)
private
String
icon
;
@ApiModelProperty
(
value
=
"详情图片"
)
private
String
detailPicture
;
@ApiModelProperty
(
value
=
"所属社区名称"
)
private
String
communityName
;
...
...
hmit-api/src/main/resources/mapper/serviceOrder/PensionOrderDao.xml
View file @
e2bff8ac
...
...
@@ -47,7 +47,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id
<if
test=
"status != null and status == 0"
>
...
...
@@ -73,7 +73,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.id = #{orderId}
<if
test=
"userId != null"
>
...
...
@@ -90,7 +90,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.status = 0 AND po.order_recipient_id IS NULL
</select>
...
...
@@ -101,7 +101,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.creator = #{creator}
</select>
...
...
@@ -112,7 +112,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.creator = #{creator}
<if
test=
"status != null"
>
...
...
@@ -126,7 +126,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps, tb_user tu
WHERE po.service_id = ps.id AND po.community_id = tu.community_id AND tu.id = #{userId}
</select>
...
...
@@ -137,7 +137,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps, tb_user tu
WHERE po.service_id = ps.id AND po.community_id = tu.community_id
AND tu.id = #{userId} AND po.appointment_person LIKE CONCAT('%', #{appointmentPerson}, '%')
...
...
@@ -149,7 +149,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon
ps.icon
, ps.detail_picture
FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.service_id = #{serviceId}
<if
test=
"status != null"
>
...
...
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