Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
c1036d3b
Commit
c1036d3b
authored
Dec 13, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】修改数据库
parent
675d3ffd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
BranchDao.xml
src/main/resources/mapper/manage/BranchDao.xml
+3
-3
EanUpcDao.xml
src/main/resources/mapper/manage/EanUpcDao.xml
+7
-7
FirmDao.xml
src/main/resources/mapper/manage/FirmDao.xml
+2
-2
No files found.
src/main/resources/mapper/manage/BranchDao.xml
View file @
c1036d3b
...
...
@@ -27,9 +27,9 @@
b.address_description,
c.personname
FROM
center_
outer
.dbo.branch a
center_
sync
.dbo.branch a
LEFT JOIN codeagent b ON ltrim(rtrim(a.branch_code)) = ltrim(rtrim(b.id))
LEFT JOIN center_
outer
.dbo.person c ON a.branch_contact = c.personid
LEFT JOIN center_
sync
.dbo.person c ON a.branch_contact = c.personid
WHERE
ltrim(rtrim(branch_code)) = ltrim(rtrim(#{branchCode}))
</select>
...
...
@@ -40,7 +40,7 @@
b.mail,
b.website
FROM
center_
outer
.dbo.branch a
center_
sync
.dbo.branch a
LEFT JOIN codeagent b ON ltrim(rtrim(a.branch_code)) = ltrim(rtrim(b.id))
WHERE
ltrim(rtrim(a.branch_code))
<>
'0000'
...
...
src/main/resources/mapper/manage/EanUpcDao.xml
View file @
c1036d3b
...
...
@@ -25,8 +25,8 @@
a.log_date,
b.login_date
FROM
center_
outer
.dbo.bulletin AS a
INNER JOIN center_
outer
.dbo.ean_upc AS b ON a.code = b.code
center_
sync
.dbo.bulletin AS a
INNER JOIN center_
sync
.dbo.ean_upc AS b ON a.code = b.code
WHERE
(
DATEDIFF(DAY, login_date, getdate()) >= 7
...
...
@@ -52,8 +52,8 @@
a.log_date,
b.login_date
FROM
center_
outer
.dbo.bulletin AS a
INNER JOIN center_
outer
.dbo.ean_upc AS b ON a.code = b.code
center_
sync
.dbo.bulletin AS a
INNER JOIN center_
sync
.dbo.ean_upc AS b ON a.code = b.code
WHERE
(
DATEDIFF(DAY, login_date, getdate()) >= 7
...
...
@@ -84,9 +84,9 @@
b.f_id,
b.logout_date
FROM
center_
outer
.dbo.firm a
LEFT JOIN center_
outer
.dbo.ean_upc b ON a.f_id = b.f_id
LEFT JOIN center_
outer
.dbo.bulletin c ON c.code = b.code
center_
sync
.dbo.firm a
LEFT JOIN center_
sync
.dbo.ean_upc b ON a.f_id = b.f_id
LEFT JOIN center_
sync
.dbo.bulletin c ON c.code = b.code
WHERE
a.f_id = #{eanUpcEntity.fId}
AND b.code = #{eanUpcEntity.code}
...
...
src/main/resources/mapper/manage/FirmDao.xml
View file @
c1036d3b
...
...
@@ -53,7 +53,7 @@
FROM
firm a
LEFT JOIN 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_
sync
.dbo.bulletin c ON c.code = b.code
WHERE
a.f_id = #{f_id}
AND b.code = #{code}
...
...
@@ -69,7 +69,7 @@
FIRM_NAME_NOW,
AUDIT_DATE
FROM
center_
outer
.dbo.CHANGE_HISTORY
center_
sync
.dbo.CHANGE_HISTORY
WHERE
(FIRM_NAME
<>
FIRM_NAME_now)
AND (
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment