Commit f8f2a345 authored by lanbaoming's avatar lanbaoming

2024-04-22报表XML文件

parent e859082c
......@@ -101,7 +101,7 @@
<if test="deptid!=null and deptid!=''">
and u_d.dept_id= #{deptid}
</if>
<!--
<!--2024-04-22
<if test="searchDataType1!=null and searchDataType1!=''
and searchDataType2!=null and searchDataType2!=''
and searchDataType3!=null and searchDataType3!=''">
......
......@@ -9,7 +9,7 @@
) as salesman,c.customer_service as salesmanid,
source,create_time as createtime,
(u_d.dept_id) as deptid,(u_d.deptName) as deptname,
<!--总V值-->
<!--总V值 2024-04-22-->
(SELECT round(sum(vz),2) FROM view_order_businesstime WHERE customer_id = c.id AND business_time BETWEEN '${sDate}' AND '${eDate}') AS allsumvolume,
(SELECT round(sum(vz),2) FROM view_order_businesstime WHERE customer_id = c.id AND business_time BETWEEN '${sDuiBiDate}' AND '${eDuiBiDate}') as allsumvolumeTb,
<!--海运-->
......
......@@ -29,7 +29,7 @@
</if>
</where>
</sql>
<!--2024-04-22-->
<delete id="deleteById2">
delete from ecw_report_permission where id = #{id}
</delete>
......
......@@ -7,7 +7,7 @@
where id = #{id}
</delete>
<!--2024-04-22-->
</mapper>
......
......@@ -16,7 +16,7 @@
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 2024-04-22-->
<sql id="Base_Column_List">
id, name, emp_gender, age, email </sql>
</mapper>
......
......@@ -18,7 +18,7 @@
LEFT JOIN ecw_warehouse ew_start ON ewl.start_warehouse_id = ew_start.id
LEFT JOIN ecw_warehouse ew_dest ON ewl.dest_warehouse_id = ew_dest.id
) w ON w.line_id = c.line_id
<!--始发仓-->
<!--始发仓 2024-04-22-->
left join ecw_order_departure de on de.order_id = c.order_id
<!--目的仓-->
left join ecw_order_objective ob on ob.order_id = c.order_id
......
......@@ -19,7 +19,7 @@
FROM
DUAL
</select>
<!--2024-04-22-->
<select id="FirstCustomerCount" resultType="int">
SELECT count(c.customer_id) as s_customer_id from ecw_order a
left join ecw_order_consignee c on a.order_id=c.order_id
......
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