Commit 54f68f4a by jianshuqin

优化获取最后的费用单号

parent bf46eadd
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<select id="selectLastCost" resultMap="cost"> <select id="selectLastCost" resultMap="cost">
SELECT * SELECT *
FROM cost FROM cost
WHERE cost_no LIKE 'F%'
ORDER BY id DESC ORDER BY id DESC
LIMIT 1 LIMIT 1
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment