| | |
| | | |
| | | import com.nq.dao.MoneyLogMapper; |
| | | import com.nq.dao.StockConfigMapper; |
| | | import com.nq.enums.EConfigKey; |
| | | import com.nq.pojo.MoneyLog; |
| | | import com.nq.pojo.SiteSpread; |
| | | import com.nq.pojo.StockConfig; |
| | |
| | | @RequestMapping({"queryStockConfig.do"}) |
| | | @ResponseBody |
| | | public ServerResponse updateConfig(){ |
| | | StockConfig stockConfig = stockConfigMapper.selectOne(new LambdaQueryWrapper<StockConfig>().eq(StockConfig::getCKey, "buy_handling_charge")); |
| | | StockConfig stockConfig = stockConfigMapper.selectOne(new LambdaQueryWrapper<StockConfig>().eq(StockConfig::getCKey, EConfigKey.BUY_HANDLING_CHARGE.getCode())); |
| | | return ServerResponse.createBySuccess(stockConfig); |
| | | } |
| | | |
| | | @RequestMapping({"queryStockConfigTwo.do"}) |
| | | @ResponseBody |
| | | public ServerResponse queryStockConfigTwo(){ |
| | | StockConfig stockConfig = stockConfigMapper.selectOne(new LambdaQueryWrapper<StockConfig>().eq(StockConfig::getCKey, EConfigKey.EXCHANGE_HANDLING_CHARGE.getCode())); |
| | | return ServerResponse.createBySuccess(stockConfig); |
| | | } |
| | | |
| | | @RequestMapping({"moneylogAll.do"}) |