md
This commit is contained in:
parent
1e6720499a
commit
bf5cdeb3d6
@ -40,6 +40,7 @@
|
||||
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
||||
<include refid="selectEmisDestinationVo"/>
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</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>
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
<!--获取签收异常扫描统计数据-->
|
||||
|
||||
<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 (
|
||||
select a.scan_site_code ,count(DISTINCT a.main_bill_code) as scan_count
|
||||
from emis_tms_scan_record a,emis_waybill b
|
||||
|
||||
Loading…
Reference in New Issue
Block a user