잔량 거래명세서데이터베이스저장완료 출하일눌렀을대 보임
This commit is contained in:
@@ -525,16 +525,16 @@ public class SalesNcollectMgmtController {
|
||||
Map<String, Object> resultMap = new HashMap<String, Object>();
|
||||
|
||||
try {
|
||||
// 거래명세서는 차수 관리가 불필요하므로 단순히 성공 응답만 반환
|
||||
// 실제로는 PDF 생성 또는 로그 기록 등의 작업을 수행할 수 있음
|
||||
|
||||
System.out.println("=== 거래명세서 저장 ===");
|
||||
System.out.println("=== 거래명세서 저장 Controller ===");
|
||||
System.out.println("프로젝트 번호: " + paramMap.get("projectNos"));
|
||||
System.out.println("납품일: " + paramMap.get("deliveryDate"));
|
||||
System.out.println("비고: " + paramMap.get("noteContent"));
|
||||
System.out.println("품목 개수: " + ((List)paramMap.get("items")).size());
|
||||
|
||||
resultMap.put("success", true);
|
||||
resultMap.put("message", "저장되었습니다.");
|
||||
// Service 호출하여 DB에 저장
|
||||
resultMap = salesNcollectMgmtService.saveTransactionStatement(paramMap);
|
||||
|
||||
System.out.println("저장 결과: " + resultMap.get("success"));
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user