Unverified Commit 869f936a authored by suxinshuo's avatar suxinshuo Committed by GitHub

[Fix-3451][admin] Fix copy task failed (#3455)

parent 28f27044
......@@ -49,7 +49,7 @@
<select id="queryAllSizeByName" resultType="java.lang.Integer">
SELECT count(*)
from dinky_task
where `name` REGEXP concat(#{name}, '_[0-9]$')
where `name` REGEXP concat(#{name}, '-[0-9]$')
</select>
<select id="getTaskByNameAndTenantId" resultType="org.dinky.data.model.Task">
......
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