Commit 94a97290 by 邹磊浩

修改代码

parent 4575f592
...@@ -170,4 +170,6 @@ public class DbwzOrderVo { ...@@ -170,4 +170,6 @@ public class DbwzOrderVo {
private String isSatisfaction; private String isSatisfaction;
private String evaluationContent; private String evaluationContent;
private Date createTime;
} }
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper <!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.pz.system.mapper.DbwzOrderMapper"> <mapper namespace="com.pz.system.mapper.DbwzOrderMapper">
<resultMap type="com.pz.system.domain.DbwzOrder" id="DbwzOrderResult"> <resultMap type="com.pz.system.domain.DbwzOrder" id="DbwzOrderResult">
...@@ -43,7 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -43,7 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
tlo.is_satisfaction AS isSatisfaction, tlo.is_satisfaction AS isSatisfaction,
tlo.evaluation_content AS evaluationContent, tlo.evaluation_content AS evaluationContent,
yyod.over_time AS overtime, yyod.over_time AS overtime,
yyod.voucher AS voucher yyod.voucher AS voucher,
yyod.*
FROM dbwz_order AS yyod FROM dbwz_order AS yyod
LEFT JOIN total_order AS tlo ON yyod.order_id = tlo.id LEFT JOIN total_order AS tlo ON yyod.order_id = tlo.id
LEFT JOIN city AS c ON c.id = tlo.city_id LEFT JOIN city AS c ON c.id = tlo.city_id
...@@ -75,8 +76,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -75,8 +76,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dbwz_order.status as serviceStatus, dbwz_order.status as serviceStatus,
services.name as project, services.name as project,
business.name as businessName, business.name as businessName,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) * CONVERT((1 - services.fenmo / 100), decimal (10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission, CONVERT(services.price, decimal (10, 2)) as commission,
user_vsitor.name as userName, user_vsitor.name as userName,
dbwz_order.visit_time, dbwz_order.visit_time,
department.title as department, department.title as department,
...@@ -107,7 +108,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -107,7 +108,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectFinishTime" resultType="java.lang.String"> <select id="selectFinishTime" resultType="java.lang.String">
select visit_time 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} where t.id = #{id}
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment