Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-java
Commits
94a97290
Commit
94a97290
authored
Sep 19, 2023
by
邹磊浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
4575f592
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
pz-system/src/main/java/com/pz/system/domain/vo/DbwzOrderVo.java
+2
-0
pz-system/src/main/resources/mapper/system/DbwzOrderMapper.xml
+8
-6
No files found.
pz-system/src/main/java/com/pz/system/domain/vo/DbwzOrderVo.java
View file @
94a97290
...
...
@@ -170,4 +170,6 @@ public class DbwzOrderVo {
private
String
isSatisfaction
;
private
String
evaluationContent
;
private
Date
createTime
;
}
pz-system/src/main/resources/mapper/system/DbwzOrderMapper.xml
View file @
94a97290
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.pz.system.mapper.DbwzOrderMapper"
>
<resultMap
type=
"com.pz.system.domain.DbwzOrder"
id=
"DbwzOrderResult"
>
...
...
@@ -43,7 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
tlo.is_satisfaction AS isSatisfaction,
tlo.evaluation_content AS evaluationContent,
yyod.over_time AS overtime,
yyod.voucher AS voucher
yyod.voucher AS voucher,
yyod.*
FROM dbwz_order AS yyod
LEFT JOIN total_order AS tlo ON yyod.order_id = tlo.id
LEFT JOIN city AS c ON c.id = tlo.city_id
...
...
@@ -75,8 +76,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dbwz_order.status as serviceStatus,
services.name as project,
business.name as businessName,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission,
CONVERT((1 - services.fenmo / 100), decimal
(10, 2)) *
CONVERT(services.price, decimal
(10, 2)) as commission,
user_vsitor.name as userName,
dbwz_order.visit_time,
department.title as department,
...
...
@@ -107,7 +108,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select
id=
"selectFinishTime"
resultType=
"java.lang.String"
>
select visit_time
from total_order t left join dbwz_order d on d.order_id = t.id
from total_order t
left join dbwz_order d on d.order_id = t.id
where t.id = #{id}
</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