|
|
@ -477,7 +477,7 @@ public class SysCustomerQuoteController extends BaseController |
|
|
|
sysCustomerQuoteHistory.setMaterialCode(materialNo); |
|
|
|
sysCustomerQuoteHistory.setCustomerCode(customerCode); |
|
|
|
List<SysCustomerQuoteHistory> sysCustomerQuoteHistories = quoteHistoryService.selectSysCustomerQuoteHistoryList(sysCustomerQuoteHistory); |
|
|
|
List<SysCustomerQuoteHistory> filterCustomerQuoteHistories = sysCustomerQuoteHistories.stream().filter(item -> item.getIsLatest().equals("1")).collect(Collectors.toList()); |
|
|
|
List<SysCustomerQuoteHistory> filterCustomerQuoteHistories = sysCustomerQuoteHistories.stream().filter(item -> "1".equals(item.getIsLatest())).collect(Collectors.toList()); |
|
|
|
if (filterCustomerQuoteHistories.size() == 0) |
|
|
|
{ |
|
|
|
SysCustomerQuoteHistory temp = new SysCustomerQuoteHistory(); |
|
|
|