Merge pull request 'demand: 扫描漏组批次supplierCode线程安全问题修复' (#113) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/113
This commit is contained in:
heyu 2025-07-11 10:51:50 +08:00
commit 10d3821fd6

View File

@ -72,7 +72,15 @@
</if>
</where>
order by create_time desc
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
ORDER BY FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
</foreach>
</if>
<if test="params.billCodeSortList == null">
order by create_time desc
</if>
</select>