refactor: controller class 정리

dev
Jonguk. Lim 5 months ago
parent a6f98e999e
commit e2ed1e528a

@ -96,7 +96,7 @@ public class AddsNimsController extends AbstractController {
//-------------------------------------------------------------------------------------------------
// 보고 문서 관리
//-------------------------------------------------------------------------------------------------
@RequestMapping(value = "dsuseMgtRslt-list.do", name="결과[통보] 처리 조회")
@RequestMapping(value = "dsuseMgtDoc-list.do", name="결과[통보] 처리 조회")
public ModelAndView getDsuseMgtDocList(DsuseMgtReceiptQuery query) {
// FIXME : nims_query.sql의 '보고문서 관리' query를 참조하여 구현
return null;

@ -294,10 +294,9 @@
rndDtlRptCnt: datasetListPrd.length,
userId: "${currentUser.account}"
}
var fileArr = [];
$("#tbody--productList").find("input[type='file'][name='dsusePrdImgFiles']").each(function (i) {
let fileArr = [];
$("#tbody--productList").find("input[type='file'][name='dsusePrdImgFiles']").each(() => {
fileArr.push(this.files[0]);
});
@ -306,19 +305,7 @@
dsuseMgtDtlsJsonStr: JSON.stringify(datasetListPrd),
// 폐기상품이미지목록
dsusePrdImgFiles: fileArr
}
let formData = new FormData();
formData.append("dsuseMgtJsonStr", JSON.stringify(saveBsshData));
formData.append("dsuseMgtDtlsJsonStr", JSON.stringify(datasetListPrd));
debugger;
$("input[type='file'][name='dsusePrdImgFiles']").each(function (i) {
//formData.append("dsusePrdImgFiles", $('input[type=file]')[i].files[0]);
formData.append("dsusePrdImgFiles", this.files[0]);
});
};
let create = (jsonBssh.dscdmngId == "");
@ -332,7 +319,6 @@ debugger;
});
return;
}
debugger
//$P.control.onSave(resp)
dialog.alert("저장됐습니다.");

Loading…
Cancel
Save