瀏覽代碼

출고 수정 및 공급사 납품서 초기정보 전송 수정

dwkim 2 年之前
父節點
當前提交
a5e3c6435e

+ 2 - 0
src/main/java/com/oqpo/api/service/inoutmng/ShmtOdrService.java

@@ -235,6 +235,8 @@ public class ShmtOdrService extends CommonService {
235 235
                     inaddDtlEntity.setUnit(entity.getPchOdrDtlInfo().getUnit());
236 236
                     inaddDtlEntity.setPodrQty(entity.getPchOdrDtlInfo().getPodrQty());
237 237
                     inaddDtlEntity.setPodrAmt(entity.getPchOdrDtlInfo().getPodrAmt());
238
+                    inaddDtlEntity.setShmtReqUnqNo(shmtReqUnqNo);
239
+                    inaddDtlEntity.setShmtReqDtlNo(Integer.toString(dtlNo));
238 240
                     inaddDtlEntity.setShmtQty(shmtQty);
239 241
                     inaddDtlEntity.setShmtAmt(shmtQty * entity.getPchOdrDtlInfo().getUnitAmt());
240 242
                     inaddDtlEntity.setExpryDate(expryDate);

+ 1 - 1
src/main/java/com/oqpo/api/web/dto/response/inoutmng/SpplyInvInitResponse.java

@@ -47,7 +47,7 @@ public class SpplyInvInitResponse {
47 47
                 .invPoInfoList(dtlList.stream()
48 48
                         .map(m -> SpplyInvInitResponse.InvPoDtlInfo.builder()
49 49
                                 .pchPodrUnqNo(m.getPchPodrUnqNo() == null ? "" : m.getPchPodrUnqNo())
50
-                                .pchPodrDtlNo(m.getPchReqDtlNo() == null ? "" : m.getPchPodrDtlNo())
50
+                                .pchPodrDtlNo(m.getPchPodrDtlNo() == null ? "" : m.getPchPodrDtlNo())
51 51
                                 .itemId(m.getItemId() == null ? "" :m.getItemId())
52 52
                                 .itemNm(m.getItemNm() == null ? "" :m.getItemNm())
53 53
                                 .unit(m.getUnit() == null ? "" : m.getUnit())