md
This commit is contained in:
parent
8f3d87320f
commit
5c04ff9100
@ -80,15 +80,6 @@
|
||||
|
||||
</resultMap>
|
||||
|
||||
<!-- <result property="billCodeStr" column="bill_code_str" />-->
|
||||
|
||||
<!-- <association property="signCount"-->
|
||||
<!-- column="bill_code_str"-->
|
||||
<!-- select="selectSignCountByBillCodeStr"-->
|
||||
<!-- fetchType="lazy"-->
|
||||
<!-- />-->
|
||||
|
||||
|
||||
<!-- 根据获取签收数量统计 -->
|
||||
<select id="selectSignCountByBillCodeStr" parameterType="string" resultType="int">
|
||||
select count(DISTINCT bill_code) as sign_cnt from emis_tms_scan_record
|
||||
@ -115,6 +106,15 @@
|
||||
and scan_date <![CDATA[ <= ]]> #{params.endScanDate}
|
||||
</if>
|
||||
|
||||
<if test="params.thisSiteScanType != null and params.thisSiteScanType !=''">
|
||||
scan_type=#{params.thisSiteScanType}
|
||||
</if>
|
||||
|
||||
<if test="params.thisSiteCode != null and params.thisSiteCode !=''">
|
||||
scan_site_code=#{params.thisSiteCode}
|
||||
</if>
|
||||
|
||||
|
||||
GROUP BY scan_site_code
|
||||
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user