Commit e570a254 authored by zhengyi's avatar zhengyi

报价单详情bug修复

parent a2e874d2
...@@ -439,5 +439,5 @@ public interface OfferMapper extends BaseMapperX<OfferDO> { ...@@ -439,5 +439,5 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
"o.offer_id = #{offerId}", "o.offer_id = #{offerId}",
"</script>" "</script>"
}) })
OfferRespVO info(@Param("offerId") Long offerId); OfferRespVO info(@Param("offerId") Long offerId, @Param("lang") Integer lang);
} }
...@@ -647,7 +647,7 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl ...@@ -647,7 +647,7 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl
throw exception(OFFER_NOT_EXISTS); throw exception(OFFER_NOT_EXISTS);
} }
OfferRespVO respVO = offerMapper.info(offerId); OfferRespVO respVO = offerMapper.info(offerId, I18nMessage.getLang());
EstCostVO estCostVO = JSONObject.parseObject(offerDO.getEstCost(), EstCostVO.class); EstCostVO estCostVO = JSONObject.parseObject(offerDO.getEstCost(), EstCostVO.class);
if (Objects.nonNull(estCostVO)) { if (Objects.nonNull(estCostVO)) {
List<FeeDto> feeDtoList = estCostVO.getFeeDtoList(); List<FeeDto> feeDtoList = estCostVO.getFeeDtoList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment