Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meanspec-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MeanSpec (SCE338 2024-2 Group 1)
meanspec-backend
Merge requests
!16
getCombinationId 오타 수정
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
getCombinationId 오타 수정
fix/get-combination-id
into
main
Overview
0
Commits
2
Pipelines
1
Changes
3
Merged
Lee WooChang
requested to merge
fix/get-combination-id
into
main
7 months ago
Overview
0
Commits
2
Pipelines
1
Changes
3
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
48c64d5f
2 commits,
7 months ago
3 files
+
11
−
8
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
src/repositories/myRepository.js
+
2
−
2
View file @ 48c64d5f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -37,8 +37,8 @@ const myRepository = {
@@ -37,8 +37,8 @@ const myRepository = {
async
getCombinationIdByTransactionId
(
transactionId
)
{
async
getCombinationIdByTransactionId
(
transactionId
)
{
const
query
=
`
const
query
=
`
SELECT combination_id
SELECT combination_id
FROM
P
cregister_
T
ransection
FROM
p
cregister_
t
ransection
WHERE trans
e
ction_id = $1
WHERE trans
a
ction_id = $1
`
;
`
;
const
values
=
[
transactionId
];
const
values
=
[
transactionId
];
const
{
rows
}
=
await
pool
.
query
(
query
,
values
);
const
{
rows
}
=
await
pool
.
query
(
query
,
values
);
Loading