md
This commit is contained in:
parent
1e6720499a
commit
bf5cdeb3d6
@ -40,6 +40,7 @@
|
|||||||
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
||||||
<include refid="selectEmisDestinationVo"/>
|
<include refid="selectEmisDestinationVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
del_flag='0'
|
||||||
<if test="id != null "> and id = #{id}</if>
|
<if test="id != null "> and id = #{id}</if>
|
||||||
<if test="destCode != null and destCode != ''"> and dest_code=#{destCode}</if>
|
<if test="destCode != null and destCode != ''"> and dest_code=#{destCode}</if>
|
||||||
<if test="destName != null and destName != ''"> and dest_name like concat('%', #{destName}, '%')</if>
|
<if test="destName != null and destName != ''"> and dest_name like concat('%', #{destName}, '%')</if>
|
||||||
|
|||||||
@ -172,7 +172,7 @@
|
|||||||
<!--获取签收异常扫描统计数据-->
|
<!--获取签收异常扫描统计数据-->
|
||||||
|
|
||||||
<select id="queryScanStatList" parameterType="EmisTmsScanRecord" resultMap="ScanStatDataInfoResult">
|
<select id="queryScanStatList" parameterType="EmisTmsScanRecord" resultMap="ScanStatDataInfoResult">
|
||||||
select t1.scan_site_code,t1.scan_count,t2.sign_count,round(round(ifnull(t2.sign_count,0)/t1.scan_count,3)*100,1) as sign_rate
|
select t1.scan_site_code,t1.scan_count,ifnull(t2.sign_count,0) as sign_count,round(round(ifnull(t2.sign_count,0)/t1.scan_count,3)*100,1) as sign_rate
|
||||||
from (
|
from (
|
||||||
select a.scan_site_code ,count(DISTINCT a.main_bill_code) as scan_count
|
select a.scan_site_code ,count(DISTINCT a.main_bill_code) as scan_count
|
||||||
from emis_tms_scan_record a,emis_waybill b
|
from emis_tms_scan_record a,emis_waybill b
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user