|
@@ -0,0 +1,16 @@
|
|
|
|
+<?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">
|
|
|
|
+<mapper namespace="com.steerinfo.dil.mapper.StatisticalReportMapper">
|
|
|
|
+
|
|
|
|
+<!--查询采购统计报表-->
|
|
|
|
+ <select id="getAllPurchaseFLRLReport" parameterType="map" resultType="java.util.Map">
|
|
|
|
+ select *
|
|
|
|
+ from OMSTRUCK_ORDER OO
|
|
|
|
+ left join TMSTRUCK_TOTAL_RESULT TTR
|
|
|
|
+ on TTR.ORDER_ID = OO.ORDER_ID
|
|
|
|
+
|
|
|
|
+ left join TMSTRUCK_ENFACTORY_RESULT TER
|
|
|
|
+ on TTR.RESULT_TOTAL_ID = TER.RESULT_TOTAL_ID
|
|
|
|
+
|
|
|
|
+ </select>
|
|
|
|
+</mapper>
|