|  |  |  | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  | import java.util.Arrays; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public BigDecimal getGoodsPriceRate() { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | BigDecimal rate = new BigDecimal(Double.parseDouble(queryByCode(Constants.SYSTEM, Constants.GOODS_PRICE_RATE).getCode())); | 
|---|
|  |  |  | return rate; | 
|---|
|  |  |  | }catch (Exception e){ | 
|---|
|  |  |  | return  new BigDecimal(1.2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public void updateById(SystemDictData systemDictData) { | 
|---|
|  |  |  | SystemDictData queryDto = new SystemDictData(); | 
|---|
|  |  |  | queryDto.setDictId(systemDictData.getDictId()); | 
|---|