mirror of
https://git.hmsn.ink/kospo/svcm/api.git
synced 2026-03-20 01:12:28 +09:00
등록기간 종료 처리
This commit is contained in:
@@ -11,7 +11,9 @@ public interface PrcsBizRepository extends JpaRepository<PrcsBiz, PrcsBizId> {
|
|||||||
"inner join PrcsBiz pb on p.prcsNo = pb.id.prcsNo \n" +
|
"inner join PrcsBiz pb on p.prcsNo = pb.id.prcsNo \n" +
|
||||||
"inner join ApprMst am on am.prcsNo = p.prcsNo \n" +
|
"inner join ApprMst am on am.prcsNo = p.prcsNo \n" +
|
||||||
"and pb.id.bizNo = :bizNo " +
|
"and pb.id.bizNo = :bizNo " +
|
||||||
"and p.stCd = '0200' and pb.estStatCd = '0000' and am.apprStatCd = '0200' ")
|
"and p.stCd = '0200' and pb.estStatCd = '0000' and am.apprStatCd = '0200' " +
|
||||||
|
"and p.regSdat >= to_char(current_date, 'yyyy-MM-dd') " +
|
||||||
|
"and p.regEdat <= to_char(current_date, 'yyyy-MM-dd') ")
|
||||||
int countReqByBizNo(String bizNo);
|
int countReqByBizNo(String bizNo);
|
||||||
|
|
||||||
/*입찰 상태 변경*/
|
/*입찰 상태 변경*/
|
||||||
|
|||||||
@@ -98,6 +98,8 @@ public interface PrcsRepository extends JpaRepository<Prcs, String> {
|
|||||||
"inner join ApprMst am on am.prcsNo = p.prcsNo \n" +
|
"inner join ApprMst am on am.prcsNo = p.prcsNo \n" +
|
||||||
"and pb.id.bizNo = :bizNo " +
|
"and pb.id.bizNo = :bizNo " +
|
||||||
"and p.stCd = '0200' and pb.estStatCd = '0000' and am.apprStatCd = '0200' " +
|
"and p.stCd = '0200' and pb.estStatCd = '0000' and am.apprStatCd = '0200' " +
|
||||||
|
"and p.regSdat >= to_char(current_date, 'yyyy-MM-dd') " +
|
||||||
|
"and p.regEdat <= to_char(current_date, 'yyyy-MM-dd') " +
|
||||||
"and (:cateCd is null or :cateCd = '' or p.cateCd = :cateCd) " +
|
"and (:cateCd is null or :cateCd = '' or p.cateCd = :cateCd) " +
|
||||||
"and (:regNm is null or :regNm = '' or p.regNm like concat('%', :regNm, '%'))" +
|
"and (:regNm is null or :regNm = '' or p.regNm like concat('%', :regNm, '%'))" +
|
||||||
"and (:title is null or :title = '' or p.title like concat('%', :title, '%'))" +
|
"and (:title is null or :title = '' or p.title like concat('%', :title, '%'))" +
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public class ContServiceImpl implements ContService {
|
|||||||
if(prcs != null) {
|
if(prcs != null) {
|
||||||
if(!prcs.getSvyYn()) throw new CustomException(ErrorCode.No_SVY_NOT_EXECUTE);
|
if(!prcs.getSvyYn()) throw new CustomException(ErrorCode.No_SVY_NOT_EXECUTE);
|
||||||
} else {
|
} else {
|
||||||
if(!contSaveRequest.isExcYn() || StringUtil.isBlank(contSaveRequest.getReason())) throw new CustomMessageException(CustomMessageException.CusMessage.builder()
|
if(contSaveRequest.isExcYn() && StringUtil.isBlank(contSaveRequest.getReason())) throw new CustomMessageException(CustomMessageException.CusMessage.builder()
|
||||||
.code("999999")
|
.code("999999")
|
||||||
.message("가격조사를 안했을 시 예외 사유는 필수 입니다.")
|
.message("가격조사를 안했을 시 예외 사유는 필수 입니다.")
|
||||||
.build());
|
.build());
|
||||||
|
|||||||
Reference in New Issue
Block a user