Compare commits
No commits in common. "17b2ce711c69616ab41befc2d62535b7bb5a1373" and "cc568ee38d0e2ebf99cd34c8201fab82626567d6" have entirely different histories.
17b2ce711c
...
cc568ee38d
@ -19,7 +19,6 @@ import java.util.stream.Collectors;
|
|||||||
import com.interplug.qcast.biz.canvaspopupstatus.CanvasPopupStatusService;
|
import com.interplug.qcast.biz.canvaspopupstatus.CanvasPopupStatusService;
|
||||||
import com.interplug.qcast.biz.canvaspopupstatus.dto.CanvasPopupStatus;
|
import com.interplug.qcast.biz.canvaspopupstatus.dto.CanvasPopupStatus;
|
||||||
import com.interplug.qcast.biz.estimate.dto.*;
|
import com.interplug.qcast.biz.estimate.dto.*;
|
||||||
|
|
||||||
import com.interplug.qcast.biz.pwrGnrSimulation.dto.PwrGnrSimRoofResponse;
|
import com.interplug.qcast.biz.pwrGnrSimulation.dto.PwrGnrSimRoofResponse;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.poi.ss.usermodel.Cell;
|
import org.apache.poi.ss.usermodel.Cell;
|
||||||
@ -325,16 +324,6 @@ public class EstimateService {
|
|||||||
List<ItemRequest> itemList = estimateRequest.getItemList();
|
List<ItemRequest> itemList = estimateRequest.getItemList();
|
||||||
|
|
||||||
if (itemList == null || itemList.isEmpty()) {
|
if (itemList == null || itemList.isEmpty()) {
|
||||||
try {
|
|
||||||
Map<String, String> errReq = new HashMap<>();
|
|
||||||
errReq.put("objectNo", estimateRequest.getObjectNo());
|
|
||||||
errReq.put("planNo", estimateRequest.getPlanNo());
|
|
||||||
errReq.put("rejectRsn", "itemList is empty");
|
|
||||||
errReq.put("regId", estimateRequest.getUserId());
|
|
||||||
interfaceQsp.callApi(HttpMethod.POST, QSP_API_URL + "/api/master/quotationErrSave", errReq);
|
|
||||||
} catch (Exception e) {
|
|
||||||
log.warn("quotationErrSave failed: {}", e.getMessage());
|
|
||||||
}
|
|
||||||
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE,
|
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE,
|
||||||
message.getMessage("common.message.required.data", "itemList"));
|
message.getMessage("common.message.required.data", "itemList"));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user