Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
Overview
Overview
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
huluobin
gogirl-miniapp-backend
Commits
669cac5a
Commit
669cac5a
authored
Apr 07, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a24860c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
OrderCommentMapper.xml
src/main/resources/mapper/order/OrderCommentMapper.xml
+30
-6
No files found.
src/main/resources/mapper/order/OrderCommentMapper.xml
View file @
669cac5a
...
@@ -84,10 +84,32 @@
...
@@ -84,10 +84,32 @@
orser.comment_score orser_comment_score
orser.comment_score orser_comment_score
</sql>
</sql>
<sql
id=
"serveSql"
>
<sql
id=
"serveSql"
>
ser.id ser_id, ser.name ser_name,ser.type ser_type, ser.label ser_label, ser.shop_sort ser_shop_sort, ser.price ser_price, ser.picture_path ser_picture_path, ser.status ser_status, ser.remark ser_remark, ser.details ser_details, ser.service_duration ser_service_duration
ser.id ser_id,
ser.name ser_name,ser.type ser_type,
ser.label ser_label,
ser.shop_sort ser_shop_sort,
ser.price ser_price,
ser.picture_path ser_picture_path,
ser.status ser_status,
ser.remark ser_remark,
ser.details ser_details,
ser.service_duration ser_service_duration
</sql>
</sql>
<sql
id=
"technicianSql"
>
<sql
id=
"technicianSql"
>
tech.id tech_id, tech.technician_no tech_technician_no, tech.name tech_name
tech.id tech_id,
tech.technician_no tech_technician_no,
tech.name tech_name
</sql>
<sql
id=
"customerSql"
>
cus.openid cus_openid,
cus.id cus_id,
cus.phone cus_phone,
cus.nickname cus_nickname,
cus.real_name cus_real_name,
cus.store_record_real_name cus_store_record_real_name,
cus.customer_source cus_customer_source,
cus.headimgurl cus_headimgurl
</sql>
</sql>
<select
id=
"queryMyCommentForPage"
resultMap=
"orderCommentDetail"
>
<select
id=
"queryMyCommentForPage"
resultMap=
"orderCommentDetail"
>
...
@@ -95,12 +117,14 @@
...
@@ -95,12 +117,14 @@
<include
refid=
"orderCommentSql"
/>
,
<include
refid=
"orderCommentSql"
/>
,
<include
refid=
"orderServeSql"
/>
,
<include
refid=
"orderServeSql"
/>
,
<include
refid=
"serveSql"
/>
,
<include
refid=
"serveSql"
/>
,
<include
refid=
"technicianSql"
/>
<include
refid=
"technicianSql"
/>
,
from
<include
refid=
"customerSql"
/>
order_comment oc
from
order_comment oc
left join order_serve orser on oc.order_id = orser.order_id
left join order_serve orser on oc.order_id = orser.order_id
left join base_serve ser on orser.serve_id = ser.id
left join base_serve ser on orser.serve_id = ser.id
left join store_technician tech on find_in_set(tech.id,orser.technician_id)
left join store_technician tech on find_in_set(tech.id, orser.technician_id)
left join order_manage om on orser.order_id = om.id
left join customer cus on om.order_user = cus.id
where oc.technician_id = #{technicianId}
where oc.technician_id = #{technicianId}
order by create_time desc
order by create_time desc
</select>
</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