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
eb899f2e
Commit
eb899f2e
authored
Sep 15, 2023
by
Wangmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单显示业务名称
parent
898df538
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
43 additions
and
96 deletions
+43
-96
pz-system/src/main/java/com/pz/system/domain/vo/DbghOrderItemVo.java
+0
-13
pz-system/src/main/java/com/pz/system/domain/vo/DbmyOrderItemVo.java
+0
-14
pz-system/src/main/java/com/pz/system/domain/vo/DbwzOrderItemVo.java
+0
-14
pz-system/src/main/java/com/pz/system/domain/vo/OrderCommonVo.java
+23
-0
pz-system/src/main/java/com/pz/system/domain/vo/YypzOrderItemVo.java
+0
-21
pz-system/src/main/java/com/pz/system/domain/vo/ZyphOrderItemVo.java
+0
-25
pz-system/src/main/resources/mapper/system/DbghOrderMapper.xml
+4
-1
pz-system/src/main/resources/mapper/system/DbmyOrderMapper.xml
+7
-4
pz-system/src/main/resources/mapper/system/DbwzOrderMapper.xml
+5
-2
pz-system/src/main/resources/mapper/system/YypzOrderMapper.xml
+2
-1
pz-system/src/main/resources/mapper/system/ZyphOrderMapper.xml
+2
-1
No files found.
pz-system/src/main/java/com/pz/system/domain/vo/DbghOrderItemVo.java
View file @
eb899f2e
...
...
@@ -16,11 +16,6 @@ import java.util.Date;
public
class
DbghOrderItemVo
extends
OrderCommonVo
{
/**
* 业务项目
*/
private
String
project
;
/**
* 用户名称
*/
private
String
userName
;
...
...
@@ -44,14 +39,6 @@ public class DbghOrderItemVo extends OrderCommonVo {
*/
private
String
description
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 凭证
*/
private
String
voucher
;
}
pz-system/src/main/java/com/pz/system/domain/vo/DbmyOrderItemVo.java
View file @
eb899f2e
...
...
@@ -14,11 +14,6 @@ import lombok.EqualsAndHashCode;
public
class
DbmyOrderItemVo
extends
OrderCommonVo
{
/**
* 业务项目
*/
private
String
project
;
/**
* 药品名称
*/
private
String
ypName
;
...
...
@@ -78,13 +73,4 @@ public class DbmyOrderItemVo extends OrderCommonVo {
*/
private
String
description
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 凭证
*/
private
String
voucher
;
}
pz-system/src/main/java/com/pz/system/domain/vo/DbwzOrderItemVo.java
View file @
eb899f2e
...
...
@@ -16,11 +16,6 @@ import java.util.Date;
public
class
DbwzOrderItemVo
extends
OrderCommonVo
{
/**
* 业务项目
*/
private
String
project
;
/**
* 用户名称
*/
private
String
userName
;
...
...
@@ -35,10 +30,6 @@ public class DbwzOrderItemVo extends OrderCommonVo {
*/
private
Date
visitTime
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 主诉
...
...
@@ -76,11 +67,6 @@ public class DbwzOrderItemVo extends OrderCommonVo {
private
String
description
;
/**
* 凭证
*/
private
String
voucher
;
/**
* 上次就医情况
*/
private
String
lastMedicalTreatmentSituation
;
...
...
pz-system/src/main/java/com/pz/system/domain/vo/OrderCommonVo.java
View file @
eb899f2e
...
...
@@ -36,5 +36,28 @@ public class OrderCommonVo {
*/
private
Integer
serviceStatus
;
/**
* 评价标志 0-未评价,1-好评,2-差评
*/
private
Integer
evaluationFlag
;
/**
* 用户评价
*/
private
String
evaluationContent
;
/**
* 凭证
*/
private
String
voucher
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 业务项目
*/
private
String
project
;
}
pz-system/src/main/java/com/pz/system/domain/vo/YypzOrderItemVo.java
View file @
eb899f2e
...
...
@@ -16,10 +16,6 @@ import java.util.Date;
@Data
public
class
YypzOrderItemVo
extends
OrderCommonVo
{
/**
* 业务项目
*/
private
String
project
;
/**
* 用户名称
...
...
@@ -36,10 +32,6 @@ public class YypzOrderItemVo extends OrderCommonVo {
*/
private
String
hospital
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 预约电话
...
...
@@ -51,25 +43,12 @@ public class YypzOrderItemVo extends OrderCommonVo {
*/
private
Date
visitTime
;
/**
* 评价标志 0-未评价,1-好评,2-差评
*/
private
Integer
evaluationFlag
;
/**
* 需求描述
*/
private
String
description
;
/**
* 用户评价
*/
private
String
evaluationContent
;
/**
* 完成凭证
*/
private
String
voucher
;
/**
* 备注
...
...
pz-system/src/main/java/com/pz/system/domain/vo/ZyphOrderItemVo.java
View file @
eb899f2e
...
...
@@ -14,11 +14,6 @@ import lombok.EqualsAndHashCode;
public
class
ZyphOrderItemVo
extends
OrderCommonVo
{
/**
* 业务项目
*/
private
String
project
;
/**
* 用户名称
*/
private
String
userName
;
...
...
@@ -34,11 +29,6 @@ public class ZyphOrderItemVo extends OrderCommonVo {
private
String
hospital
;
/**
* 订单佣金
*/
private
Float
commission
;
/**
* 其他需求
*/
private
String
description
;
...
...
@@ -52,19 +42,4 @@ public class ZyphOrderItemVo extends OrderCommonVo {
* 陪护时间
*/
private
String
visitTime
;
/**
* 凭证
*/
private
String
voucher
;
/**
* 评价
*/
private
String
evaluationContent
;
/**
* 是否好评,0-未评价,1-好评,2-差评
*/
private
Integer
evaluationFlag
;
}
pz-system/src/main/resources/mapper/system/DbghOrderMapper.xml
View file @
eb899f2e
...
...
@@ -70,7 +70,7 @@
total_order.business_id,
total_order.status as orderStatus,
dbgh_order.status as serviceStatus,
service
s.name as project,
busines
s.name as project,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission,
user_vsitor.name as userName,
...
...
@@ -79,8 +79,11 @@
dbgh_order.visit_time,
total_order.remark as description,
dbgh_order.remark,
total_order.evaluation_content,
total_order.is_satisfaction as evaluation_flag,
dbgh_order.voucher
from total_order
left join business on total_order.business_id = business.id
left join dbgh_order on dbgh_order.order_id = total_order.id
left join services on total_order.service_id = services.id
left join user_vsitor on user_vsitor.id = dbgh_order.visitor
...
...
pz-system/src/main/resources/mapper/system/DbmyOrderMapper.xml
View file @
eb899f2e
...
...
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
total_order.business_id,
total_order.status as orderStatus,
dbmy_order.status as serviceStatus,
service
s.name as project,
busines
s.name as project,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission,
dbmy_order.yp_name,
...
...
@@ -81,13 +81,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dbmy_order.prescription_attachment,
dbmy_order.phone,
dbmy_order.recipient,
dbmy_order.address
as address,
dbmy_order.address as address,
dbmy_order.address_info,
dbmy_order.is_refrigerate,
total_order.remark as description,
total_order.remark
as description,
dbmy_order.remark,
dbmy_order.voucher
dbmy_order.voucher,
total_order.evaluation_content,
total_order.is_satisfaction as evaluation_flag
from total_order
left join business on total_order.business_id = business.id
left join dbmy_order on dbmy_order.order_id = total_order.id
left join services on total_order.service_id = services.id
where total_order.id = #{id}
...
...
pz-system/src/main/resources/mapper/system/DbwzOrderMapper.xml
View file @
eb899f2e
...
...
@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
total_order.business_id,
total_order.status as orderStatus,
dbwz_order.status as serviceStatus,
service
s.name as project,
busines
s.name as project,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission,
user_vsitor.name as userName,
...
...
@@ -85,10 +85,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dbwz_order.service_requirements,
dbwz_order.last_medical_treatment_situation,
dbwz_order.post_treatment_condition,
total_order.remark as description,
total_order.evaluation_content,
total_order.is_satisfaction as evaluation_flag,
total_order.remark as description,
dbwz_order.remark,
dbwz_order.voucher
from total_order
left join business on total_order.business_id = business.id
left join dbwz_order on dbwz_order.order_id = total_order.id
left join services on total_order.service_id = services.id
left join user_vsitor on user_vsitor.id = dbwz_order.visitor
...
...
pz-system/src/main/resources/mapper/system/YypzOrderMapper.xml
View file @
eb899f2e
...
...
@@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
yypz_order.status as serviceStatus,
yypz_order.phone,
yypz_order.visit_time,
service
s.name as project,
busines
s.name as project,
total_order.evaluation_content,
total_order.is_satisfaction as evaluation_flag,
total_order.remark as description,
...
...
@@ -86,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
department.title as department,
yypz_order.remark
from total_order
left join business on business.id = total_order.business_id
left join yypz_order on yypz_order.order_id = total_order.id
left join services on total_order.service_id = services.id
left join user_vsitor on user_vsitor.id = yypz_order.visitor
...
...
pz-system/src/main/resources/mapper/system/ZyphOrderMapper.xml
View file @
eb899f2e
...
...
@@ -76,7 +76,7 @@
total_order.business_id,
total_order.status as orderStatus,
zyph_order.status as serviceStatus,
service
s.name as project,
busines
s.name as project,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission,
user_vsitor.name as userName,
...
...
@@ -90,6 +90,7 @@
total_order.evaluation_content,
total_order.is_satisfaction as evaluation_flag
from total_order
left join business on total_order.business_id = business.id
left join zyph_order on zyph_order.order_id = total_order.id
left join services on total_order.service_id = services.id
left join user_vsitor on user_vsitor.id = zyph_order.visitor
...
...
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