| | |
| | | |
| | | import com.nq.enums.EStockType; |
| | | import com.nq.service.IRateServices; |
| | | import com.nq.service.ISiteAdminService; |
| | | import com.nq.service.ISiteSettingService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.math.BigDecimal; |
| | | import java.math.RoundingMode; |
| | | |
| | | @Service |
| | | public class RateServicesImpl implements IRateServices { |
| | | |
| | | @Resource |
| | | ISiteSettingService iSiteSettingService; |
| | | @Override |
| | | public BigDecimal currencyRate(EStockType fromStockType, EStockType tofromStockType) { |
| | | // if(fromStockType == null || tofromStockType == null){ |