Jiaqi.xu

C类第二法定数量调整

...@@ -172,9 +172,10 @@ public class ChmConsignmentDetailService { ...@@ -172,9 +172,10 @@ public class ChmConsignmentDetailService {
172 if(!Objects.equals(secondUnitDictionaryEntries,null)){ 172 if(!Objects.equals(secondUnitDictionaryEntries,null)){
173 result.setUnitLegalSecondId(secondUnitDictionaryEntries); 173 result.setUnitLegalSecondId(secondUnitDictionaryEntries);
174 result.setUnitLegalSecond(secondUnitDictionaryEntries.getChineseName()); 174 result.setUnitLegalSecond(secondUnitDictionaryEntries.getChineseName());
175 + //第二法定数量
176 + result.setQtyLegalSecond(bigDecimalFormat(BigDecimal.valueOf(mawbDetail.getSecondQty())));
175 } 177 }
176 - //第二法定数量 178 +
177 - result.setQtyLegalSecond(bigDecimalFormat(BigDecimal.valueOf(mawbDetail.getSecondQty().doubleValue())));
178 //成交币制 179 //成交币制
179 DictionaryEntries currencyDictionaryEntries = Constant.dictionaryEntriesCache.get(Constant.CURRENCY_SYSTEM+ mawbDetail.getTradeCurr()); 180 DictionaryEntries currencyDictionaryEntries = Constant.dictionaryEntriesCache.get(Constant.CURRENCY_SYSTEM+ mawbDetail.getTradeCurr());
180 if(!Objects.equals(currencyDictionaryEntries,null)){ 181 if(!Objects.equals(currencyDictionaryEntries,null)){
......