mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-12 01:47:50 +09:00
이월금액 조회, 메뉴 수정
This commit is contained in:
@@ -40,7 +40,11 @@ public class CustMgtService {
|
||||
|
||||
@Autowired
|
||||
private HubeasyApiComponents hubeasyApi;
|
||||
|
||||
|
||||
@Value("${limitCnt: 12}")
|
||||
private int limitCnt;
|
||||
|
||||
|
||||
/**
|
||||
* 요금제.
|
||||
*/
|
||||
@@ -269,6 +273,7 @@ public class CustMgtService {
|
||||
CustMgtMapper custMgtMapper = sqlSessionSlave.getMapper(CustMgtMapper.class);
|
||||
|
||||
// 이월 금액 조회.
|
||||
carryOverListReqDto.setLimitCnt(limitCnt);
|
||||
List<CarryOver> carryOvers = custMgtMapper.selectCarryOverList(carryOverListReqDto);
|
||||
|
||||
// 조회 결과 없음.
|
||||
|
||||
@@ -11,5 +11,9 @@ public class CarryOverListReqDto implements Serializable {
|
||||
|
||||
@ApiModelProperty(example = "서비스ID", name = "서비스ID", dataType = "String")
|
||||
private String serviceId;
|
||||
|
||||
/** 조회개수 */
|
||||
@ApiModelProperty(hidden = true)
|
||||
private int limitCnt;
|
||||
|
||||
}
|
||||
@@ -18,6 +18,7 @@ import org.springframework.validation.BindingResult;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.validation.Valid;
|
||||
|
||||
@@ -196,4 +197,8 @@ public class SendNumMgtController {
|
||||
return sendNumService.updateAppr(updateApprReqDto);
|
||||
}
|
||||
|
||||
/** 제출 서류 다운로드 */
|
||||
public void downloadDoc(HttpServletRequest request, HttpServletResponse response, InsertNumberFile docFile) {
|
||||
sendNumService.downloadDoc(request, response, docFile);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,9 @@ import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@Service
|
||||
public class SendNumMgtService {
|
||||
|
||||
@@ -320,6 +323,14 @@ public class SendNumMgtService {
|
||||
return new InsertNumberResDto(ApiResponseCode.SUCCESS, insertNumberRes);
|
||||
}
|
||||
|
||||
// 다운로트 제출서류
|
||||
public void downloadDoc(HttpServletRequest request, HttpServletResponse response, InsertNumberFile docFile) {
|
||||
|
||||
|
||||
String fileName = "";
|
||||
//FileUtil.download(request, response, sendNumUploadPath, fileName);
|
||||
}
|
||||
|
||||
/**
|
||||
* date : 2022. 4. 25.
|
||||
* auth : ckr
|
||||
@@ -512,4 +523,6 @@ public class SendNumMgtService {
|
||||
return new UpdateApprResDto(ApiResponseCode.SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user