Commit 4a5c44cc by 吴迪

【新增】去重

parent 171e1f02
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<select id="getDetailById" parameterType="io.office.modules.manage.entity.EanUpcEntity" resultType="io.office.modules.manage.vo.response.EanUpcEntityDetailVo"> <select id="getDetailById" parameterType="io.office.modules.manage.entity.EanUpcEntity" resultType="io.office.modules.manage.vo.response.EanUpcEntityDetailVo">
SELECT SELECT top 1
a.firm_name, a.firm_name,
a.register_address, a.register_address,
a.postcode, a.postcode,
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
a.f_id = #{eanUpcEntity.fId} a.f_id = #{eanUpcEntity.fId}
AND b.code = #{eanUpcEntity.code} AND b.code = #{eanUpcEntity.code}
ORDER BY ORDER BY
c.Id DESC limit 1 c.Id DESC
</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