summaryrefslogtreecommitdiff
path: root/lib/bidding/detail/service.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-14 05:25:21 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-14 05:25:21 +0000
commit39f12cb19f29cbc5568057e154e6adf4789ae736 (patch)
tree2741b255fd9b6253ed6ba67b72d922e7401d8c49 /lib/bidding/detail/service.ts
parent04752b7096554c4a961ebc1f09ff0e81ea9def68 (diff)
(최겸) 입찰 userid 수정
Diffstat (limited to 'lib/bidding/detail/service.ts')
-rw-r--r--lib/bidding/detail/service.ts13
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/bidding/detail/service.ts b/lib/bidding/detail/service.ts
index e22331bb..025b9eac 100644
--- a/lib/bidding/detail/service.ts
+++ b/lib/bidding/detail/service.ts
@@ -472,8 +472,7 @@ export async function calculateTargetPrice(
// 내정가 자동 산정 및 업데이트
export async function calculateAndUpdateTargetPrice(
- biddingId: number,
- userId: string
+ biddingId: number
) {
try {
// 입찰 정보 조회
@@ -510,7 +509,7 @@ export async function calculateAndUpdateTargetPrice(
}
// 내정가 업데이트
- const updateResult = await updateTargetPrice(biddingId, targetPrice, criteria, userId)
+ const updateResult = await updateTargetPrice(biddingId, targetPrice, criteria)
if (updateResult.success) {
// 내정가 산정 후 입찰 상태를 set_target_price로 변경 (received_quotation 상태에서만)
@@ -551,7 +550,6 @@ export async function updateTargetPrice(
biddingId: number,
targetPrice: number,
targetPriceCalculationCriteria: string,
- userId: string
) {
try {
// 입력값 검증
@@ -587,7 +585,6 @@ export async function updateBiddingDetailVendor(
quotationAmount: number, // 기존값 유지용
currency: string, // 기존값 유지용
awardRatio: number, // UI에서 수정 가능
- userId: string
) {
try {
const result = await db.update(biddingCompanies)
@@ -625,8 +622,7 @@ export async function updateBiddingDetailVendor(
// 본입찰용 업체 추가
export async function createBiddingDetailVendor(
biddingId: number,
- vendorId: number,
- userId: string
+ vendorId: number
) {
try {
const result = await db.transaction(async (tx) => {
@@ -2169,8 +2165,7 @@ export async function updatePartnerAttendance(
attendeeCount?: number
representativeName?: string
representativePhone?: string
- },
- userId: string
+ }
) {
try {
const result = await db.transaction(async (tx) => {