This commit is contained in:
linfso 2024-05-20 18:09:21 +08:00
parent 60279c1a7d
commit 4207c886f6

View File

@ -62,7 +62,7 @@
<select id="checkSiteScanUnique" parameterType="EmisTmsScanRecord" resultType="int">
select count(1) from emis_tms_scan_record
where billCode = #{billCode} and scan_type=#{scanType}
where bill_code = #{billCode} and scan_type=#{scanType}
and scan_site_code=#{scanSiteCode}
and to_days(scan_date) = to_days(#{scanDate})
limit 1