Commit 6095c203 by 吴迪

【新增】修改成center_outer.dbo.库

parent c9c58be1
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
b.login_date b.login_date
FROM FROM
center_outer.dbo.bulletin AS a center_outer.dbo.bulletin AS a
INNER JOIN ean_upc AS b ON a.code = b.code INNER JOIN center_outer.dbo.ean_upc AS b ON a.code = b.code
WHERE WHERE
( (
DATEDIFF(DAY, login_date, getdate()) >= 7 DATEDIFF(DAY, login_date, getdate()) >= 7
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
b.login_date b.login_date
FROM FROM
center_outer.dbo.bulletin AS a center_outer.dbo.bulletin AS a
INNER JOIN ean_upc AS b ON a.code = b.code INNER JOIN center_outer.dbo.ean_upc AS b ON a.code = b.code
WHERE WHERE
( (
DATEDIFF(DAY, login_date, getdate()) >= 7 DATEDIFF(DAY, login_date, getdate()) >= 7
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
b.logout_date b.logout_date
FROM FROM
firm a firm a
LEFT JOIN ean_upc b ON a.f_id = b.f_id LEFT JOIN center_outer.ean_upc b ON a.f_id = b.f_id
LEFT JOIN center_outer.dbo.bulletin c ON c.code = b.code LEFT JOIN center_outer.dbo.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}
......
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