|
|
@@ -33,10 +33,7 @@ import com.usoftchina.saas.sale.service.ProdInOutService;
|
|
|
import com.usoftchina.saas.sale.service.SaleService;
|
|
|
import com.usoftchina.saas.storage.po.ProdIODetail;
|
|
|
import com.usoftchina.saas.storage.po.ProdInOut;
|
|
|
-import com.usoftchina.saas.utils.BeanMapper;
|
|
|
-import com.usoftchina.saas.utils.CollectionUtils;
|
|
|
-import com.usoftchina.saas.utils.DateUtils;
|
|
|
-import com.usoftchina.saas.utils.JsonUtils;
|
|
|
+import com.usoftchina.saas.utils.*;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
@@ -738,6 +735,11 @@ public class SaleServiceImpl implements SaleService{
|
|
|
remindRspDTO.setNeedQty(inquiryEnRemind.getNeedQty());
|
|
|
remindRspDTO.setStartDate(inquiryEnRemind.getReDate());
|
|
|
remindRspDTO.setEndDate(inquiryEnRemind.getEndDate());
|
|
|
+ if (ObjectUtils.isEmpty(inquiryEnRemind.getQuotation())){
|
|
|
+ remindRspDTO.setQuoted(0);
|
|
|
+ }else{
|
|
|
+ remindRspDTO.setQuoted(1);
|
|
|
+ }
|
|
|
remindRspDTOList.add(remindRspDTO);
|
|
|
}
|
|
|
}else if("personal".equals(type)){
|
|
|
@@ -753,6 +755,11 @@ public class SaleServiceImpl implements SaleService{
|
|
|
remindRspDTO.setNeedQty(inquiryRemind.getNeedQty());
|
|
|
remindRspDTO.setStartDate(inquiryRemind.getReDate());
|
|
|
remindRspDTO.setEndDate(inquiryRemind.getEndDate());
|
|
|
+ if (ObjectUtils.isEmpty(inquiryRemind.getQuotation())){
|
|
|
+ remindRspDTO.setQuoted(0);
|
|
|
+ }else{
|
|
|
+ remindRspDTO.setQuoted(1);
|
|
|
+ }
|
|
|
remindRspDTOList.add(remindRspDTO);
|
|
|
}
|
|
|
}
|