Compare commits
2 Commits
687ea82d78
...
b246034632
| Author | SHA1 | Date | |
|---|---|---|---|
| b246034632 | |||
| 060a815e1c |
@@ -159,14 +159,17 @@ public class ModelTrainMngCoreService {
|
||||
* @param modelId
|
||||
* @param req
|
||||
*/
|
||||
@Transactional
|
||||
public void updateModelMaster(Long modelId, ModelTrainMngDto.UpdateReq req) {
|
||||
ModelMasterEntity entity =
|
||||
modelMngRepository
|
||||
.findById(modelId)
|
||||
.orElseThrow(() -> new CustomApiException("NOT_FOUND_DATA", HttpStatus.NOT_FOUND));
|
||||
//임시폴더 UID업데이트
|
||||
if (req.getRequestPath() != null && !req.getRequestPath().isEmpty()) {
|
||||
entity.setRequestPath(req.getRequestPath());
|
||||
}
|
||||
//TODO 삭제예정
|
||||
|
||||
if (req.getResponsePath() != null && !req.getResponsePath().isEmpty()) {
|
||||
entity.setRequestPath(req.getResponsePath());
|
||||
|
||||
Reference in New Issue
Block a user