Commit 171e1f02 by 吴迪

【新增】限制为查询1

parent 6095c203
...@@ -83,14 +83,14 @@ ...@@ -83,14 +83,14 @@
b.f_id, b.f_id,
b.logout_date b.logout_date
FROM FROM
firm a center_outer.dbo.firm a
LEFT JOIN center_outer.ean_upc b ON a.f_id = b.f_id LEFT JOIN center_outer.dbo.ean_upc b ON a.f_id = b.f_id
LEFT JOIN center_outer.dbo.dbo.bulletin c ON c.code = b.code LEFT JOIN center_outer.dbo.bulletin c ON c.code = b.code
WHERE WHERE
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 c.Id DESC 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