From 10e5377841d3ee4439b8012ad305a328076df268 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 03 Jun 2026 15:27:53 +0800
Subject: [PATCH] 1
---
target/classes/com/nq/service/impl/StockFuturesServiceImpl.class | 0
target/classes/mapper/FundsDealerInstitutionsMapper.xml | 123
target/classes/com/nq/pojo/ConvertBondApply.class | 0
target/classes/com/nq/controller/protol/UserBankController.class | 0
target/classes/com/nq/dao/SitePayMapper.class | 0
target/classes/com/nq/utils/email/MailSender.class | 0
target/classes/com/nq/service/ISmsService.class | 0
target/classes/com/nq/vo/stock/k/echarts/EchartsDataVO.class | 0
target/classes/com/nq/service/impl/SiteIndexSettingServiceImpl.class | 0
target/classes/com/nq/controller/backend/AdminRechargeController.class | 0
target/classes/com/nq/pojo/SiteFuturesSetting.class | 0
target/classes/com/nq/dao/StockFuturesMapper.class | 0
target/classes/com/nq/pojo/AgentAgencyFee.class | 0
target/classes/com/nq/pojo/UserExample$Criteria.class | 0
target/classes/com/nq/utils/smsUtil/support/TecentYunSMSProvider.class | 0
target/classes/com/nq/common/ServerResponse.class | 0
target/classes/com/nq/service/IStockSubscribeService.class | 0
target/classes/com/nq/controller/backend/AdminStockIndexController.class | 0
target/classes/com/nq/utils/stock/sina/SinaStockApi.class | 0
target/classes/com/nq/dao/SiteProductMapper.class | 0
target/classes/mapper/UserStockSubscribeMapper.xml | 254 +
target/classes/com/nq/vo/stock/ChartCellVO.class | 0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst | 413 +
target/classes/com/nq/utils/CacheUtil$CacheUtilBean.class | 0
target/classes/com/nq/controller/protol/UserIndexPositionController.class | 0
target/classes/com/nq/common/CmcPayConfig.class | 0
target/classes/com/nq/vo/agent/AgentLoginResultVO.class | 0
target/classes/mapper/FundsSecuritiesInfoMapper.xml | 173
target/classes/com/nq/utils/ip/Mandate.class | 0
target/classes/com/nq/service/IUserWithdrawService.class | 0
target/classes/com/nq/service/IFundsApplyService.class | 0
target/classes/com/nq/controller/StockApiController.class | 0
target/classes/com/nq/vo/stock/StockOptionListVO.class | 0
target/classes/mapper/SiteAmtTransLogMapper.xml | 169
target/classes/com/nq/controller/backend/AdminSitePayController.class | 0
target/classes/com/nq/vo/position/AdminPositionVO.class | 0
target/classes/com/nq/service/ISiteAmtTransLogService.class | 0
target/classes/com/nq/utils/stock/lide/LideRankDataVo.class | 0
target/classes/com/nq/utils/HttpClientRequest.class | 0
target/classes/mapper/ConvertBondMapper.xml | 31
target/classes/com/nq/vo/agent/AgentIncomeVO.class | 0
target/classes/com/nq/controller/backend/AdminSiteInfoController.class | 0
target/classes/com/nq/pojo/ConvertBond.class | 0
target/classes/com/nq/vo/stock/StockVO.class | 0
target/classes/com/nq/pojo/UserCashDetail.class | 0
target/classes/com/nq/vo/user/UserWithdrawVO.class | 0
target/classes/com/nq/common/interceptor/ApiAgentAuthorityInterceptor.class | 0
target/classes/com/nq/annotation/SameUrlData.class | 0
target/classes/com/nq/pojo/SiteSettingExample.class | 0
target/classes/com/nq/service/impl/StockMarketsDayServiceImpl.class | 0
target/classes/com/nq/service/ISiteTaskLogService.class | 0
target/classes/com/nq/utils/stock/sina/SinaStockApi$2.class | 0
target/classes/com/nq/dao/SiteSettingMapper.class | 0
target/classes/com/nq/utils/task/stock/SaveDayMarketsTask.class | 0
target/classes/com/nq/service/ISiteInfoService.class | 0
target/classes/com/nq/service/IUserStockSubscribeService.class | 0
target/classes/com/nq/pojo/StockOption.class | 0
target/classes/com/nq/controller/backend/AdminSiteSettingController.class | 0
target/classes/com/nq/service/IStockMarketsDayService.class | 0
target/classes/com/nq/utils/task/index/ForceSellIndexTask.class | 0
target/classes/mapper/AgentDistributionUserMapper.xml | 92
target/classes/mapper/FundsSettingMapper.xml | 238 +
target/classes/com/nq/common/ResponseCode.class | 0
target/classes/com/nq/controller/protol/UserOptionController.class | 0
target/classes/com/nq/vo/futuresposition/FuturesPositionProfitVO.class | 0
target/classes/com/nq/utils/task/stock/ClosingStayTask.class | 0
target/classes/mapper/UserPendingorderMapper.xml | 28
target/classes/com/nq/pojo/DailyRecord.class | 0
target/classes/mapper/UserFuturesPositionMapper.xml | 524 ++
target/classes/com/nq/service/ISiteIndexSettingService.class | 0
target/classes/com/nq/config/StockPoll.class | 0
target/classes/com/nq/utils/task/futures/ForceSellFuturesTask.class | 0
target/classes/com/nq/service/impl/UserPositionServiceImpl.class | 0
target/classes/com/nq/common/interceptor/ApiAdminAuthorityInterceptor.class | 0
target/classes/com/nq/service/impl/FundsTradingAccountServiceImpl.class | 0
target/classes/com/nq/pojo/FundsDealerInstitutions.class | 0
target/classes/com/nq/controller/agent/AgentNewStockController.class | 0
target/classes/com/nq/dao/ConvertBondApplyMapper.class | 0
target/classes/com/nq/config/MyCorsFilter.class | 0
target/classes/com/nq/dao/StockSubscribeMapper.class | 0
target/classes/com/nq/utils/stock/sina/SinaStockApi$4.class | 0
target/classes/com/nq/vo/futuresposition/FuturesPositionVO.class | 0
target/classes/mapper/SiteSmsLogMapper.xml | 137
target/classes/com/nq/vo/stock/StockListVO.class | 0
target/classes/com/nq/pojo/SiteSpread.class | 0
target/classes/com/nq/utils/translate/GoogleTranslateUtil.class | 0
target/classes/com/nq/pojo/AgentUser.class | 0
target/classes/com/nq/utils/stock/BuyAndSellUtils.class | 0
target/classes/com/nq/dao/FundsLeverMapper.class | 0
target/classes/com/nq/service/ISiteSettingService.class | 0
target/classes/com/nq/utils/sms/ali/AliyunSms.class | 0
target/classes/templates/中原证券股票分成协议(电子正式版).pdf | 0
target/classes/com/nq/service/ConvertBondService.class | 0
target/classes/com/nq/dao/FundsAppendMapper.class | 0
target/classes/com/nq/utils/task/stock/StockShTask.class | 0
target/classes/com/nq/pojo/ContractImage.class | 0
target/classes/com/nq/dao/StockDzMapper.class | 0
target/classes/com/nq/dao/StockMapper.class | 0
target/classes/com/nq/service/impl/UserIndexPositionServiceImpl.class | 0
target/classes/com/nq/service/impl/SiteLoginLogServiceImpl.class | 0
target/classes/mapper/SiteSpreadMapper.xml | 131
target/classes/com/nq/controller/protol/UserController.class | 0
target/classes/com/nq/controller/SmsApiController.class | 0
target/classes/application.properties | 235 +
target/classes/com/nq/pojo/RealTime.class | 0
target/classes/com/nq/controller/backend/AdminFundsSettingController.class | 0
target/classes/com/nq/pojo/UserFuturesPosition.class | 0
target/classes/com/nq/utils/SymmetricCryptoUtil.class | 0
target/classes/com/nq/utils/redis/RedisPoolUtil.class | 0
target/classes/com/nq/pojo/UserFundsPosition.class | 0
target/classes/com/nq/service/SiteAdminIndexService.class | 0
target/classes/mapper/StockCoinMapper.xml | 196
target/classes/com/nq/service/impl/GoogleAuthenticator.class | 0
target/classes/mapper/FundsApplyMapper.xml | 313 +
target/classes/com/nq/vo/stock/StockAdminListVO.class | 0
target/classes/com/nq/service/impl/SiteTaskLogServiceImpl.class | 0
target/classes/com/nq/controller/StockFuturesApiController.class | 0
target/classes/com/nq/pojo/UserRecharge.class | 0
target/classes/com/nq/service/impl/SiteBannerServiceImpl.class | 0
target/classes/com/nq/pojo/SiteSmsLog.class | 0
target/classes/com/nq/utils/stock/qq/QqStockApi$1.class | 0
target/classes/com/nq/utils/task/stock/NewStockTask.class | 0
target/classes/com/nq/utils/stock/pinyin/GetPyByChinese.class | 0
target/classes/com/nq/pojo/UserExample$GeneratedCriteria.class | 0
target/classes/com/nq/vo/pay/GuoPayVO.class | 0
target/classes/com/nq/vo/indexposition/AdminIndexPositionVO.class | 0
target/classes/com/nq/controller/agent/AgentIndexPositionController.class | 0
target/classes/com/nq/controller/backend/AdminStockSubscribeController.class | 0
target/classes/com/nq/service/IUserIndexPositionService.class | 0
target/classes/com/nq/controller/backend/AdminFuturesPositionController.class | 0
target/classes/com/nq/dao/SiteSpreadMapper.class | 0
target/classes/com/nq/service/ISiteSpreadService.class | 0
target/classes/com/nq/service/impl/FundsApplyServiceImpl.class | 0
target/classes/mapper/SiteNewsMapper.xml | 207
target/classes/com/nq/dao/SiteBannerMapper.class | 0
target/classes/com/nq/service/impl/SiteAdminServiceImpl.class | 0
target/classes/com/nq/utils/PdfToImageUtil.class | 0
target/classes/com/nq/controller/AdminApiController.class | 0
target/classes/com/nq/dao/AgentDistributionUserMapper.class | 0
target/classes/com/nq/dao/SiteFuturesSettingMapper.class | 0
target/classes/com/nq/dao/FundsSettingMapper.class | 0
target/classes/com/nq/pojo/SiteSettingExample$GeneratedCriteria.class | 0
target/classes/com/nq/service/impl/FundsDealerInstitutionsServiceImpl.class | 0
target/classes/com/nq/vo/position/PositionProfitVO.class | 0
target/classes/com/nq/controller/backend/AdminNewStockController.class | 0
target/classes/com/nq/vo/stockfutures/FuturesVO.class | 0
target/classes/mapper/SiteFuturesSettingMapper.xml | 148
target/classes/com/nq/dao/UserPositionMapper.class | 0
target/classes/mapper/SiteIndexSettingMapper.xml | 264 +
target/classes/com/nq/utils/ip/juhe/AddressResultsVo.class | 0
target/classes/com/nq/vo/stockfutures/CoinAdminListVO.class | 0
target/classes/com/nq/service/impl/SiteNewsServiceImpl.class | 0
target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor.class | 0
target/classes/com/nq/dao/UserFundsPositionMapper.class | 0
target/classes/com/nq/common/filter/ExceptionResolver.class | 0
target/classes/com/nq/service/ISitePayService.class | 0
target/classes/com/nq/vo/futuresposition/UserFuturesPositionVO.class | 0
target/classes/com/nq/utils/email/MailSender$Builder.class | 0
target/classes/com/nq/controller/backend/AdminUserController.class | 0
target/classes/com/nq/service/impl/ConvertBondApplyServiceImpl.class | 0
target/classes/com/nq/vo/indexposition/AgentIndexPositionVO.class | 0
target/classes/com/nq/utils/email/SendHTMLMail.class | 0
target/classes/com/nq/controller/backend/AdminSiteProductController.class | 0
target/classes/com/nq/dao/UserCashDetailMapper.class | 0
target/classes/mapper/StockIndexMapper.xml | 276 +
target/classes/com/nq/service/impl/AgentUserServiceImpl.class | 0
target/classes/mapper/StockFuturesMapper.xml | 372 +
target/classes/com/nq/service/IStockCoinService.class | 0
target/classes/com/nq/utils/pay/CmcPayOuterRequestUtil.class | 0
target/classes/com/nq/dao/FundsApplyMapper.class | 0
target/classes/com/nq/controller/agent/AgentFuturesPositionController.class | 0
target/classes/com/nq/service/ISiteSmsLogService.class | 0
target/classes/mapper/UserFundsPositionMapper.xml | 381 +
target/classes/com/nq/service/impl/UserWithdrawServiceImpl.class | 0
target/classes/mapper/SiteArticleMapper.xml | 245 +
target/classes/com/nq/utils/KeyUtils.class | 0
target/classes/com/nq/utils/ip/JuheIpApi.class | 0
target/classes/mapper/StockMarketsDayMapper.xml | 234 +
target/classes/com/nq/utils/stock/WithDrawUtils.class | 0
target/classes/com/nq/pojo/StockIndex.class | 0
target/classes/com/nq/dao/SiteSmsLogMapper.class | 0
target/classes/com/nq/service/UserPendingorderService.class | 0
target/classes/com/nq/service/impl/SiteSettingServiceImpl.class | 0
target/classes/com/nq/service/impl/StockSubscribeServiceImpl.class | 0
target/classes/com/nq/utils/task/stock/StockTask.class | 0
target/classes/com/nq/vo/stock/MarketVOResult.class | 0
target/classes/mapper/StockOptionMapper.xml | 166
target/classes/mapper/StockMapper.xml | 267 +
target/classes/com/nq/controller/agent/AgentUserController.class | 0
target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$1.class | 0
target/classes/mapper/UserRechargeMapper.xml | 293 +
target/classes/com/nq/dao/SiteAdminIndexMapper.class | 0
target/classes/com/nq/config/ScheduleConfig.class | 0
target/classes/com/nq/service/impl/UserBankServiceImpl.class | 0
target/classes/com/nq/utils/stock/sina/SinaStockApi$1.class | 0
target/classes/com/nq/dao/UserIndexPositionMapper.class | 0
target/classes/com/nq/vo/agent/AgentUserListVO.class | 0
target/classes/com/nq/pojo/UserBank.class | 0
target/classes/com/nq/dao/RealTimeMapper.class | 0
target/classes/com/nq/dao/SiteTaskLogMapper.class | 0
target/classes/com/nq/utils/redis/RedisShardedPoolUtils.class | 0
target/classes/mapper/FundsTradingAccountMapper.xml | 215
target/classes/rebel.xml | 16
target/classes/com/nq/vo/pay/PayInfo.class | 0
target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$2.class | 0
target/classes/com/nq/service/impl/ConvertBondServiceImpl.class | 0
target/classes/com/nq/vo/position/PositionVO.class | 0
target/classes/com/nq/utils/pay/CmcPayTool.class | 0
target/classes/com/nq/service/impl/UserFuturesPositionServiceImpl.class | 0
target/classes/com/nq/controller/protol/UserWithdrawController.class | 0
target/classes/com/nq/pojo/FundsSecuritiesInfo.class | 0
target/classes/com/nq/dao/SiteNewsMapper.class | 0
target/classes/com/nq/utils/ip/juhe/AddressResult.class | 0
target/classes/com/nq/controller/protol/UserPositionController.class | 0
target/classes/com/nq/pojo/UserPendingorder.class | 0
target/classes/com/nq/dao/FundsTradingAccountMapper.class | 0
target/classes/com/nq/service/IUserFuturesPositionService.class | 0
target/classes/com/nq/utils/MarketUtils.class | 0
target/classes/com/nq/vo/foreigncurrency/ExchangeVO.class | 0
target/classes/com/nq/service/impl/SiteSmsLogServiceImpl.class | 0
target/classes/com/nq/vo/position/UserPendingorderVO.class | 0
target/classes/com/nq/pojo/StockCoin.class | 0
target/classes/com/nq/service/IUserAgreementService.class | 0
target/classes/com/nq/service/impl/SiteSpreadServiceImpl.class | 0
target/classes/com/nq/security/xss/DispatcherServletWrapper.class | 0
target/classes/com/nq/service/IStockFuturesService.class | 0
target/classes/mapper/UserBankMapper.xml | 148
target/classes/com/nq/controller/SiteNewsController.class | 0
target/classes/com/nq/utils/smsUtil/support/AliyunSMSProvider.class | 0
target/classes/com/nq/controller/backend/AdminLogsController.class | 0
target/classes/com/nq/dao/FundsDealerInstitutionsMapper.class | 0
target/stock-0.0.1-SNAPSHOT.jar | 0
target/classes/mapper/AgentUserMapper.xml | 268 +
target/classes/com/nq/config/WebMvcConfig.class | 0
target/classes/com/nq/controller/backend/AdminSiteArticleController.class | 0
target/classes/com/nq/common/PayConst.class | 0
target/classes/com/nq/service/IUserRechargeService.class | 0
target/classes/templates/1.html | 1
target/classes/com/nq/pojo/SiteMessage.class | 0
target/classes/com/nq/controller/backend/AdminIndexPositionController.class | 0
target/classes/com/nq/utils/task/stock/RealTimeTask.class | 0
target/classes/mapper/UserIndexPositionMapper.xml | 473 ++
target/classes/com/nq/service/IUserFundsPositionService.class | 0
target/classes/com/nq/utils/TradeFeeUtil.class | 0
target/classes/com/nq/service/impl/SiteFuturesSettingServiceImpl.class | 0
target/classes/com/nq/dao/ContractImageMapper.class | 0
target/classes/com/nq/dao/UserMapper.class | 0
target/classes/com/nq/service/impl/UserCashDetailServiceImpl.class | 0
target/classes/com/nq/controller/PayApiController.class | 0
target/classes/com/nq/pojo/UserIndexPosition.class | 0
target/classes/com/nq/utils/StockListVO.class | 0
target/classes/com/nq/service/IFundsSettingService.class | 0
target/classes/mapper/ContractImageMapper.xml | 17
target/classes/com/nq/config/StockTask.class | 0
target/classes/com/nq/service/RealTimeService.class | 0
target/classes/com/nq/utils/redis/CookieUtils.class | 0
target/classes/com/nq/service/StockDzService.class | 0
target/classes/com/nq/service/IUserPositionService.class | 0
target/classes/com/nq/pojo/FundsApply.class | 0
target/classes/com/nq/vo/stock/StockUsVO.class | 0
target/classes/com/nq/pojo/UserStockSubscribe.class | 0
target/classes/com/nq/service/IAgentAgencyFeeService.class | 0
target/classes/com/nq/service/impl/FundsAppendServiceImpl.class | 0
target/classes/com/nq/utils/stock/qq/QqStockApi.class | 0
target/classes/com/nq/dao/SiteInfoMapper.class | 0
target/classes/mapper/StockDzMapper.xml | 35
target/classes/com/nq/service/ISiteNewsService.class | 0
target/classes/com/nq/utils/stock/sina/SinaStockApi$3.class | 0
target/classes/com/nq/dao/StockOptionMapper.class | 0
target/classes/com/nq/pojo/User.class | 0
target/classes/com/nq/pojo/FundsLever.class | 0
target/classes/com/nq/dao/SiteArticleMapper.class | 0
target/classes/com/nq/vo/stockindex/StockIndexVO.class | 0
target/classes/com/nq/pojo/UserExample$Criterion.class | 0
target/classes/com/nq/pojo/SiteSettingExample$Criterion.class | 0
target/classes/mapper/AgentAgencyFeeMapper.xml | 142
target/classes/com/nq/vo/stockfutures/FuturesAdminListVO.class | 0
target/classes/com/nq/pojo/SiteIndexSetting.class | 0
target/classes/com/nq/controller/protol/UserPayController.class | 0
target/classes/mapper/SiteBannerMapper.xml | 183
target/classes/com/nq/dao/ConvertBondMapper.class | 0
target/classes/mybatis/mybatis-config.xml | 20
target/classes/com/nq/vo/admin/AdminCountVO.class | 0
target/classes/com/nq/controller/backend/AdminFundsDealerInstitutionsController.class | 0
target/classes/com/nq/utils/BigDecimalUtil.class | 0
target/classes/com/nq/controller/backend/AdminSiteBannerController.class | 0
target/classes/com/nq/pojo/SiteBanner.class | 0
target/classes/com/nq/vo/futuresposition/AdminFuturesPositionVO.class | 0
target/classes/com/nq/utils/email/MailSender$1.class | 0
target/classes/com/nq/vo/indexposition/IndexPositionVO.class | 0
target/classes/mapper/UserMapper.xml | 814 +++
target/classes/mapper/UserPositionMapper.xml | 650 ++
target/classes/com/nq/dao/UserFuturesPositionMapper.class | 0
target/classes/com/nq/pojo/UserPosition.class | 0
target/classes/com/nq/utils/HolidayUtil.class | 0
target/classes/com/nq/controller/backend/AdminAgentController.class | 0
target/classes/com/nq/service/impl/UserServiceImpl.class | 0
target/classes/com/nq/utils/sms/ali/SmsDemo.class | 0
target/classes/com/nq/pojo/StockFutures.class | 0
target/classes/com/nq/StockApplication.class | 0
target/classes/com/nq/utils/redis/RedisShardedPool.class | 0
target/classes/com/nq/pojo/StockDz.class | 0
target/classes/com/nq/service/ConvertBondApplyService.class | 0
target/classes/com/nq/utils/stock/GeneratePosition.class | 0
target/classes/com/nq/utils/task/user/UserAssetAuditTask.class | 0
target/classes/com/nq/dao/SiteAmtTransLogMapper.class | 0
target/classes/com/nq/dao/UserStockSubscribeMapper.class | 0
target/classes/com/nq/service/IStockService.class | 0
target/classes/com/nq/config/GoogleCodeConfig.class | 0
target/classes/com/nq/pojo/SitePay.class | 0
target/classes/com/nq/service/impl/SitePayServiceImpl.class | 0
target/classes/com/nq/service/IAgentUserService.class | 0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst | 428 +
target/classes/com/nq/controller/backend/AdminStockDz.class | 0
target/classes/com/nq/dao/SiteIndexSettingMapper.class | 0
target/classes/com/nq/controller/agent/AgentPositionController.class | 0
target/classes/com/nq/controller/AgentApiController.class | 0
target/classes/com/nq/pojo/SiteAdmin.class | 0
target/classes/com/nq/utils/Pager.class | 0
target/classes/com/nq/controller/agent/AgentRechargeController.class | 0
target/classes/com/nq/utils/task/news/NewsTask.class | 0
target/classes/com/nq/vo/indexposition/UserIndexPositionVO.class | 0
target/classes/mapper/FundsLeverMapper.xml | 132
target/classes/com/nq/service/impl/PayServiceImpl.class | 0
target/classes/com/nq/pojo/SiteTaskLog.class | 0
target/classes/com/nq/vo/stock/k/MinDataVO.class | 0
target/classes/com/nq/controller/UserApiController.class | 0
target/classes/com/nq/service/impl/StockCoinServiceImpl.class | 0
target/classes/com/nq/dao/UserBankMapper.class | 0
target/classes/com/nq/vo/pay/OcocnPayVO.class | 0
target/classes/mapper/SiteMessageMapper.xml | 143
target/classes/com/nq/service/impl/UserPendingorderServiceImpl.class | 0
target/classes/com/nq/controller/ArticleApiController.class | 0
target/classes/mapper/UserWithdrawMapper.xml | 285 +
target/classes/com/nq/service/impl/FundsSettingServiceImpl.class | 0
target/classes/com/nq/pojo/SiteAmtTransLog.class | 0
target/classes/com/nq/dao/AgentAgencyFeeMapper.class | 0
target/classes/com/nq/vo/user/UserBankInfoVO.class | 0
target/classes/com/nq/controller/agent/AgentController.class | 0
target/classes/com/nq/utils/CacheUtil.class | 0
target/stock-0.0.1-SNAPSHOT.jar.original | 0
target/classes/mapper/FundsAppendMapper.xml | 297 +
target/classes/mapper/SiteAdminIndexMapper.xml | 26
target/classes/com/nq/dao/UserWithdrawMapper.class | 0
target/classes/com/nq/utils/CurrencyUtils.class | 0
target/classes/com/nq/controller/VerifyCodeController.class | 0
target/classes/com/nq/service/IFundsLeverService.class | 0
target/classes/com/nq/controller/backend/AdminCashDetailController.class | 0
target/classes/com/nq/service/impl/UserStockSubscribeServiceImpl.class | 0
target/classes/com/nq/utils/task/stock/ForceSellTask.class | 0
target/classes/com/nq/vo/pay/FlyPayVO.class | 0
target/classes/com/nq/service/impl/StockOptionServiceImpl.class | 0
target/classes/application.yml | 152
target/classes/com/nq/pojo/FundsSetting.class | 0
target/classes/com/nq/service/IFundsAppendService.class | 0
target/classes/com/nq/dao/SiteAdminMapper.class | 0
target/classes/com/nq/controller/backend/AdminSiteFuturesSettingController.class | 0
target/classes/com/nq/controller/backend/AdminStockController.class | 0
target/classes/com/nq/service/IUserService.class | 0
target/classes/com/nq/controller/backend/AdminStockFuturesController.class | 0
target/classes/com/nq/service/IUserBankService.class | 0
target/classes/com/nq/pojo/Stock.class | 0
target/classes/com/nq/service/impl/UserRechargeServiceImpl.class | 0
target/classes/com/nq/service/IStockOptionService.class | 0
target/classes/com/nq/pojo/UserWithdraw.class | 0
target/classes/com/nq/pojo/SiteSetting.class | 0
target/classes/com/nq/vo/stock/MarketVO.class | 0
target/classes/com/nq/dao/FundsSecuritiesInfoMapper.class | 0
target/classes/com/nq/utils/StringUtils.class | 0
target/classes/com/nq/service/IFileUploadService.class | 0
target/classes/com/nq/pojo/UserExample.class | 0
target/classes/com/nq/vo/agent/AgentAgencyFeeVO.class | 0
target/classes/com/nq/service/IPayService.class | 0
target/classes/com/nq/service/impl/SiteAdminIndexServiceImpl.class | 0
target/classes/com/nq/service/impl/SiteProductServiceImpl.class | 0
target/classes/com/nq/service/impl/AgentDistributionUserServiceImpl.class | 0
target/classes/com/nq/service/impl/SiteArticleServiceImpl.class | 0
target/classes/com/nq/service/IAgentDistributionUserService.class | 0
target/classes/com/nq/security/xss/HandlerExecutionChainWrapper.class | 0
target/classes/com/nq/vo/agent/AgentInfoVO.class | 0
target/classes/com/nq/service/ISiteAdminService.class | 0
target/classes/com/nq/service/ISiteFuturesSettingService.class | 0
target/classes/com/nq/service/impl/FundsSecuritiesInfoServiceImpl.class | 0
target/classes/mapper/SiteProductMapper.xml | 209
target/classes/com/nq/dao/StockCoinMapper.class | 0
target/classes/com/nq/vo/indexposition/IndexPositionProfitVO.class | 0
target/classes/com/nq/controller/backend/AdminPositionController.class | 0
target/classes/com/nq/service/impl/RealTimeServiceImpl.class | 0
target/classes/com/nq/dao/SiteMessageMapper.class | 0
target/classes/mapper/SitePayMapper.xml | 245 +
target/classes/templates/中原证券商业核心信息保密协议.pdf | 0
target/classes/com/nq/pojo/SiteNews.class | 0
target/classes/com/nq/pojo/AgentDistributionUser.class | 0
target/classes/com/nq/utils/task/stock/StockOthersTask.class | 0
target/classes/com/nq/service/impl/AgentAgencyFeeServiceImpl.class | 0
target/classes/com/nq/utils/stock/lide/LideDataVo.class | 0
target/classes/com/nq/dao/AgentUserMapper.class | 0
target/classes/com/nq/utils/stock/lide/LiDeDataUtils.class | 0
target/classes/com/nq/pojo/SiteArticle.class | 0
target/classes/com/nq/service/ISiteLoginLogService.class | 0
target/classes/com/nq/vo/stockfutures/StockFuturesListVO.class | 0
target/classes/com/nq/pojo/SiteLoginLog.class | 0
target/classes/com/nq/common/converter/MyJsonMapper.class | 0
target/classes/com/nq/service/impl/SiteMessageServiceImpl.class | 0
target/classes/com/nq/common/Const.class | 0
target/classes/com/nq/utils/stock/GetStayDays.class | 0
target/classes/com/nq/service/impl/UserAgreementServiceImpl.class | 0
target/classes/mapper/StockSubscribeMapper.xml | 47
target/classes/com/nq/service/ISiteProductService.class | 0
target/classes/com/nq/controller/backend/AdminStockCoinController.class | 0
target/classes/com/nq/controller/backend/AdminFundsApplyController.class | 0
target/classes/com/nq/controller/backend/AdminSiteIndexSettingController.class | 0
target/classes/com/nq/controller/protol/UserFundsController.class | 0
target/classes/com/nq/service/impl/StockDzServiceImpl.class | 0
target/classes/com/nq/service/IFundsTradingAccountService.class | 0
target/classes/com/nq/controller/protol/UserFuturesPositionController.class | 0
target/classes/com/nq/pojo/SiteAdminIndex.class | 0
target/classes/email/auth.html | 85
target/classes/com/nq/pojo/SiteInfo.class | 0
target/classes/mapper/SiteSettingMapper.xml | 927 ++++
target/classes/mapper/SiteTaskLogMapper.xml | 137
target/classes/com/nq/utils/smsUtil/smsUtil.class | 0
target/classes/com/nq/controller/agent/AgentCashDetailController.class | 0
target/classes/com/nq/common/StockIndexConst.class | 0
target/classes/com/nq/vo/agent/AgentSecondInfoVO.class | 0
hs_err_pid32864.log | 224 +
target/classes/com/nq/controller/ImageController.class | 0
target/classes/com/nq/utils/HttpRequest.class | 0
target/classes/com/nq/vo/stock/StockDzVo.class | 0
target/classes/com/nq/dao/StockIndexMapper.class | 0
target/classes/com/nq/common/StockFuturesConst.class | 0
target/classes/com/nq/utils/FTPUtil.class | 0
target/classes/com/nq/service/ISiteArticleService.class | 0
target/classes/com/nq/dao/SiteLoginLogMapper.class | 0
target/classes/com/nq/service/impl/FileUploadServiceImpl.class | 0
target/classes/com/nq/vo/position/AgentPositionVO.class | 0
target/classes/com/nq/utils/smsUtil/SMSProvider.class | 0
target/classes/com/nq/controller/backend/AdminController.class | 0
target/classes/com/nq/service/impl/SmsServiceImpl.class | 0
target/classes/com/nq/service/IFundsDealerInstitutionsService.class | 0
target/classes/com/nq/controller/backend/AdminWithDrawController.class | 0
target/classes/com/nq/service/IUserCashDetailService.class | 0
target/classes/com/nq/common/interceptor/ApiUserAuthorityInterceptor.class | 0
target/classes/com/nq/service/impl/SiteAmtTransLogServiceImpl.class | 0
target/classes/com/nq/service/impl/FundsLeverServiceImpl.class | 0
target/classes/com/nq/utils/DateTimeUtil.class | 0
target/classes/com/nq/config/MyBatisConfig.class | 0
target/classes/mapper/UserCashDetailMapper.xml | 258 +
target/classes/com/nq/pojo/FundsTradingAccount.class | 0
target/classes/com/nq/controller/protol/UserRechargeController.class | 0
target/classes/com/nq/pojo/FundsAppend.class | 0
target/classes/com/nq/pojo/StockMarket.class | 0
target/classes/com/nq/dao/UserPendingorderMapper.class | 0
target/classes/mapper/SiteLoginLogMapper.xml | 132
target/classes/com/nq/pojo/StockSubscribe.class | 0
target/classes/com/nq/service/IStockIndexService.class | 0
target/classes/com/nq/utils/task/stock/StockListTask.class | 0
target/classes/com/nq/controller/StockIndexApiController.class | 0
target/classes/com/nq/dao/StockMarketsDayMapper.class | 0
target/classes/com/nq/utils/redis/JsonUtil.class | 0
target/classes/com/nq/utils/Md5Utils.class | 0
target/classes/com/nq/vo/futuresposition/AgentFuturesPositionVO.class | 0
target/classes/com/nq/vo/user/UserInfoVO.class | 0
target/classes/com/nq/pojo/SiteProduct.class | 0
target/classes/com/nq/service/impl/SiteInfoServiceImpl.class | 0
target/classes/com/nq/vo/user/UserLoginResultVO.class | 0
target/classes/mapper/SiteAdminMapper.xml | 156
target/classes/com/nq/controller/agent/AgentWithdrawController.class | 0
target/maven-archiver/pom.properties | 3
target/classes/com/nq/controller/protol/UserCashDetailController.class | 0
target/classes/com/nq/controller/RealTimeController.class | 0
target/classes/com/nq/utils/sms/ali/AliyunSmsConst.class | 0
target/classes/com/nq/vo/position/UserPositionVO.class | 0
target/classes/com/nq/service/impl/UserFundsPositionServiceImpl.class | 0
target/classes/com/nq/controller/SiteApiController.class | 0
target/classes/com/nq/utils/ip/IpUtils.class | 0
target/classes/com/nq/service/ISiteMessageService.class | 0
target/classes/com/nq/service/ISiteBannerService.class | 0
target/classes/com/nq/service/impl/StockServiceImpl.class | 0
target/classes/com/nq/service/impl/StockIndexServiceImpl.class | 0
target/classes/com/nq/service/IFundsSecuritiesInfoService.class | 0
target/classes/mapper/ConvertBondApplyMapper.xml | 30
target/classes/com/nq/dao/UserRechargeMapper.class | 0
target/classes/com/nq/pojo/SiteSettingExample$Criteria.class | 0
target/classes/com/nq/pojo/StockMarketsDay.class | 0
target/classes/com/nq/utils/pay/OcocnPayUtil.class | 0
target/classes/com/nq/utils/redis/RedisConst.class | 0
target/classes/com/nq/utils/stock/SerializeUtil.class | 0
target/classes/mapper/SiteInfoMapper.xml | 418 +
target/classes/com/nq/utils/PropertiesUtil.class | 0
target/classes/com/nq/utils/stock/sina/vo/SinaStockMinData.class | 0
491 files changed, 13,226 insertions(+), 0 deletions(-)
diff --git a/hs_err_pid32864.log b/hs_err_pid32864.log
new file mode 100644
index 0000000..18715c9
--- /dev/null
+++ b/hs_err_pid32864.log
@@ -0,0 +1,224 @@
+#
+# There is insufficient memory for the Java Runtime Environment to continue.
+# Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap
+# Possible reasons:
+# The system is out of physical RAM or swap space
+# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
+# Possible solutions:
+# Reduce memory load on the system
+# Increase physical memory or swap space
+# Check if swap backing store is full
+# Decrease Java heap size (-Xmx/-Xms)
+# Decrease number of Java threads
+# Decrease Java thread stack sizes (-Xss)
+# Set larger code cache with -XX:ReservedCodeCacheSize=
+# JVM is running with Unscaled Compressed Oops mode in which the Java heap is
+# placed in the first 4GB address space. The Java Heap base address is the
+# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
+# to set the Java Heap base and to place the Java Heap above 4GB virtual address.
+# This output file may be truncated or incomplete.
+#
+# Out of Memory Error (allocation.cpp:44), pid=32864, tid=19104
+#
+# JRE version: (17.0.10+1) (build )
+# Java VM: OpenJDK 64-Bit Server VM (17.0.10+1-b1087.21, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
+# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
+#
+
+--------------- S U M M A R Y ------------
+
+Command Line: git4idea.http.GitAskPassApp Password for 'http://admin@124.156.157.155:8060':
+
+Host: 12th Gen Intel(R) Core(TM) i5-12400, 12 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.6807)
+Time: Thu Mar 12 21:03:44 2026 Windows 10 , 64 bit Build 19041 (10.0.19041.6807) elapsed time: 0.040186 seconds (0d 0h 0m 0s)
+
+--------------- T H R E A D ---------------
+
+Current thread (0x000001658e53e370): JavaThread "Unknown thread" [_thread_in_vm, id=19104, stack(0x00000057c7800000,0x00000057c7900000)]
+
+Stack: [0x00000057c7800000,0x00000057c7900000]
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+V [jvm.dll+0x688ac9]
+V [jvm.dll+0x84220a]
+V [jvm.dll+0x843e4e]
+V [jvm.dll+0x8444b3]
+V [jvm.dll+0x24ba8f]
+V [jvm.dll+0xa6ca3]
+V [jvm.dll+0x2de174]
+V [jvm.dll+0x812d3c]
+V [jvm.dll+0x3718e1]
+V [jvm.dll+0x7f18d6]
+V [jvm.dll+0x3f553f]
+V [jvm.dll+0x3f7171]
+C [jli.dll+0x528f]
+C [ucrtbase.dll+0x21bb2]
+C [KERNEL32.DLL+0x17374]
+C [ntdll.dll+0x4cc91]
+
+
+--------------- P R O C E S S ---------------
+
+Threads class SMR info:
+_java_thread_list=0x00007ffc476cef58, length=0, elements={
+}
+
+Java Threads: ( => current thread )
+
+Other Threads:
+
+=>0x000001658e53e370 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=19104, stack(0x00000057c7800000,0x00000057c7900000)]
+
+Threads with active compile tasks:
+
+VM state: not at safepoint (not fully initialized)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap address: 0x0000000000000000, size: 0 MB, Compressed Oops mode: 32-bit
+
+CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
+Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0
+
+GC Precious Log:
+<Empty>
+
+GC Heap History (0 events):
+No events
+
+Dll operation events (1 events):
+Event: 0.022 Loaded shared library D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\java.dll
+
+Deoptimization events (0 events):
+No events
+
+Classes unloaded (0 events):
+No events
+
+Classes redefined (0 events):
+No events
+
+Internal exceptions (0 events):
+No events
+
+VM Operations (0 events):
+No events
+
+Events (0 events):
+No events
+
+
+Dynamic libraries:
+0x00007ff78f5e0000 - 0x00007ff78f5ea000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\java.exe
+0x00007ffc97a90000 - 0x00007ffc97c88000 C:\windows\SYSTEM32\ntdll.dll
+0x00007ffc96950000 - 0x00007ffc96a12000 C:\windows\System32\KERNEL32.DLL
+0x00007ffc954c0000 - 0x00007ffc957b7000 C:\windows\System32\KERNELBASE.dll
+0x00007ffc953c0000 - 0x00007ffc954c0000 C:\windows\System32\ucrtbase.dll
+0x00007ffc73970000 - 0x00007ffc73987000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\jli.dll
+0x00007ffc46020000 - 0x00007ffc4603b000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\VCRUNTIME140.dll
+0x00007ffc96a20000 - 0x00007ffc96bbd000 C:\windows\System32\USER32.dll
+0x00007ffc95a70000 - 0x00007ffc95a92000 C:\windows\System32\win32u.dll
+0x00007ffc96770000 - 0x00007ffc9679b000 C:\windows\System32\GDI32.dll
+0x00007ffc7c980000 - 0x00007ffc7cc1b000 C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.6926_none_60b5a53971f8f7e6\COMCTL32.dll
+0x00007ffc95850000 - 0x00007ffc9596a000 C:\windows\System32\gdi32full.dll
+0x00007ffc979b0000 - 0x00007ffc97a4e000 C:\windows\System32\msvcrt.dll
+0x00007ffc952a0000 - 0x00007ffc9533d000 C:\windows\System32\msvcp_win.dll
+0x00007ffc964b0000 - 0x00007ffc964df000 C:\windows\System32\IMM32.DLL
+0x00007ffc7ce00000 - 0x00007ffc7ce0c000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\vcruntime140_1.dll
+0x00007ffc45f90000 - 0x00007ffc4601d000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\msvcp140.dll
+0x00007ffc46b90000 - 0x00007ffc47813000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\server\jvm.dll
+0x00007ffc96300000 - 0x00007ffc963b1000 C:\windows\System32\ADVAPI32.dll
+0x00007ffc95aa0000 - 0x00007ffc95b3f000 C:\windows\System32\sechost.dll
+0x00007ffc95bb0000 - 0x00007ffc95cd6000 C:\windows\System32\RPCRT4.dll
+0x00007ffc95110000 - 0x00007ffc95137000 C:\windows\System32\bcrypt.dll
+0x00007ffc94aa0000 - 0x00007ffc94aeb000 C:\windows\SYSTEM32\POWRPROF.dll
+0x00007ffc7e650000 - 0x00007ffc7e659000 C:\windows\SYSTEM32\WSOCK32.dll
+0x00007ffc96440000 - 0x00007ffc964ab000 C:\windows\System32\WS2_32.dll
+0x00007ffc8c070000 - 0x00007ffc8c097000 C:\windows\SYSTEM32\WINMM.dll
+0x00007ffc86640000 - 0x00007ffc8664a000 C:\windows\SYSTEM32\VERSION.dll
+0x00007ffc94a80000 - 0x00007ffc94a92000 C:\windows\SYSTEM32\UMPDC.dll
+0x00007ffc93950000 - 0x00007ffc93962000 C:\windows\SYSTEM32\kernel.appcore.dll
+0x00007ffc84790000 - 0x00007ffc8479a000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\jimage.dll
+0x00007ffc92cd0000 - 0x00007ffc92ed1000 C:\windows\SYSTEM32\DBGHELP.DLL
+0x00007ffc84730000 - 0x00007ffc84764000 C:\windows\SYSTEM32\dbgcore.DLL
+0x00007ffc957c0000 - 0x00007ffc95842000 C:\windows\System32\bcryptPrimitives.dll
+0x00007ffc61e80000 - 0x00007ffc61ea5000 D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\java.dll
+
+dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
+symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin;C:\windows\SYSTEM32;C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.6926_none_60b5a53971f8f7e6;D:\idea\IntelliJ IDEA 2023.3.5\jbr\bin\server
+
+VM Arguments:
+java_command: git4idea.http.GitAskPassApp Password for 'http://admin@124.156.157.155:8060':
+java_class_path (initial): D:/idea/IntelliJ IDEA 2023.3.5/plugins/vcs-git/lib/git4idea-rt.jar;D:/idea/IntelliJ IDEA 2023.3.5/lib/externalProcess-rt.jar
+Launcher Type: SUN_STANDARD
+
+[Global flags]
+ intx CICompilerCount = 4 {product} {ergonomic}
+ uint ConcGCThreads = 3 {product} {ergonomic}
+ uint G1ConcRefinementThreads = 10 {product} {ergonomic}
+ size_t G1HeapRegionSize = 2097152 {product} {ergonomic}
+ uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
+ size_t InitialHeapSize = 266338304 {product} {ergonomic}
+ size_t MarkStackSize = 4194304 {product} {ergonomic}
+ size_t MaxHeapSize = 4238344192 {product} {ergonomic}
+ size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
+ size_t MinHeapSize = 8388608 {product} {ergonomic}
+ uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic}
+ uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
+ uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic}
+ uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
+ bool SegmentedCodeCache = true {product} {ergonomic}
+ size_t SoftMaxHeapSize = 4238344192 {manageable} {ergonomic}
+ bool UseCompressedClassPointers = true {product lp64_product} {ergonomic}
+ bool UseCompressedOops = true {product lp64_product} {ergonomic}
+ bool UseG1GC = true {product} {ergonomic}
+ bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
+
+Logging:
+Log output configuration:
+ #0: stdout all=warning uptime,level,tags
+ #1: stderr all=off uptime,level,tags
+
+Environment Variables:
+JAVA_HOME=C:\Program Files\Java\jdk-1.8
+PATH=D:/Git/mingw64/libexec/git-core;D:/Git/mingw64/libexec/git-core;D:\Git\mingw64\bin;D:\Git\usr\bin;C:\Users\Administrator\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Java\jdk-17\bin;C:\Program Files\Java\jdk-17\jre\bin;D:\apache-maven-3.9.6\bin;D:\Git\cmd;C:\Redis\;D:\Program Files\nodejs\node_global;C:\Program Files (x86)\Common Files\NSEC\;C:\Program Files (x86)\Common Files\NSEC\x64;D:\Program Files\nodejs\;D:\Program Files\Erlang OTP\bin;D:\Program Files\Go\bin;D:\Program Files\cursor\resources\app\bin;d:\��װĿ¼\cursor\resources\app\codeBin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;D:\��װĿ¼\Microsoft VS Code\bin;D:\Program Files\nodejs\node_global;C:\Users\Administrator\AppData\Roaming\npm;C:\Program Files\Java\jdk-1.8\bin;C:\Users\Administrator\go\bin
+USERNAME=Administrator
+DISPLAY=:0.0
+LC_ALL=en_US.UTF-8
+TERM=cygwin
+TMPDIR=C:\Users\ADMINI~1\AppData\Local\Temp
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 151 Stepping 5, GenuineIntel
+TMP=C:\Users\ADMINI~1\AppData\Local\Temp
+TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
+
+
+
+Periodic native trim disabled
+
+JNI global refs:
+JNI global refs: 0, weak refs: 0
+
+JNI global refs memory usage: 0, weak refs: 0
+
+OOME stack traces (most recent first):
+Classloader memory used:
+
+
+--------------- S Y S T E M ---------------
+
+OS:
+ Windows 10 , 64 bit Build 19041 (10.0.19041.6807)
+OS uptime: 1 days 0:55 hours
+
+CPU: total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 151 stepping 5 microcode 0x32, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, clwb
+Processor Information for all 12 processors :
+ Max Mhz: 2500, Current Mhz: 2500, Mhz Limit: 2500
+
+Memory: 4k page, system-wide physical 16165M (2453M free)
+TotalPageFile size 46689M (AvailPageFile size 5M)
+current process WorkingSet (physical memory assigned to process): 10M, peak: 10M
+current process commit charge ("private bytes"): 15M, peak: 16M
+
+vm_info: OpenJDK 64-Bit Server VM (17.0.10+1-b1087.21) for windows-amd64 JRE (17.0.10+1-b1087.21), built on 2024-03-02 by "builduser" with MS VC++ 16.10 / 16.11 (VS2019)
+
+END.
diff --git a/target/classes/application.properties b/target/classes/application.properties
new file mode 100644
index 0000000..4812e0d
--- /dev/null
+++ b/target/classes/application.properties
@@ -0,0 +1,235 @@
+
+# ????? 61001/62000 ??
+#??vsftpd
+#1. service vsftpd restart
+#2. ??ifconfig????vsftpd?????
+#3. ???? ftp://??
+
+ftp.server.ip=127.0.0.1
+ftp.user=ftp_red
+ftp.pass=ftp_red
+ftp.server.http.prefix=https://ftp.zhonghenginvest.com/
+loca.images.dir=/www/wwwroot/ftp.zhonghenginvest.com/
+
+pdf.server.http.prefix=https://stockapdf.zhonghenginvest.com
+loca.pdf.dir=/www/wwwroot/stock.A.PDF
+pdf.template.dir=/www/wwwroot/ftp.zhonghenginvest.com/templates
+sina.single.stock.sort.proxy.url=http://127.0.0.1:7056/crypto/getStockSort.do?
+sina.single.stock.proxy.url=http://127.0.0.1:7056/crypto/getSinaStock?stockGid=
+
+#pdf.server.http.prefix=http://localhost:8099/imgs
+#loca.pdf.dir=D:/work/A-stock/agreement_pdf
+#pdf.template.dir=D:/work/A-stock/src/main/resources/templates
+#sina.single.stock.sort.proxy.url=http://localhost:7001/crypto/getStockSort.do?
+#sina.single.stock.proxy.url=http://localhost:7001/crypto/getSinaStock?stockGid=
+
+# redis config start
+redis1.ip=localhost
+redis1.port=6379
+redis1.pwd=
+redis1.timeout=10000
+#redis2.ip=47.52.34.37
+#redis2.port=6380
+redis.max.total=200
+redis.max.idle=200
+redis.min.idle=200
+redis.test.borrow=true
+redis.test.return=true
+redis.max.wait.millis=10000
+# redis config end
+
+#cookie config start
+user.cookie.name=USERTOKEN
+agent.cookie.name=AGENTTOKEN
+admin.cookie.name=admintoken
+
+agent.key.prefix=1
+admin.super.name=18916320007
+
+
+#?? ?? - ????
+admin.auth.email.subject=???? - ??????
+#?? ?? - ????
+admin.auth.email=navihold800@163.com
+#?? ?? - ???? 118318asd XY118318asd
+admin.auth.email.pwd=XY118318asd
+#cookie config end
+
+# close order task config start
+# ???? 50s ????????? 5s
+close.order.task.time.hour=2
+lock.timeout=50000
+# close order task config start
+user.password=abcd1234abcd1234
+#aliyun sms config
+sms.aliyun.accessKeyId=LTAI5tLaBd3vhEwTBR5NYxxF
+sms.aliyun.accessKeySecret=FGkyEpm7s8qIfqeRWmtN7bhZbovN6E
+
+#juhe api
+juhe.stock.key=e27571e4f5f2f07440bf4996d01d5770
+juhe.ip.key=e5ad6f81997d4f101cc3d17409e18d96
+#??juhe.ip.key1=ea84726df1d952b8271e118eca51be34//a86451534a6e72728b8cea430dabc633//e5ad6f81997d4f101cc3d17409e18d96//ea84726df1d952b8271e118eca51be34
+
+#juhe api end
+
+#site setting
+site.email.auth.url=/api/admin/authCharge.do
+site.pc.reg.url=/homes/#/register?code=
+site.m.reg.url=/wap/#/register?code=
+
+#??????
+#pc.refresh.time=3000
+
+
+# ?? API ??
+#sina.market.url=https://hq.sinajs.cn/rn=1520407404627&list=s_sh000001,s_sz399001,s_sz399006,s_sz399300,s_sz399005,s_sz399673
+sina.market.url=https://hq.sinajs.cn/rn=1520407404627&list=s_sh000001,s_sz399001,s_sz399006,s_sz399300,s_sz399005,s_sz399673,s_sz399106,s_sz399004,s_sz399100
+sina.single.market.url=https://hq.sinajs.cn/rn=1520407404627&list=s_
+
+sina.index.market.url=https://ws.api.cnyes.com/ws/api/v4/universal/quote?type=LITQ&column=L
+
+sina.single.stock.url=https://hq.sinajs.cn/list=
+
+#????
+sina.single.stock.introduction.url=https://quotes.sina.cn/cn/api/openapi.php/CompanyF10Service.getCompanyInformation?market=cn&symbol=
+nq.single.stock.url=http://192.168.10.5/stock/?type=
+sina.single.stock.min.url=http://image.sinajs.cn/newchart/min/n/
+sina.single.stock.day.url=http://image.sinajs.cn/newchart/daily/n/
+sina.single.stock.week.url=http://image.sinajs.cn/newchart/weekly/n/
+sina.single.stock.month.url=http://image.sinajs.cn/newchart/monthly/n/
+getUrl=http://192.168.10.3
+#????cookle
+#cookle=xq_a_token=d269ad4aee7ece063038900846f9541a7d0ead07
+cookle=xq_a_token=d269ad4aee7ece063038900846f9541a7ad07
+#????
+hk.stock.url = https://32.push2delay.eastmoney.com/api/qt/clist/get?pn=1&pz=9999&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m:128+t:3,m:128+t:4,m:128+t:1,m:128+t:2&fields=f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f19,f20,f21,f23,f24,f25,f26,f22,f33,f11,f62,f128,f136,f115,f152&_=
+hk.stock.introduction.url =https://datacenter.eastmoney.com/securities/api/data/v1/get?reportName=RPT_HKF10_INFO_ORGPROFILE&columns=SECUCODE,SECURITY_CODE,ORG_NAME,ORG_EN_ABBR,BELONG_INDUSTRY,FOUND_DATE,CHAIRMAN,SECRETARY,ACCOUNT_FIRM,REG_ADDRESS,ADDRESS,YEAR_SETTLE_DAY,EMP_NUM,ORG_TEL,ORG_FAX,ORG_EMAIL,ORG_WEB,ORG_PROFILE,REG_PLACE"eColumns=&filter=(SECUCODE=
+hk.index.url = https://56.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=9999&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f5&fs=m:124,m:125,m:305&fields=f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,f25,f26,f22,f33,f11,f62,f128,f136,f115,f152&_=
+hk.index.introduction.url = https://newsinfo.eastmoney.com/kuaixun/v2/api/Channel/5/0/0/50
+#????
+us.stock.url = https://1.push2.eastmoney.com/api/qt/clist/get?cb=jQuery1124024849404112285045_1668165974609&pn=1&pz=99999999&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f2&fs=m:105,m:106,m:107&fields=f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,f25,f26,f22,f33,f11,f62,f128,f136,f115,f152&_=
+us.stock.introduction.url =https://emweb.eastmoney.com/pc_usf10/CompanyInfo/PageAjax?fullCode=
+us.stock.buy.url = https://push2.eastmoney.com/api/qt/stock/details/get?fields1=f1,f2,f3,f4&fields2=f51,f52,f53,f54,f55&fltt=2&pos=-14&secid=
+us.index.url = https://56.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=999&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=i:100.NDX,i:100.DJIA,i:100.SPX&fields=f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,f25,f26,f22,f33,f11,f62,f128,f136,f115,f152,f124,f107&_=
+
+#æ¹åç°ä»·
+#changePrice.url =http://116.124.132.181/stock/base/cx_gp
+#????
+home.index.recommend.url=https://guba.sina.cn/api/?s=community&a=get_hot_stock_list&type=cn&num=20&page=1&platform=ios&version=6.10.0
+#é¾èæ¦
+longhu.url =https://datacenter-web.eastmoney.com/api/data/v1/get?&sortColumns=SECURITY_CODE%2CTRADE_DATE&sortTypes=1%2C-1&pageSize=999&pageNumber=1&reportName=RPT_DAILYBILLBOARD_DETAILSNEW&columns=SECURITY_CODE%2CSECUCODE%2CSECURITY_NAME_ABBR%2CTRADE_DATE%2CEXPLAIN%2CCLOSE_PRICE%2CCHANGE_RATE%2CBILLBOARD_NET_AMT%2CBILLBOARD_BUY_AMT%2CBILLBOARD_SELL_AMT%2CBILLBOARD_DEAL_AMT%2CACCUM_AMOUNT%2CDEAL_NET_RATIO%2CDEAL_AMOUNT_RATIO%2CTURNOVERRATE%2CFREE_MARKET_CAP%2CEXPLANATION%2CD1_CLOSE_ADJCHRATE%2CD2_CLOSE_ADJCHRATE%2CD5_CLOSE_ADJCHRATE%2CD10_CLOSE_ADJCHRATE%2CSECURITY_TYPE_CODE&source=WEB&client=WEB&filter=(TRADE_DATE%3C%3D%272022-12-02%27)(TRADE_DATE%3E%3D%272022-12-02%27)
+#å大æäº¤è¡ 沪 1 æ·±3 1%22)
+top10.url =https://datacenter-web.eastmoney.com/api/data/v1/get?&sortColumns=TRADE_DATE%2CRANK&sortTypes=-1%2C1&pageSize=10&pageNumber=1&reportName=RPT_MUTUAL_TOP10DEAL&columns=ALL&source=WEB&client=WEB&filter=(MUTUAL_TYPE%3D%2200
+#æ¯æ¥åç
+stop.url =https://datacenter-web.eastmoney.com/api/data/v1/get?&sortColumns=SUSPEND_START_DATE&sortTypes=-1&pageSize=500&pageNumber=1&reportName=RPT_CUSTOM_SUSPEND_DATA_INTERFACE&columns=ALL&source=WEB&client=WEB&filter=(MARKET%3D%22%E5%85%A8%E9%83%A8%22)(DATETIME%3D%272022-12-02%27)
+#æ¶¨åæ¿
+ztb.url =https://push2ex.eastmoney.com/getTopicZTPool?&ut=7eea3edcaed734bea9cbfc24409ed989&dpt=wz.ztzt&Pageindex=0&pagesize=999&sort=fbt%3Aasc&date=20221202&_=
+
+
+#åè±é¡ºæ¶¨è·å¹
å¸åºæ¦åµ
+ths.market.zdfb=http://q.10jqka.com.cn/api.php?t=indexflash&
+dfcf.market.zdfb=http://push2.eastmoney.com/api/qt/ulist/get?fltt=1&invt=2&fields=f12%2Cf13%2Cf14%2Cf1%2Cf2%2Cf4%2Cf3%2Cf152%2Cf6%2Cf104%2Cf105%2Cf106&secids=1.000001%2C0.399001&ut=fa5fd1943c7b386f172d6893dbfba10b&pn=1&np=1&wbp2u=%7C0%7C0%7C0%7Cweb&_=1664682077781
+
+#䏿¹è´¢å¯æ°è¡æ¥åæ¥å£
+dfcf.new.stock.url=https://datacenter-web.eastmoney.com/api/data/v1/get?sortColumns=APPLY_DATE,SECURITY_CODE&sortTypes=-1,-1&pageSize=35&pageNumber=1&reportName=RPTA_APP_IPOAPPLY&columns=SECURITY_CODE,SECURITY_NAME,TRADE_MARKET_CODE,APPLY_CODE,TRADE_MARKET,MARKET_TYPE,ORG_TYPE,ISSUE_NUM,ONLINE_ISSUE_NUM,OFFLINE_PLACING_NUM,TOP_APPLY_MARKETCAP,PREDICT_ONFUND_UPPER,ONLINE_APPLY_UPPER,PREDICT_ONAPPLY_UPPER,ISSUE_PRICE,LATELY_PRICE,CLOSE_PRICE,APPLY_DATE,BALLOT_NUM_DATE,BALLOT_PAY_DATE,LISTING_DATE,AFTER_ISSUE_PE"eColumns=f2~01~SECURITY_CODE~NEWEST_PRICE"eType=0&filter=(APPLY_DATE%3E%272022-06-20%27)&source=WEB&client=WEB
+#æ°æµªè´¢ç»æ¶¨è·å¹
æ¥è¯¢æ¥å£
+sina.market.zdf.url=https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData?
+
+
+#????
+sina.single.futures.url=https://hq.sinajs.cn/list=
+sina.single.futures.introduction.url=https://gu.sina.cn/ft/api/openapi.php/FuturesService.getInfoBySymbol?symbol=
+#????
+sina.single.exchange.url=https://hq.sinajs.cn/list=
+
+# ????K?-???
+sina.k.min.url=http://money.finance.sina.com.cn/quotes_service/api/json_v2.php/CN_MarketData.getKLineData
+sina.k.min.max.size=200
+# ????K?-???
+sina.futures.k.min.url=https://gu.sina.cn/ft/api/jsonp.php/var%20_XAU_{time}_{stamp}=/GlobalService.getMink?symbol={code}&type={time}
+sina.futures.k.min.max.size=50
+# ????K?-???
+sina.futures.day.min.url=https://stock2.finance.sina.com.cn/futures/api/jsonp.php/var%20_{code}{date}=/GlobalFuturesService.getGlobalFuturesDailyKLine?symbol={code}&_={date}&source=web
+sina.futures.day.min.max.size=50
+# ????K?-???
+sina.index.k.min.url=https://quotes.sina.cn/cn/api/jsonp_v2.php/var%20_{code}_{time}_{stamp}=/CN_MarketDataService.getKLineData?symbol={code}&scale={time}&ma=no&datalen=1023
+sina.index.k.min.max.size=50
+# ????K?-???
+sina.index.day.min.url=http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayqfq¶m={code},day,,,50,qfq&r=0.8531244563261586
+sina.index.day.min.max.size=50
+# ??K?-??
+qq.k.min.url=http://data.gtimg.cn/flashdata/hushen/daily/20/code.js?visitDstTime=1
+qq.k.min.max.size=50
+#??????????
+qq.month.min.url=http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?param=sz300750,month,,,320,qfq
+#???API
+sina.TwMarket.url=https://ws.api.cnyes.com/ws/api/v1/quote/quotes/
+sina.TwMarket.list.url=http://b.workingman.icu/stock/api/stock/getStockType?exchange=TAI
+sina.StockType.list.url=http://b.workingman.icu/stock/api/stock/getStockType?exchange=
+sina.StockCategory.list.url=http://b.workingman.icu/stock/api/stock/getWapStocks
+
+http.proxyHost =
+http.proxyPort =
+https.proxyHost =
+https.proxyPort =
+
+# ????
+#????
+juhe1.pay.callbackurl=http://xx.com
+#??????
+juhe1.pay.notifyurl=http://xx.com
+
+#Fly ??
+fly.pay.merchantid=SLPNXG
+fly.pay.token=0a17a92f45816a88431fa326b3b61baf
+
+#Cmc ??
+#??????
+cmc.pay.key=0a17a92f45816a88431fa326b3b61baf
+#????appid
+cmc.pay.uid=74021809
+#??????
+cmc.pay.return_url=https://www.bldzb666888.com/homes/#/rechargelist
+#??????
+cmc.pay.notify_url=https://www.bldzb666888.com/api/pay/juhenewpayNotify.do
+#???????
+cmc.pay.url=http://pay.phu889.com/api.php/webRequest/tradePay
+
+
+
+fly.pay.serverbackurl=http://www.honghoo.top/api/pay/flyNotify.do
+fly.pay.callbackurl=http://www.honghoo.top/wap/#/user
+
+fly.pay.payurl=https://zf.flyotcpay.com/payment/
+
+
+#????
+#???
+wj.sms.uid=yhi1993
+#??
+wj.sms.key=5802bf8c5e3c5bc46c48
+#??gbk/utf8
+wj.sms.coding=utf8
+#çä¿¡å®
+#dxb.sms.USERNAME=banbao
+#dxb.sms.PASSWORD=a705312041274b72b77d43b0ce136913
+
+
+
+#?????
+# Ococn ??
+ococn.pay.pid=185583446
+ococn.pay.key=JcMJIbNUAcq0GyMf
+ococn.pay.url=https://pay.ococn.cn/submit.php
+ococn.pay.sitename=
+ococn.pay.name=账户充值
+ococn.pay.frontend_redirect=https://www.zhonghenginvest.com/#/user
+
+website.domain.url=https://api.zhonghenginvest.com
+frontend.domain.url=https://www.zhonghenginvest.com
+website.token=0DC8F78384C7AAFF3192A9C60A473FEE7F89C62888689616B98A06910E86B510
+
+#?????
+news.main.url=http://eminfo.eastmoney.com
+
+spring.main.allow-circular-references=true
diff --git a/target/classes/application.yml b/target/classes/application.yml
new file mode 100644
index 0000000..8180f2f
--- /dev/null
+++ b/target/classes/application.yml
@@ -0,0 +1,152 @@
+# 数据源配置
+# 开发环境配置
+server:
+ # 服务器的HTTP端口,默认为8090
+ port: 8099
+ tomcat:
+ # tomcat的URI编码
+ uri-encoding: UTF-8
+ # 连接数满后的排队数,默认为100
+ accept-count: 1000
+ threads:
+ # tomcat最大线程数,默认为200
+ max: 800
+ # Tomcat启动初始化的线程数,默认值10
+ min-spare: 100
+
+# 日志配置
+logging:
+ level:
+ com.ruoyi: debug
+ org.springframework: warn
+
+# token配置
+token:
+ # 令牌自定义标识
+ header: Authorization
+ # 令牌密钥
+ secret: abcdefghijklmnopqrstuvwxyz
+ # 令牌有效期(默认30分钟)
+ expireTime: 30
+
+# MyBatis配置
+mybatis:
+ # 搜索指定包别名
+ typeAliasesPackage: com.nq.pojo
+ # 配置mapper的扫描,找到所有的mapper.xml映射文件
+ mapperLocations: classpath*:mapper/*Mapper.xml
+ # 加载全局的配置文件
+ configLocation: classpath:mybatis/mybatis-config.xml
+
+# PageHelper分页插件
+pagehelper:
+ helperDialect: mysql
+ supportMethodsArguments: true
+ params: count=countSql
+wallet:
+ isHotWallet: false
+# Swagger配置
+swagger:
+ # 是否开启swagger
+ enabled: true
+ # 请求前缀
+ pathMapping: /dev-api
+
+# 防止XSS攻击
+xss:
+ # 过滤开关
+ enabled: true
+ # 排除链接(多个用逗号分隔)
+ excludes: /system/notice
+ # 匹配链接
+ urlPatterns: /system/*,/monitor/*,/tool/*
+spring:
+ profiles:
+ active: druid
+ # 文件上传
+ servlet:
+ multipart:
+ # 单个文件大小
+ max-file-size: 10MB
+ # 设置总上传的文件大小
+ max-request-size: 20MB
+ # 服务模块
+ devtools:
+ restart:
+ # 热部署开关
+ enabled: true
+ task:
+ scheduling:
+ pool:
+ size: 8 #配置Scheduled定时任务为多线程执行
+ # redis 配置
+ redis:
+ # 地址
+ host: localhost
+ # 端口,默认为6379
+ port: 6379
+ # 数据库索引
+ database: 0
+ # 密码
+ password:
+ # 连接超时时间
+ timeout: 10s
+ lettuce:
+ pool:
+ # 连接池中的最小空闲连接
+ min-idle: 100
+ # 连接池中的最大空闲连接
+ max-idle: 300
+ # 连接池的最大数据库连接数
+ max-active: 300
+ # #连接池最大阻塞等待时间(使用负值表示没有限制)
+ max-wait: -1ms
+ datasource:
+ type: com.alibaba.druid.pool.DruidDataSource
+ driverClassName: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://127.0.0.1:3306/stock_hongta_101?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+# username: root
+# password: 123456
+ url: jdbc:mysql://127.0.0.1:3306/mix?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ username: mix
+ password: PsRwRm5nGbtS22Xp
+ druid:
+ # 初始连接数
+ initialSize: 5
+ # 最小连接池数量
+ minIdle: 10
+ # 最大连接池数量
+ maxActive: 20
+ # 配置获取连接等待超时的时间
+ maxWait: 60000
+ # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+ timeBetweenEvictionRunsMillis: 60000
+ # 配置一个连接在池中最小生存的时间,单位是毫秒
+ minEvictableIdleTimeMillis: 300000
+ # 配置一个连接在池中最大生存的时间,单位是毫秒
+ maxEvictableIdleTimeMillis: 900000
+ # 配置检测连接是否有效
+ validationQuery: SELECT 1 FROM DUAL
+ testWhileIdle: true
+ testOnBorrow: false
+ testOnReturn: false
+ webStatFilter:
+ enabled: true
+ statViewServlet:
+ enabled: true
+ # 设置白名单,不填则允许所有访问
+ allow:
+ url-pattern: /druid/*
+ # 控制台管理用户名和密码
+ login-username: Greysparrow
+ login-password: 123456
+ filter:
+ stat:
+ enabled: true
+ # 慢SQL记录
+ log-slow-sql: true
+ slow-sql-millis: 1000
+ merge-sql: true
+ wall:
+ config:
+ multi-statement-allow: false
diff --git a/target/classes/com/nq/StockApplication.class b/target/classes/com/nq/StockApplication.class
new file mode 100644
index 0000000..827780c
--- /dev/null
+++ b/target/classes/com/nq/StockApplication.class
Binary files differ
diff --git a/target/classes/com/nq/annotation/SameUrlData.class b/target/classes/com/nq/annotation/SameUrlData.class
new file mode 100644
index 0000000..4dd6172
--- /dev/null
+++ b/target/classes/com/nq/annotation/SameUrlData.class
Binary files differ
diff --git a/target/classes/com/nq/common/CmcPayConfig.class b/target/classes/com/nq/common/CmcPayConfig.class
new file mode 100644
index 0000000..e5fa72d
--- /dev/null
+++ b/target/classes/com/nq/common/CmcPayConfig.class
Binary files differ
diff --git a/target/classes/com/nq/common/Const.class b/target/classes/com/nq/common/Const.class
new file mode 100644
index 0000000..24ea76f
--- /dev/null
+++ b/target/classes/com/nq/common/Const.class
Binary files differ
diff --git a/target/classes/com/nq/common/PayConst.class b/target/classes/com/nq/common/PayConst.class
new file mode 100644
index 0000000..3acac0b
--- /dev/null
+++ b/target/classes/com/nq/common/PayConst.class
Binary files differ
diff --git a/target/classes/com/nq/common/ResponseCode.class b/target/classes/com/nq/common/ResponseCode.class
new file mode 100644
index 0000000..4e46c1b
--- /dev/null
+++ b/target/classes/com/nq/common/ResponseCode.class
Binary files differ
diff --git a/target/classes/com/nq/common/ServerResponse.class b/target/classes/com/nq/common/ServerResponse.class
new file mode 100644
index 0000000..729e8e4
--- /dev/null
+++ b/target/classes/com/nq/common/ServerResponse.class
Binary files differ
diff --git a/target/classes/com/nq/common/StockFuturesConst.class b/target/classes/com/nq/common/StockFuturesConst.class
new file mode 100644
index 0000000..a46b36a
--- /dev/null
+++ b/target/classes/com/nq/common/StockFuturesConst.class
Binary files differ
diff --git a/target/classes/com/nq/common/StockIndexConst.class b/target/classes/com/nq/common/StockIndexConst.class
new file mode 100644
index 0000000..633a896
--- /dev/null
+++ b/target/classes/com/nq/common/StockIndexConst.class
Binary files differ
diff --git a/target/classes/com/nq/common/converter/MyJsonMapper.class b/target/classes/com/nq/common/converter/MyJsonMapper.class
new file mode 100644
index 0000000..e8a0220
--- /dev/null
+++ b/target/classes/com/nq/common/converter/MyJsonMapper.class
Binary files differ
diff --git a/target/classes/com/nq/common/filter/ExceptionResolver.class b/target/classes/com/nq/common/filter/ExceptionResolver.class
new file mode 100644
index 0000000..d4eb7a7
--- /dev/null
+++ b/target/classes/com/nq/common/filter/ExceptionResolver.class
Binary files differ
diff --git a/target/classes/com/nq/common/interceptor/ApiAdminAuthorityInterceptor.class b/target/classes/com/nq/common/interceptor/ApiAdminAuthorityInterceptor.class
new file mode 100644
index 0000000..4540aba
--- /dev/null
+++ b/target/classes/com/nq/common/interceptor/ApiAdminAuthorityInterceptor.class
Binary files differ
diff --git a/target/classes/com/nq/common/interceptor/ApiAgentAuthorityInterceptor.class b/target/classes/com/nq/common/interceptor/ApiAgentAuthorityInterceptor.class
new file mode 100644
index 0000000..4762683
--- /dev/null
+++ b/target/classes/com/nq/common/interceptor/ApiAgentAuthorityInterceptor.class
Binary files differ
diff --git a/target/classes/com/nq/common/interceptor/ApiUserAuthorityInterceptor.class b/target/classes/com/nq/common/interceptor/ApiUserAuthorityInterceptor.class
new file mode 100644
index 0000000..cfb1a05
--- /dev/null
+++ b/target/classes/com/nq/common/interceptor/ApiUserAuthorityInterceptor.class
Binary files differ
diff --git a/target/classes/com/nq/config/GoogleCodeConfig.class b/target/classes/com/nq/config/GoogleCodeConfig.class
new file mode 100644
index 0000000..d7ee73c
--- /dev/null
+++ b/target/classes/com/nq/config/GoogleCodeConfig.class
Binary files differ
diff --git a/target/classes/com/nq/config/MyBatisConfig.class b/target/classes/com/nq/config/MyBatisConfig.class
new file mode 100644
index 0000000..959935b
--- /dev/null
+++ b/target/classes/com/nq/config/MyBatisConfig.class
Binary files differ
diff --git a/target/classes/com/nq/config/MyCorsFilter.class b/target/classes/com/nq/config/MyCorsFilter.class
new file mode 100644
index 0000000..7d39d0c
--- /dev/null
+++ b/target/classes/com/nq/config/MyCorsFilter.class
Binary files differ
diff --git a/target/classes/com/nq/config/ScheduleConfig.class b/target/classes/com/nq/config/ScheduleConfig.class
new file mode 100644
index 0000000..3204966
--- /dev/null
+++ b/target/classes/com/nq/config/ScheduleConfig.class
Binary files differ
diff --git a/target/classes/com/nq/config/StockPoll.class b/target/classes/com/nq/config/StockPoll.class
new file mode 100644
index 0000000..12ce7d0
--- /dev/null
+++ b/target/classes/com/nq/config/StockPoll.class
Binary files differ
diff --git a/target/classes/com/nq/config/StockTask.class b/target/classes/com/nq/config/StockTask.class
new file mode 100644
index 0000000..3117de1
--- /dev/null
+++ b/target/classes/com/nq/config/StockTask.class
Binary files differ
diff --git a/target/classes/com/nq/config/WebMvcConfig.class b/target/classes/com/nq/config/WebMvcConfig.class
new file mode 100644
index 0000000..723ca05
--- /dev/null
+++ b/target/classes/com/nq/config/WebMvcConfig.class
Binary files differ
diff --git a/target/classes/com/nq/controller/AdminApiController.class b/target/classes/com/nq/controller/AdminApiController.class
new file mode 100644
index 0000000..83f0702
--- /dev/null
+++ b/target/classes/com/nq/controller/AdminApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/AgentApiController.class b/target/classes/com/nq/controller/AgentApiController.class
new file mode 100644
index 0000000..cde9988
--- /dev/null
+++ b/target/classes/com/nq/controller/AgentApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/ArticleApiController.class b/target/classes/com/nq/controller/ArticleApiController.class
new file mode 100644
index 0000000..82ed5f3
--- /dev/null
+++ b/target/classes/com/nq/controller/ArticleApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/ImageController.class b/target/classes/com/nq/controller/ImageController.class
new file mode 100644
index 0000000..393bcd1
--- /dev/null
+++ b/target/classes/com/nq/controller/ImageController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/PayApiController.class b/target/classes/com/nq/controller/PayApiController.class
new file mode 100644
index 0000000..c1cbb6b
--- /dev/null
+++ b/target/classes/com/nq/controller/PayApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/RealTimeController.class b/target/classes/com/nq/controller/RealTimeController.class
new file mode 100644
index 0000000..1bd2e97
--- /dev/null
+++ b/target/classes/com/nq/controller/RealTimeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/SiteApiController.class b/target/classes/com/nq/controller/SiteApiController.class
new file mode 100644
index 0000000..d5c8219
--- /dev/null
+++ b/target/classes/com/nq/controller/SiteApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/SiteNewsController.class b/target/classes/com/nq/controller/SiteNewsController.class
new file mode 100644
index 0000000..b1adeae
--- /dev/null
+++ b/target/classes/com/nq/controller/SiteNewsController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/SmsApiController.class b/target/classes/com/nq/controller/SmsApiController.class
new file mode 100644
index 0000000..f3f9f88
--- /dev/null
+++ b/target/classes/com/nq/controller/SmsApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/StockApiController.class b/target/classes/com/nq/controller/StockApiController.class
new file mode 100644
index 0000000..e9bcb70
--- /dev/null
+++ b/target/classes/com/nq/controller/StockApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/StockFuturesApiController.class b/target/classes/com/nq/controller/StockFuturesApiController.class
new file mode 100644
index 0000000..676236d
--- /dev/null
+++ b/target/classes/com/nq/controller/StockFuturesApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/StockIndexApiController.class b/target/classes/com/nq/controller/StockIndexApiController.class
new file mode 100644
index 0000000..2f5ac47
--- /dev/null
+++ b/target/classes/com/nq/controller/StockIndexApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/UserApiController.class b/target/classes/com/nq/controller/UserApiController.class
new file mode 100644
index 0000000..4ae8ce0
--- /dev/null
+++ b/target/classes/com/nq/controller/UserApiController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/VerifyCodeController.class b/target/classes/com/nq/controller/VerifyCodeController.class
new file mode 100644
index 0000000..906e9f3
--- /dev/null
+++ b/target/classes/com/nq/controller/VerifyCodeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentCashDetailController.class b/target/classes/com/nq/controller/agent/AgentCashDetailController.class
new file mode 100644
index 0000000..12d9746
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentCashDetailController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentController.class b/target/classes/com/nq/controller/agent/AgentController.class
new file mode 100644
index 0000000..453ae63
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentFuturesPositionController.class b/target/classes/com/nq/controller/agent/AgentFuturesPositionController.class
new file mode 100644
index 0000000..d5d6f30
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentFuturesPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentIndexPositionController.class b/target/classes/com/nq/controller/agent/AgentIndexPositionController.class
new file mode 100644
index 0000000..be1150c
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentIndexPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentNewStockController.class b/target/classes/com/nq/controller/agent/AgentNewStockController.class
new file mode 100644
index 0000000..c71df5b
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentNewStockController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentPositionController.class b/target/classes/com/nq/controller/agent/AgentPositionController.class
new file mode 100644
index 0000000..4283d33
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentRechargeController.class b/target/classes/com/nq/controller/agent/AgentRechargeController.class
new file mode 100644
index 0000000..f613629
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentRechargeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentUserController.class b/target/classes/com/nq/controller/agent/AgentUserController.class
new file mode 100644
index 0000000..287c2e4
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentUserController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/agent/AgentWithdrawController.class b/target/classes/com/nq/controller/agent/AgentWithdrawController.class
new file mode 100644
index 0000000..13994ce
--- /dev/null
+++ b/target/classes/com/nq/controller/agent/AgentWithdrawController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminAgentController.class b/target/classes/com/nq/controller/backend/AdminAgentController.class
new file mode 100644
index 0000000..1d88f53
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminAgentController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminCashDetailController.class b/target/classes/com/nq/controller/backend/AdminCashDetailController.class
new file mode 100644
index 0000000..bc171fe
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminCashDetailController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminController.class b/target/classes/com/nq/controller/backend/AdminController.class
new file mode 100644
index 0000000..d923221
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminFundsApplyController.class b/target/classes/com/nq/controller/backend/AdminFundsApplyController.class
new file mode 100644
index 0000000..1032f74
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminFundsApplyController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminFundsDealerInstitutionsController.class b/target/classes/com/nq/controller/backend/AdminFundsDealerInstitutionsController.class
new file mode 100644
index 0000000..2ccdb20
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminFundsDealerInstitutionsController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminFundsSettingController.class b/target/classes/com/nq/controller/backend/AdminFundsSettingController.class
new file mode 100644
index 0000000..89dcbd1
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminFundsSettingController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminFuturesPositionController.class b/target/classes/com/nq/controller/backend/AdminFuturesPositionController.class
new file mode 100644
index 0000000..7618324
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminFuturesPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminIndexPositionController.class b/target/classes/com/nq/controller/backend/AdminIndexPositionController.class
new file mode 100644
index 0000000..2e1070a
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminIndexPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminLogsController.class b/target/classes/com/nq/controller/backend/AdminLogsController.class
new file mode 100644
index 0000000..bfedc0d
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminLogsController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminNewStockController.class b/target/classes/com/nq/controller/backend/AdminNewStockController.class
new file mode 100644
index 0000000..d5c7420
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminNewStockController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminPositionController.class b/target/classes/com/nq/controller/backend/AdminPositionController.class
new file mode 100644
index 0000000..d120d83
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminRechargeController.class b/target/classes/com/nq/controller/backend/AdminRechargeController.class
new file mode 100644
index 0000000..c378ab2
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminRechargeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteArticleController.class b/target/classes/com/nq/controller/backend/AdminSiteArticleController.class
new file mode 100644
index 0000000..1e916d0
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteArticleController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteBannerController.class b/target/classes/com/nq/controller/backend/AdminSiteBannerController.class
new file mode 100644
index 0000000..2c7d05e
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteBannerController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteFuturesSettingController.class b/target/classes/com/nq/controller/backend/AdminSiteFuturesSettingController.class
new file mode 100644
index 0000000..6bcb743
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteFuturesSettingController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteIndexSettingController.class b/target/classes/com/nq/controller/backend/AdminSiteIndexSettingController.class
new file mode 100644
index 0000000..a49e8ff
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteIndexSettingController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteInfoController.class b/target/classes/com/nq/controller/backend/AdminSiteInfoController.class
new file mode 100644
index 0000000..2bfc749
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteInfoController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSitePayController.class b/target/classes/com/nq/controller/backend/AdminSitePayController.class
new file mode 100644
index 0000000..0473716
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSitePayController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteProductController.class b/target/classes/com/nq/controller/backend/AdminSiteProductController.class
new file mode 100644
index 0000000..dcbf6a8
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteProductController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminSiteSettingController.class b/target/classes/com/nq/controller/backend/AdminSiteSettingController.class
new file mode 100644
index 0000000..f50e2a5
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminSiteSettingController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockCoinController.class b/target/classes/com/nq/controller/backend/AdminStockCoinController.class
new file mode 100644
index 0000000..3ae66b1
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockCoinController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockController.class b/target/classes/com/nq/controller/backend/AdminStockController.class
new file mode 100644
index 0000000..956671a
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockDz.class b/target/classes/com/nq/controller/backend/AdminStockDz.class
new file mode 100644
index 0000000..b5be524
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockDz.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockFuturesController.class b/target/classes/com/nq/controller/backend/AdminStockFuturesController.class
new file mode 100644
index 0000000..79fa694
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockFuturesController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockIndexController.class b/target/classes/com/nq/controller/backend/AdminStockIndexController.class
new file mode 100644
index 0000000..2979fa5
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockIndexController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminStockSubscribeController.class b/target/classes/com/nq/controller/backend/AdminStockSubscribeController.class
new file mode 100644
index 0000000..c9caa60
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminStockSubscribeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminUserController.class b/target/classes/com/nq/controller/backend/AdminUserController.class
new file mode 100644
index 0000000..91b36bd
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminUserController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/backend/AdminWithDrawController.class b/target/classes/com/nq/controller/backend/AdminWithDrawController.class
new file mode 100644
index 0000000..ef7a014
--- /dev/null
+++ b/target/classes/com/nq/controller/backend/AdminWithDrawController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserBankController.class b/target/classes/com/nq/controller/protol/UserBankController.class
new file mode 100644
index 0000000..315ce35
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserBankController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserCashDetailController.class b/target/classes/com/nq/controller/protol/UserCashDetailController.class
new file mode 100644
index 0000000..48c5ae4
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserCashDetailController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserController.class b/target/classes/com/nq/controller/protol/UserController.class
new file mode 100644
index 0000000..8c2c5a9
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserFundsController.class b/target/classes/com/nq/controller/protol/UserFundsController.class
new file mode 100644
index 0000000..06a98c9
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserFundsController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserFuturesPositionController.class b/target/classes/com/nq/controller/protol/UserFuturesPositionController.class
new file mode 100644
index 0000000..a36d73a
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserFuturesPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserIndexPositionController.class b/target/classes/com/nq/controller/protol/UserIndexPositionController.class
new file mode 100644
index 0000000..3bf6566
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserIndexPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserOptionController.class b/target/classes/com/nq/controller/protol/UserOptionController.class
new file mode 100644
index 0000000..04d3871
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserOptionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserPayController.class b/target/classes/com/nq/controller/protol/UserPayController.class
new file mode 100644
index 0000000..1567d3a
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserPayController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserPositionController.class b/target/classes/com/nq/controller/protol/UserPositionController.class
new file mode 100644
index 0000000..6ce6775
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserPositionController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserRechargeController.class b/target/classes/com/nq/controller/protol/UserRechargeController.class
new file mode 100644
index 0000000..dfea202
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserRechargeController.class
Binary files differ
diff --git a/target/classes/com/nq/controller/protol/UserWithdrawController.class b/target/classes/com/nq/controller/protol/UserWithdrawController.class
new file mode 100644
index 0000000..c6cc630
--- /dev/null
+++ b/target/classes/com/nq/controller/protol/UserWithdrawController.class
Binary files differ
diff --git a/target/classes/com/nq/dao/AgentAgencyFeeMapper.class b/target/classes/com/nq/dao/AgentAgencyFeeMapper.class
new file mode 100644
index 0000000..566c618
--- /dev/null
+++ b/target/classes/com/nq/dao/AgentAgencyFeeMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/AgentDistributionUserMapper.class b/target/classes/com/nq/dao/AgentDistributionUserMapper.class
new file mode 100644
index 0000000..28393c3
--- /dev/null
+++ b/target/classes/com/nq/dao/AgentDistributionUserMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/AgentUserMapper.class b/target/classes/com/nq/dao/AgentUserMapper.class
new file mode 100644
index 0000000..602c64d
--- /dev/null
+++ b/target/classes/com/nq/dao/AgentUserMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/ContractImageMapper.class b/target/classes/com/nq/dao/ContractImageMapper.class
new file mode 100644
index 0000000..1de5491
--- /dev/null
+++ b/target/classes/com/nq/dao/ContractImageMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/ConvertBondApplyMapper.class b/target/classes/com/nq/dao/ConvertBondApplyMapper.class
new file mode 100644
index 0000000..bbd8d07
--- /dev/null
+++ b/target/classes/com/nq/dao/ConvertBondApplyMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/ConvertBondMapper.class b/target/classes/com/nq/dao/ConvertBondMapper.class
new file mode 100644
index 0000000..64ad5de
--- /dev/null
+++ b/target/classes/com/nq/dao/ConvertBondMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsAppendMapper.class b/target/classes/com/nq/dao/FundsAppendMapper.class
new file mode 100644
index 0000000..a7fdbee
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsAppendMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsApplyMapper.class b/target/classes/com/nq/dao/FundsApplyMapper.class
new file mode 100644
index 0000000..11e1c14
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsApplyMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsDealerInstitutionsMapper.class b/target/classes/com/nq/dao/FundsDealerInstitutionsMapper.class
new file mode 100644
index 0000000..d866af5
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsDealerInstitutionsMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsLeverMapper.class b/target/classes/com/nq/dao/FundsLeverMapper.class
new file mode 100644
index 0000000..4e9cb0a
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsLeverMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsSecuritiesInfoMapper.class b/target/classes/com/nq/dao/FundsSecuritiesInfoMapper.class
new file mode 100644
index 0000000..5f3f519
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsSecuritiesInfoMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsSettingMapper.class b/target/classes/com/nq/dao/FundsSettingMapper.class
new file mode 100644
index 0000000..4e51408
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsSettingMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/FundsTradingAccountMapper.class b/target/classes/com/nq/dao/FundsTradingAccountMapper.class
new file mode 100644
index 0000000..c419ca7
--- /dev/null
+++ b/target/classes/com/nq/dao/FundsTradingAccountMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/RealTimeMapper.class b/target/classes/com/nq/dao/RealTimeMapper.class
new file mode 100644
index 0000000..ccd0e60
--- /dev/null
+++ b/target/classes/com/nq/dao/RealTimeMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteAdminIndexMapper.class b/target/classes/com/nq/dao/SiteAdminIndexMapper.class
new file mode 100644
index 0000000..177dc59
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteAdminIndexMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteAdminMapper.class b/target/classes/com/nq/dao/SiteAdminMapper.class
new file mode 100644
index 0000000..680a5ac
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteAdminMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteAmtTransLogMapper.class b/target/classes/com/nq/dao/SiteAmtTransLogMapper.class
new file mode 100644
index 0000000..1fa2797
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteAmtTransLogMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteArticleMapper.class b/target/classes/com/nq/dao/SiteArticleMapper.class
new file mode 100644
index 0000000..a30c736
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteArticleMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteBannerMapper.class b/target/classes/com/nq/dao/SiteBannerMapper.class
new file mode 100644
index 0000000..4e814a2
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteBannerMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteFuturesSettingMapper.class b/target/classes/com/nq/dao/SiteFuturesSettingMapper.class
new file mode 100644
index 0000000..621cbc9
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteFuturesSettingMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteIndexSettingMapper.class b/target/classes/com/nq/dao/SiteIndexSettingMapper.class
new file mode 100644
index 0000000..d7bc3de
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteIndexSettingMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteInfoMapper.class b/target/classes/com/nq/dao/SiteInfoMapper.class
new file mode 100644
index 0000000..16d4f06
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteInfoMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteLoginLogMapper.class b/target/classes/com/nq/dao/SiteLoginLogMapper.class
new file mode 100644
index 0000000..a5a6273
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteLoginLogMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteMessageMapper.class b/target/classes/com/nq/dao/SiteMessageMapper.class
new file mode 100644
index 0000000..bd27073
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteMessageMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteNewsMapper.class b/target/classes/com/nq/dao/SiteNewsMapper.class
new file mode 100644
index 0000000..140a693
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteNewsMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SitePayMapper.class b/target/classes/com/nq/dao/SitePayMapper.class
new file mode 100644
index 0000000..77fc6b3
--- /dev/null
+++ b/target/classes/com/nq/dao/SitePayMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteProductMapper.class b/target/classes/com/nq/dao/SiteProductMapper.class
new file mode 100644
index 0000000..e3442f4
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteProductMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteSettingMapper.class b/target/classes/com/nq/dao/SiteSettingMapper.class
new file mode 100644
index 0000000..6769362
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteSettingMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteSmsLogMapper.class b/target/classes/com/nq/dao/SiteSmsLogMapper.class
new file mode 100644
index 0000000..9b6038e
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteSmsLogMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteSpreadMapper.class b/target/classes/com/nq/dao/SiteSpreadMapper.class
new file mode 100644
index 0000000..ec09b74
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteSpreadMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/SiteTaskLogMapper.class b/target/classes/com/nq/dao/SiteTaskLogMapper.class
new file mode 100644
index 0000000..b0f5d23
--- /dev/null
+++ b/target/classes/com/nq/dao/SiteTaskLogMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockCoinMapper.class b/target/classes/com/nq/dao/StockCoinMapper.class
new file mode 100644
index 0000000..5462e87
--- /dev/null
+++ b/target/classes/com/nq/dao/StockCoinMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockDzMapper.class b/target/classes/com/nq/dao/StockDzMapper.class
new file mode 100644
index 0000000..436933a
--- /dev/null
+++ b/target/classes/com/nq/dao/StockDzMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockFuturesMapper.class b/target/classes/com/nq/dao/StockFuturesMapper.class
new file mode 100644
index 0000000..083d95c
--- /dev/null
+++ b/target/classes/com/nq/dao/StockFuturesMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockIndexMapper.class b/target/classes/com/nq/dao/StockIndexMapper.class
new file mode 100644
index 0000000..9c1e376
--- /dev/null
+++ b/target/classes/com/nq/dao/StockIndexMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockMapper.class b/target/classes/com/nq/dao/StockMapper.class
new file mode 100644
index 0000000..63a3c4f
--- /dev/null
+++ b/target/classes/com/nq/dao/StockMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockMarketsDayMapper.class b/target/classes/com/nq/dao/StockMarketsDayMapper.class
new file mode 100644
index 0000000..34c5365
--- /dev/null
+++ b/target/classes/com/nq/dao/StockMarketsDayMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockOptionMapper.class b/target/classes/com/nq/dao/StockOptionMapper.class
new file mode 100644
index 0000000..f758810
--- /dev/null
+++ b/target/classes/com/nq/dao/StockOptionMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/StockSubscribeMapper.class b/target/classes/com/nq/dao/StockSubscribeMapper.class
new file mode 100644
index 0000000..bc21fd0
--- /dev/null
+++ b/target/classes/com/nq/dao/StockSubscribeMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserBankMapper.class b/target/classes/com/nq/dao/UserBankMapper.class
new file mode 100644
index 0000000..fb1f3c3
--- /dev/null
+++ b/target/classes/com/nq/dao/UserBankMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserCashDetailMapper.class b/target/classes/com/nq/dao/UserCashDetailMapper.class
new file mode 100644
index 0000000..50f33dd
--- /dev/null
+++ b/target/classes/com/nq/dao/UserCashDetailMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserFundsPositionMapper.class b/target/classes/com/nq/dao/UserFundsPositionMapper.class
new file mode 100644
index 0000000..5b30126
--- /dev/null
+++ b/target/classes/com/nq/dao/UserFundsPositionMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserFuturesPositionMapper.class b/target/classes/com/nq/dao/UserFuturesPositionMapper.class
new file mode 100644
index 0000000..0b9dee6
--- /dev/null
+++ b/target/classes/com/nq/dao/UserFuturesPositionMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserIndexPositionMapper.class b/target/classes/com/nq/dao/UserIndexPositionMapper.class
new file mode 100644
index 0000000..f352e26
--- /dev/null
+++ b/target/classes/com/nq/dao/UserIndexPositionMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserMapper.class b/target/classes/com/nq/dao/UserMapper.class
new file mode 100644
index 0000000..685cdcf
--- /dev/null
+++ b/target/classes/com/nq/dao/UserMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserPendingorderMapper.class b/target/classes/com/nq/dao/UserPendingorderMapper.class
new file mode 100644
index 0000000..82adac7
--- /dev/null
+++ b/target/classes/com/nq/dao/UserPendingorderMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserPositionMapper.class b/target/classes/com/nq/dao/UserPositionMapper.class
new file mode 100644
index 0000000..6f27651
--- /dev/null
+++ b/target/classes/com/nq/dao/UserPositionMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserRechargeMapper.class b/target/classes/com/nq/dao/UserRechargeMapper.class
new file mode 100644
index 0000000..2d15899
--- /dev/null
+++ b/target/classes/com/nq/dao/UserRechargeMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserStockSubscribeMapper.class b/target/classes/com/nq/dao/UserStockSubscribeMapper.class
new file mode 100644
index 0000000..15972ab
--- /dev/null
+++ b/target/classes/com/nq/dao/UserStockSubscribeMapper.class
Binary files differ
diff --git a/target/classes/com/nq/dao/UserWithdrawMapper.class b/target/classes/com/nq/dao/UserWithdrawMapper.class
new file mode 100644
index 0000000..df3289d
--- /dev/null
+++ b/target/classes/com/nq/dao/UserWithdrawMapper.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/AgentAgencyFee.class b/target/classes/com/nq/pojo/AgentAgencyFee.class
new file mode 100644
index 0000000..b78e635
--- /dev/null
+++ b/target/classes/com/nq/pojo/AgentAgencyFee.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/AgentDistributionUser.class b/target/classes/com/nq/pojo/AgentDistributionUser.class
new file mode 100644
index 0000000..69a05fd
--- /dev/null
+++ b/target/classes/com/nq/pojo/AgentDistributionUser.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/AgentUser.class b/target/classes/com/nq/pojo/AgentUser.class
new file mode 100644
index 0000000..4de9342
--- /dev/null
+++ b/target/classes/com/nq/pojo/AgentUser.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/ContractImage.class b/target/classes/com/nq/pojo/ContractImage.class
new file mode 100644
index 0000000..a91721d
--- /dev/null
+++ b/target/classes/com/nq/pojo/ContractImage.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/ConvertBond.class b/target/classes/com/nq/pojo/ConvertBond.class
new file mode 100644
index 0000000..f1fb653
--- /dev/null
+++ b/target/classes/com/nq/pojo/ConvertBond.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/ConvertBondApply.class b/target/classes/com/nq/pojo/ConvertBondApply.class
new file mode 100644
index 0000000..02a55c4
--- /dev/null
+++ b/target/classes/com/nq/pojo/ConvertBondApply.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/DailyRecord.class b/target/classes/com/nq/pojo/DailyRecord.class
new file mode 100644
index 0000000..d3c764c
--- /dev/null
+++ b/target/classes/com/nq/pojo/DailyRecord.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsAppend.class b/target/classes/com/nq/pojo/FundsAppend.class
new file mode 100644
index 0000000..e7508b1
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsAppend.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsApply.class b/target/classes/com/nq/pojo/FundsApply.class
new file mode 100644
index 0000000..846b662
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsApply.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsDealerInstitutions.class b/target/classes/com/nq/pojo/FundsDealerInstitutions.class
new file mode 100644
index 0000000..fe2f938
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsDealerInstitutions.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsLever.class b/target/classes/com/nq/pojo/FundsLever.class
new file mode 100644
index 0000000..c0a17e6
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsLever.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsSecuritiesInfo.class b/target/classes/com/nq/pojo/FundsSecuritiesInfo.class
new file mode 100644
index 0000000..18931de
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsSecuritiesInfo.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsSetting.class b/target/classes/com/nq/pojo/FundsSetting.class
new file mode 100644
index 0000000..2285e3e
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsSetting.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/FundsTradingAccount.class b/target/classes/com/nq/pojo/FundsTradingAccount.class
new file mode 100644
index 0000000..141c5c1
--- /dev/null
+++ b/target/classes/com/nq/pojo/FundsTradingAccount.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/RealTime.class b/target/classes/com/nq/pojo/RealTime.class
new file mode 100644
index 0000000..258123e
--- /dev/null
+++ b/target/classes/com/nq/pojo/RealTime.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteAdmin.class b/target/classes/com/nq/pojo/SiteAdmin.class
new file mode 100644
index 0000000..c1dda24
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteAdmin.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteAdminIndex.class b/target/classes/com/nq/pojo/SiteAdminIndex.class
new file mode 100644
index 0000000..1e3c4cc
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteAdminIndex.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteAmtTransLog.class b/target/classes/com/nq/pojo/SiteAmtTransLog.class
new file mode 100644
index 0000000..3b9b087
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteAmtTransLog.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteArticle.class b/target/classes/com/nq/pojo/SiteArticle.class
new file mode 100644
index 0000000..c48762c
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteArticle.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteBanner.class b/target/classes/com/nq/pojo/SiteBanner.class
new file mode 100644
index 0000000..3042aee
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteBanner.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteFuturesSetting.class b/target/classes/com/nq/pojo/SiteFuturesSetting.class
new file mode 100644
index 0000000..c8720f4
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteFuturesSetting.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteIndexSetting.class b/target/classes/com/nq/pojo/SiteIndexSetting.class
new file mode 100644
index 0000000..119cc7d
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteIndexSetting.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteInfo.class b/target/classes/com/nq/pojo/SiteInfo.class
new file mode 100644
index 0000000..7b2b209
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteInfo.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteLoginLog.class b/target/classes/com/nq/pojo/SiteLoginLog.class
new file mode 100644
index 0000000..42c6feb
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteLoginLog.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteMessage.class b/target/classes/com/nq/pojo/SiteMessage.class
new file mode 100644
index 0000000..86fa14a
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteMessage.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteNews.class b/target/classes/com/nq/pojo/SiteNews.class
new file mode 100644
index 0000000..41dfc1b
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteNews.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SitePay.class b/target/classes/com/nq/pojo/SitePay.class
new file mode 100644
index 0000000..5666f00
--- /dev/null
+++ b/target/classes/com/nq/pojo/SitePay.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteProduct.class b/target/classes/com/nq/pojo/SiteProduct.class
new file mode 100644
index 0000000..2038362
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteProduct.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSetting.class b/target/classes/com/nq/pojo/SiteSetting.class
new file mode 100644
index 0000000..eacf4ed
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSetting.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSettingExample$Criteria.class b/target/classes/com/nq/pojo/SiteSettingExample$Criteria.class
new file mode 100644
index 0000000..4cf18ba
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSettingExample$Criteria.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSettingExample$Criterion.class b/target/classes/com/nq/pojo/SiteSettingExample$Criterion.class
new file mode 100644
index 0000000..7d61e8a
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSettingExample$Criterion.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSettingExample$GeneratedCriteria.class b/target/classes/com/nq/pojo/SiteSettingExample$GeneratedCriteria.class
new file mode 100644
index 0000000..8753ec3
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSettingExample$GeneratedCriteria.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSettingExample.class b/target/classes/com/nq/pojo/SiteSettingExample.class
new file mode 100644
index 0000000..020f9b9
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSettingExample.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSmsLog.class b/target/classes/com/nq/pojo/SiteSmsLog.class
new file mode 100644
index 0000000..06cab04
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSmsLog.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteSpread.class b/target/classes/com/nq/pojo/SiteSpread.class
new file mode 100644
index 0000000..3a765be
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteSpread.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/SiteTaskLog.class b/target/classes/com/nq/pojo/SiteTaskLog.class
new file mode 100644
index 0000000..4f71e00
--- /dev/null
+++ b/target/classes/com/nq/pojo/SiteTaskLog.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/Stock.class b/target/classes/com/nq/pojo/Stock.class
new file mode 100644
index 0000000..b016860
--- /dev/null
+++ b/target/classes/com/nq/pojo/Stock.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockCoin.class b/target/classes/com/nq/pojo/StockCoin.class
new file mode 100644
index 0000000..b33add4
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockCoin.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockDz.class b/target/classes/com/nq/pojo/StockDz.class
new file mode 100644
index 0000000..480e0e7
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockDz.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockFutures.class b/target/classes/com/nq/pojo/StockFutures.class
new file mode 100644
index 0000000..083fde9
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockFutures.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockIndex.class b/target/classes/com/nq/pojo/StockIndex.class
new file mode 100644
index 0000000..c91af7e
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockIndex.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockMarket.class b/target/classes/com/nq/pojo/StockMarket.class
new file mode 100644
index 0000000..4a554da
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockMarket.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockMarketsDay.class b/target/classes/com/nq/pojo/StockMarketsDay.class
new file mode 100644
index 0000000..a1fd690
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockMarketsDay.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockOption.class b/target/classes/com/nq/pojo/StockOption.class
new file mode 100644
index 0000000..87ebb26
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockOption.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/StockSubscribe.class b/target/classes/com/nq/pojo/StockSubscribe.class
new file mode 100644
index 0000000..e4a01f9
--- /dev/null
+++ b/target/classes/com/nq/pojo/StockSubscribe.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/User.class b/target/classes/com/nq/pojo/User.class
new file mode 100644
index 0000000..dc168d0
--- /dev/null
+++ b/target/classes/com/nq/pojo/User.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserBank.class b/target/classes/com/nq/pojo/UserBank.class
new file mode 100644
index 0000000..bd1e281
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserBank.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserCashDetail.class b/target/classes/com/nq/pojo/UserCashDetail.class
new file mode 100644
index 0000000..a6a2e87
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserCashDetail.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserExample$Criteria.class b/target/classes/com/nq/pojo/UserExample$Criteria.class
new file mode 100644
index 0000000..9f71d72
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserExample$Criteria.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserExample$Criterion.class b/target/classes/com/nq/pojo/UserExample$Criterion.class
new file mode 100644
index 0000000..5a8f154
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserExample$Criterion.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserExample$GeneratedCriteria.class b/target/classes/com/nq/pojo/UserExample$GeneratedCriteria.class
new file mode 100644
index 0000000..6a167c5
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserExample$GeneratedCriteria.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserExample.class b/target/classes/com/nq/pojo/UserExample.class
new file mode 100644
index 0000000..c760db2
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserExample.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserFundsPosition.class b/target/classes/com/nq/pojo/UserFundsPosition.class
new file mode 100644
index 0000000..13fa09a
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserFundsPosition.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserFuturesPosition.class b/target/classes/com/nq/pojo/UserFuturesPosition.class
new file mode 100644
index 0000000..86b2638
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserFuturesPosition.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserIndexPosition.class b/target/classes/com/nq/pojo/UserIndexPosition.class
new file mode 100644
index 0000000..fbf6d36
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserIndexPosition.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserPendingorder.class b/target/classes/com/nq/pojo/UserPendingorder.class
new file mode 100644
index 0000000..c5723f0
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserPendingorder.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserPosition.class b/target/classes/com/nq/pojo/UserPosition.class
new file mode 100644
index 0000000..2855b39
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserPosition.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserRecharge.class b/target/classes/com/nq/pojo/UserRecharge.class
new file mode 100644
index 0000000..883798a
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserRecharge.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserStockSubscribe.class b/target/classes/com/nq/pojo/UserStockSubscribe.class
new file mode 100644
index 0000000..a9704ab
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserStockSubscribe.class
Binary files differ
diff --git a/target/classes/com/nq/pojo/UserWithdraw.class b/target/classes/com/nq/pojo/UserWithdraw.class
new file mode 100644
index 0000000..ae8cab1
--- /dev/null
+++ b/target/classes/com/nq/pojo/UserWithdraw.class
Binary files differ
diff --git a/target/classes/com/nq/security/xss/DispatcherServletWrapper.class b/target/classes/com/nq/security/xss/DispatcherServletWrapper.class
new file mode 100644
index 0000000..7c8b12e
--- /dev/null
+++ b/target/classes/com/nq/security/xss/DispatcherServletWrapper.class
Binary files differ
diff --git a/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$1.class b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$1.class
new file mode 100644
index 0000000..6a838b7
--- /dev/null
+++ b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$1.class
Binary files differ
diff --git a/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$2.class b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$2.class
new file mode 100644
index 0000000..909dff3
--- /dev/null
+++ b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor$2.class
Binary files differ
diff --git a/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor.class b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor.class
new file mode 100644
index 0000000..9098cb8
--- /dev/null
+++ b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper$ControllerXssInterceptor.class
Binary files differ
diff --git a/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper.class b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper.class
new file mode 100644
index 0000000..5349c67
--- /dev/null
+++ b/target/classes/com/nq/security/xss/HandlerExecutionChainWrapper.class
Binary files differ
diff --git a/target/classes/com/nq/service/ConvertBondApplyService.class b/target/classes/com/nq/service/ConvertBondApplyService.class
new file mode 100644
index 0000000..4f4b7ed
--- /dev/null
+++ b/target/classes/com/nq/service/ConvertBondApplyService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ConvertBondService.class b/target/classes/com/nq/service/ConvertBondService.class
new file mode 100644
index 0000000..8e90e8b
--- /dev/null
+++ b/target/classes/com/nq/service/ConvertBondService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IAgentAgencyFeeService.class b/target/classes/com/nq/service/IAgentAgencyFeeService.class
new file mode 100644
index 0000000..f3c229b
--- /dev/null
+++ b/target/classes/com/nq/service/IAgentAgencyFeeService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IAgentDistributionUserService.class b/target/classes/com/nq/service/IAgentDistributionUserService.class
new file mode 100644
index 0000000..87d3d27
--- /dev/null
+++ b/target/classes/com/nq/service/IAgentDistributionUserService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IAgentUserService.class b/target/classes/com/nq/service/IAgentUserService.class
new file mode 100644
index 0000000..bc80345
--- /dev/null
+++ b/target/classes/com/nq/service/IAgentUserService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFileUploadService.class b/target/classes/com/nq/service/IFileUploadService.class
new file mode 100644
index 0000000..b7a37b7
--- /dev/null
+++ b/target/classes/com/nq/service/IFileUploadService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsAppendService.class b/target/classes/com/nq/service/IFundsAppendService.class
new file mode 100644
index 0000000..eb8d27e
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsAppendService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsApplyService.class b/target/classes/com/nq/service/IFundsApplyService.class
new file mode 100644
index 0000000..9239ba7
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsApplyService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsDealerInstitutionsService.class b/target/classes/com/nq/service/IFundsDealerInstitutionsService.class
new file mode 100644
index 0000000..cc045ce
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsDealerInstitutionsService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsLeverService.class b/target/classes/com/nq/service/IFundsLeverService.class
new file mode 100644
index 0000000..a595196
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsLeverService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsSecuritiesInfoService.class b/target/classes/com/nq/service/IFundsSecuritiesInfoService.class
new file mode 100644
index 0000000..17adee7
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsSecuritiesInfoService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsSettingService.class b/target/classes/com/nq/service/IFundsSettingService.class
new file mode 100644
index 0000000..41e3245
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsSettingService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IFundsTradingAccountService.class b/target/classes/com/nq/service/IFundsTradingAccountService.class
new file mode 100644
index 0000000..e403b3e
--- /dev/null
+++ b/target/classes/com/nq/service/IFundsTradingAccountService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IPayService.class b/target/classes/com/nq/service/IPayService.class
new file mode 100644
index 0000000..1f43709
--- /dev/null
+++ b/target/classes/com/nq/service/IPayService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteAdminService.class b/target/classes/com/nq/service/ISiteAdminService.class
new file mode 100644
index 0000000..19b8dd4
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteAdminService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteAmtTransLogService.class b/target/classes/com/nq/service/ISiteAmtTransLogService.class
new file mode 100644
index 0000000..b569742
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteAmtTransLogService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteArticleService.class b/target/classes/com/nq/service/ISiteArticleService.class
new file mode 100644
index 0000000..ba4c8f6
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteArticleService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteBannerService.class b/target/classes/com/nq/service/ISiteBannerService.class
new file mode 100644
index 0000000..1db8889
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteBannerService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteFuturesSettingService.class b/target/classes/com/nq/service/ISiteFuturesSettingService.class
new file mode 100644
index 0000000..b624345
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteFuturesSettingService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteIndexSettingService.class b/target/classes/com/nq/service/ISiteIndexSettingService.class
new file mode 100644
index 0000000..3f7fac4
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteIndexSettingService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteInfoService.class b/target/classes/com/nq/service/ISiteInfoService.class
new file mode 100644
index 0000000..81990de
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteInfoService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteLoginLogService.class b/target/classes/com/nq/service/ISiteLoginLogService.class
new file mode 100644
index 0000000..8271e04
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteLoginLogService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteMessageService.class b/target/classes/com/nq/service/ISiteMessageService.class
new file mode 100644
index 0000000..cc1de9b
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteMessageService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteNewsService.class b/target/classes/com/nq/service/ISiteNewsService.class
new file mode 100644
index 0000000..3f3df1e
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteNewsService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISitePayService.class b/target/classes/com/nq/service/ISitePayService.class
new file mode 100644
index 0000000..4122eb3
--- /dev/null
+++ b/target/classes/com/nq/service/ISitePayService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteProductService.class b/target/classes/com/nq/service/ISiteProductService.class
new file mode 100644
index 0000000..48bbb51
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteProductService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteSettingService.class b/target/classes/com/nq/service/ISiteSettingService.class
new file mode 100644
index 0000000..f81b1a9
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteSettingService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteSmsLogService.class b/target/classes/com/nq/service/ISiteSmsLogService.class
new file mode 100644
index 0000000..726b4c2
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteSmsLogService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteSpreadService.class b/target/classes/com/nq/service/ISiteSpreadService.class
new file mode 100644
index 0000000..1edefe5
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteSpreadService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISiteTaskLogService.class b/target/classes/com/nq/service/ISiteTaskLogService.class
new file mode 100644
index 0000000..0d30eea
--- /dev/null
+++ b/target/classes/com/nq/service/ISiteTaskLogService.class
Binary files differ
diff --git a/target/classes/com/nq/service/ISmsService.class b/target/classes/com/nq/service/ISmsService.class
new file mode 100644
index 0000000..718b979
--- /dev/null
+++ b/target/classes/com/nq/service/ISmsService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockCoinService.class b/target/classes/com/nq/service/IStockCoinService.class
new file mode 100644
index 0000000..ae52e59
--- /dev/null
+++ b/target/classes/com/nq/service/IStockCoinService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockFuturesService.class b/target/classes/com/nq/service/IStockFuturesService.class
new file mode 100644
index 0000000..85e896b
--- /dev/null
+++ b/target/classes/com/nq/service/IStockFuturesService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockIndexService.class b/target/classes/com/nq/service/IStockIndexService.class
new file mode 100644
index 0000000..c067373
--- /dev/null
+++ b/target/classes/com/nq/service/IStockIndexService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockMarketsDayService.class b/target/classes/com/nq/service/IStockMarketsDayService.class
new file mode 100644
index 0000000..094768b
--- /dev/null
+++ b/target/classes/com/nq/service/IStockMarketsDayService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockOptionService.class b/target/classes/com/nq/service/IStockOptionService.class
new file mode 100644
index 0000000..3d38a94
--- /dev/null
+++ b/target/classes/com/nq/service/IStockOptionService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockService.class b/target/classes/com/nq/service/IStockService.class
new file mode 100644
index 0000000..05fb6c0
--- /dev/null
+++ b/target/classes/com/nq/service/IStockService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IStockSubscribeService.class b/target/classes/com/nq/service/IStockSubscribeService.class
new file mode 100644
index 0000000..12bd4bb
--- /dev/null
+++ b/target/classes/com/nq/service/IStockSubscribeService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserAgreementService.class b/target/classes/com/nq/service/IUserAgreementService.class
new file mode 100644
index 0000000..545b9b5
--- /dev/null
+++ b/target/classes/com/nq/service/IUserAgreementService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserBankService.class b/target/classes/com/nq/service/IUserBankService.class
new file mode 100644
index 0000000..88d81dd
--- /dev/null
+++ b/target/classes/com/nq/service/IUserBankService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserCashDetailService.class b/target/classes/com/nq/service/IUserCashDetailService.class
new file mode 100644
index 0000000..622b135
--- /dev/null
+++ b/target/classes/com/nq/service/IUserCashDetailService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserFundsPositionService.class b/target/classes/com/nq/service/IUserFundsPositionService.class
new file mode 100644
index 0000000..d42dcb7
--- /dev/null
+++ b/target/classes/com/nq/service/IUserFundsPositionService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserFuturesPositionService.class b/target/classes/com/nq/service/IUserFuturesPositionService.class
new file mode 100644
index 0000000..638b3fd
--- /dev/null
+++ b/target/classes/com/nq/service/IUserFuturesPositionService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserIndexPositionService.class b/target/classes/com/nq/service/IUserIndexPositionService.class
new file mode 100644
index 0000000..7ad3de5
--- /dev/null
+++ b/target/classes/com/nq/service/IUserIndexPositionService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserPositionService.class b/target/classes/com/nq/service/IUserPositionService.class
new file mode 100644
index 0000000..ab41353
--- /dev/null
+++ b/target/classes/com/nq/service/IUserPositionService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserRechargeService.class b/target/classes/com/nq/service/IUserRechargeService.class
new file mode 100644
index 0000000..4e16a37
--- /dev/null
+++ b/target/classes/com/nq/service/IUserRechargeService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserService.class b/target/classes/com/nq/service/IUserService.class
new file mode 100644
index 0000000..6ef34ea
--- /dev/null
+++ b/target/classes/com/nq/service/IUserService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserStockSubscribeService.class b/target/classes/com/nq/service/IUserStockSubscribeService.class
new file mode 100644
index 0000000..8b97837
--- /dev/null
+++ b/target/classes/com/nq/service/IUserStockSubscribeService.class
Binary files differ
diff --git a/target/classes/com/nq/service/IUserWithdrawService.class b/target/classes/com/nq/service/IUserWithdrawService.class
new file mode 100644
index 0000000..9e737df
--- /dev/null
+++ b/target/classes/com/nq/service/IUserWithdrawService.class
Binary files differ
diff --git a/target/classes/com/nq/service/RealTimeService.class b/target/classes/com/nq/service/RealTimeService.class
new file mode 100644
index 0000000..35e942c
--- /dev/null
+++ b/target/classes/com/nq/service/RealTimeService.class
Binary files differ
diff --git a/target/classes/com/nq/service/SiteAdminIndexService.class b/target/classes/com/nq/service/SiteAdminIndexService.class
new file mode 100644
index 0000000..9ae287a
--- /dev/null
+++ b/target/classes/com/nq/service/SiteAdminIndexService.class
Binary files differ
diff --git a/target/classes/com/nq/service/StockDzService.class b/target/classes/com/nq/service/StockDzService.class
new file mode 100644
index 0000000..7358f59
--- /dev/null
+++ b/target/classes/com/nq/service/StockDzService.class
Binary files differ
diff --git a/target/classes/com/nq/service/UserPendingorderService.class b/target/classes/com/nq/service/UserPendingorderService.class
new file mode 100644
index 0000000..3f8890a
--- /dev/null
+++ b/target/classes/com/nq/service/UserPendingorderService.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/AgentAgencyFeeServiceImpl.class b/target/classes/com/nq/service/impl/AgentAgencyFeeServiceImpl.class
new file mode 100644
index 0000000..3918217
--- /dev/null
+++ b/target/classes/com/nq/service/impl/AgentAgencyFeeServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/AgentDistributionUserServiceImpl.class b/target/classes/com/nq/service/impl/AgentDistributionUserServiceImpl.class
new file mode 100644
index 0000000..f993a93
--- /dev/null
+++ b/target/classes/com/nq/service/impl/AgentDistributionUserServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/AgentUserServiceImpl.class b/target/classes/com/nq/service/impl/AgentUserServiceImpl.class
new file mode 100644
index 0000000..c4672f5
--- /dev/null
+++ b/target/classes/com/nq/service/impl/AgentUserServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/ConvertBondApplyServiceImpl.class b/target/classes/com/nq/service/impl/ConvertBondApplyServiceImpl.class
new file mode 100644
index 0000000..80e1329
--- /dev/null
+++ b/target/classes/com/nq/service/impl/ConvertBondApplyServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/ConvertBondServiceImpl.class b/target/classes/com/nq/service/impl/ConvertBondServiceImpl.class
new file mode 100644
index 0000000..4588b61
--- /dev/null
+++ b/target/classes/com/nq/service/impl/ConvertBondServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FileUploadServiceImpl.class b/target/classes/com/nq/service/impl/FileUploadServiceImpl.class
new file mode 100644
index 0000000..3fcda01
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FileUploadServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsAppendServiceImpl.class b/target/classes/com/nq/service/impl/FundsAppendServiceImpl.class
new file mode 100644
index 0000000..33e45d0
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsAppendServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsApplyServiceImpl.class b/target/classes/com/nq/service/impl/FundsApplyServiceImpl.class
new file mode 100644
index 0000000..420b64e
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsApplyServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsDealerInstitutionsServiceImpl.class b/target/classes/com/nq/service/impl/FundsDealerInstitutionsServiceImpl.class
new file mode 100644
index 0000000..f7e371c
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsDealerInstitutionsServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsLeverServiceImpl.class b/target/classes/com/nq/service/impl/FundsLeverServiceImpl.class
new file mode 100644
index 0000000..7b7ddb2
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsLeverServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsSecuritiesInfoServiceImpl.class b/target/classes/com/nq/service/impl/FundsSecuritiesInfoServiceImpl.class
new file mode 100644
index 0000000..f0239b5
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsSecuritiesInfoServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsSettingServiceImpl.class b/target/classes/com/nq/service/impl/FundsSettingServiceImpl.class
new file mode 100644
index 0000000..2ae6b04
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsSettingServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/FundsTradingAccountServiceImpl.class b/target/classes/com/nq/service/impl/FundsTradingAccountServiceImpl.class
new file mode 100644
index 0000000..62447b7
--- /dev/null
+++ b/target/classes/com/nq/service/impl/FundsTradingAccountServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/GoogleAuthenticator.class b/target/classes/com/nq/service/impl/GoogleAuthenticator.class
new file mode 100644
index 0000000..a5a2b07
--- /dev/null
+++ b/target/classes/com/nq/service/impl/GoogleAuthenticator.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/PayServiceImpl.class b/target/classes/com/nq/service/impl/PayServiceImpl.class
new file mode 100644
index 0000000..f051090
--- /dev/null
+++ b/target/classes/com/nq/service/impl/PayServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/RealTimeServiceImpl.class b/target/classes/com/nq/service/impl/RealTimeServiceImpl.class
new file mode 100644
index 0000000..4f1968d
--- /dev/null
+++ b/target/classes/com/nq/service/impl/RealTimeServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteAdminIndexServiceImpl.class b/target/classes/com/nq/service/impl/SiteAdminIndexServiceImpl.class
new file mode 100644
index 0000000..21b9e35
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteAdminIndexServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteAdminServiceImpl.class b/target/classes/com/nq/service/impl/SiteAdminServiceImpl.class
new file mode 100644
index 0000000..55e1d77
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteAdminServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteAmtTransLogServiceImpl.class b/target/classes/com/nq/service/impl/SiteAmtTransLogServiceImpl.class
new file mode 100644
index 0000000..bc8770e
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteAmtTransLogServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteArticleServiceImpl.class b/target/classes/com/nq/service/impl/SiteArticleServiceImpl.class
new file mode 100644
index 0000000..be83c5c
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteArticleServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteBannerServiceImpl.class b/target/classes/com/nq/service/impl/SiteBannerServiceImpl.class
new file mode 100644
index 0000000..03629e9
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteBannerServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteFuturesSettingServiceImpl.class b/target/classes/com/nq/service/impl/SiteFuturesSettingServiceImpl.class
new file mode 100644
index 0000000..e6cc223
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteFuturesSettingServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteIndexSettingServiceImpl.class b/target/classes/com/nq/service/impl/SiteIndexSettingServiceImpl.class
new file mode 100644
index 0000000..c950c53
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteIndexSettingServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteInfoServiceImpl.class b/target/classes/com/nq/service/impl/SiteInfoServiceImpl.class
new file mode 100644
index 0000000..e3b6268
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteInfoServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteLoginLogServiceImpl.class b/target/classes/com/nq/service/impl/SiteLoginLogServiceImpl.class
new file mode 100644
index 0000000..42a560c
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteLoginLogServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteMessageServiceImpl.class b/target/classes/com/nq/service/impl/SiteMessageServiceImpl.class
new file mode 100644
index 0000000..0db1682
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteMessageServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteNewsServiceImpl.class b/target/classes/com/nq/service/impl/SiteNewsServiceImpl.class
new file mode 100644
index 0000000..b5552c9
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteNewsServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SitePayServiceImpl.class b/target/classes/com/nq/service/impl/SitePayServiceImpl.class
new file mode 100644
index 0000000..86e33f4
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SitePayServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteProductServiceImpl.class b/target/classes/com/nq/service/impl/SiteProductServiceImpl.class
new file mode 100644
index 0000000..edf31e1
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteProductServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteSettingServiceImpl.class b/target/classes/com/nq/service/impl/SiteSettingServiceImpl.class
new file mode 100644
index 0000000..0447168
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteSettingServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteSmsLogServiceImpl.class b/target/classes/com/nq/service/impl/SiteSmsLogServiceImpl.class
new file mode 100644
index 0000000..aac71da
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteSmsLogServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteSpreadServiceImpl.class b/target/classes/com/nq/service/impl/SiteSpreadServiceImpl.class
new file mode 100644
index 0000000..d5ba1af
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteSpreadServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SiteTaskLogServiceImpl.class b/target/classes/com/nq/service/impl/SiteTaskLogServiceImpl.class
new file mode 100644
index 0000000..93f955f
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SiteTaskLogServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/SmsServiceImpl.class b/target/classes/com/nq/service/impl/SmsServiceImpl.class
new file mode 100644
index 0000000..32a9dd0
--- /dev/null
+++ b/target/classes/com/nq/service/impl/SmsServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockCoinServiceImpl.class b/target/classes/com/nq/service/impl/StockCoinServiceImpl.class
new file mode 100644
index 0000000..33ad7f4
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockCoinServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockDzServiceImpl.class b/target/classes/com/nq/service/impl/StockDzServiceImpl.class
new file mode 100644
index 0000000..4969aff
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockDzServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockFuturesServiceImpl.class b/target/classes/com/nq/service/impl/StockFuturesServiceImpl.class
new file mode 100644
index 0000000..b56e4c8
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockFuturesServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockIndexServiceImpl.class b/target/classes/com/nq/service/impl/StockIndexServiceImpl.class
new file mode 100644
index 0000000..baf9cf2
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockIndexServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockMarketsDayServiceImpl.class b/target/classes/com/nq/service/impl/StockMarketsDayServiceImpl.class
new file mode 100644
index 0000000..97793fa
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockMarketsDayServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockOptionServiceImpl.class b/target/classes/com/nq/service/impl/StockOptionServiceImpl.class
new file mode 100644
index 0000000..c406203
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockOptionServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockServiceImpl.class b/target/classes/com/nq/service/impl/StockServiceImpl.class
new file mode 100644
index 0000000..53ae6b9
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/StockSubscribeServiceImpl.class b/target/classes/com/nq/service/impl/StockSubscribeServiceImpl.class
new file mode 100644
index 0000000..aa33ed6
--- /dev/null
+++ b/target/classes/com/nq/service/impl/StockSubscribeServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserAgreementServiceImpl.class b/target/classes/com/nq/service/impl/UserAgreementServiceImpl.class
new file mode 100644
index 0000000..da5accc
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserAgreementServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserBankServiceImpl.class b/target/classes/com/nq/service/impl/UserBankServiceImpl.class
new file mode 100644
index 0000000..38fc761
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserBankServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserCashDetailServiceImpl.class b/target/classes/com/nq/service/impl/UserCashDetailServiceImpl.class
new file mode 100644
index 0000000..cdac82b
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserCashDetailServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserFundsPositionServiceImpl.class b/target/classes/com/nq/service/impl/UserFundsPositionServiceImpl.class
new file mode 100644
index 0000000..7b4db79
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserFundsPositionServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserFuturesPositionServiceImpl.class b/target/classes/com/nq/service/impl/UserFuturesPositionServiceImpl.class
new file mode 100644
index 0000000..9e8a987
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserFuturesPositionServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserIndexPositionServiceImpl.class b/target/classes/com/nq/service/impl/UserIndexPositionServiceImpl.class
new file mode 100644
index 0000000..8c23fc0
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserIndexPositionServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserPendingorderServiceImpl.class b/target/classes/com/nq/service/impl/UserPendingorderServiceImpl.class
new file mode 100644
index 0000000..d4675d5
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserPendingorderServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserPositionServiceImpl.class b/target/classes/com/nq/service/impl/UserPositionServiceImpl.class
new file mode 100644
index 0000000..de1e216
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserPositionServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserRechargeServiceImpl.class b/target/classes/com/nq/service/impl/UserRechargeServiceImpl.class
new file mode 100644
index 0000000..6a3bb3c
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserRechargeServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserServiceImpl.class b/target/classes/com/nq/service/impl/UserServiceImpl.class
new file mode 100644
index 0000000..14cb207
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserStockSubscribeServiceImpl.class b/target/classes/com/nq/service/impl/UserStockSubscribeServiceImpl.class
new file mode 100644
index 0000000..0254893
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserStockSubscribeServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/service/impl/UserWithdrawServiceImpl.class b/target/classes/com/nq/service/impl/UserWithdrawServiceImpl.class
new file mode 100644
index 0000000..e66b535
--- /dev/null
+++ b/target/classes/com/nq/service/impl/UserWithdrawServiceImpl.class
Binary files differ
diff --git a/target/classes/com/nq/utils/BigDecimalUtil.class b/target/classes/com/nq/utils/BigDecimalUtil.class
new file mode 100644
index 0000000..76ff5ad
--- /dev/null
+++ b/target/classes/com/nq/utils/BigDecimalUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/CacheUtil$CacheUtilBean.class b/target/classes/com/nq/utils/CacheUtil$CacheUtilBean.class
new file mode 100644
index 0000000..19eedc0
--- /dev/null
+++ b/target/classes/com/nq/utils/CacheUtil$CacheUtilBean.class
Binary files differ
diff --git a/target/classes/com/nq/utils/CacheUtil.class b/target/classes/com/nq/utils/CacheUtil.class
new file mode 100644
index 0000000..54275c8
--- /dev/null
+++ b/target/classes/com/nq/utils/CacheUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/CurrencyUtils.class b/target/classes/com/nq/utils/CurrencyUtils.class
new file mode 100644
index 0000000..c76966e
--- /dev/null
+++ b/target/classes/com/nq/utils/CurrencyUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/DateTimeUtil.class b/target/classes/com/nq/utils/DateTimeUtil.class
new file mode 100644
index 0000000..5efd10c
--- /dev/null
+++ b/target/classes/com/nq/utils/DateTimeUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/FTPUtil.class b/target/classes/com/nq/utils/FTPUtil.class
new file mode 100644
index 0000000..a1faf14
--- /dev/null
+++ b/target/classes/com/nq/utils/FTPUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/HolidayUtil.class b/target/classes/com/nq/utils/HolidayUtil.class
new file mode 100644
index 0000000..0bf3374
--- /dev/null
+++ b/target/classes/com/nq/utils/HolidayUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/HttpClientRequest.class b/target/classes/com/nq/utils/HttpClientRequest.class
new file mode 100644
index 0000000..b409271
--- /dev/null
+++ b/target/classes/com/nq/utils/HttpClientRequest.class
Binary files differ
diff --git a/target/classes/com/nq/utils/HttpRequest.class b/target/classes/com/nq/utils/HttpRequest.class
new file mode 100644
index 0000000..8b08399
--- /dev/null
+++ b/target/classes/com/nq/utils/HttpRequest.class
Binary files differ
diff --git a/target/classes/com/nq/utils/KeyUtils.class b/target/classes/com/nq/utils/KeyUtils.class
new file mode 100644
index 0000000..3ac050b
--- /dev/null
+++ b/target/classes/com/nq/utils/KeyUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/MarketUtils.class b/target/classes/com/nq/utils/MarketUtils.class
new file mode 100644
index 0000000..c52920c
--- /dev/null
+++ b/target/classes/com/nq/utils/MarketUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/Md5Utils.class b/target/classes/com/nq/utils/Md5Utils.class
new file mode 100644
index 0000000..3331682
--- /dev/null
+++ b/target/classes/com/nq/utils/Md5Utils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/Pager.class b/target/classes/com/nq/utils/Pager.class
new file mode 100644
index 0000000..17d58b0
--- /dev/null
+++ b/target/classes/com/nq/utils/Pager.class
Binary files differ
diff --git a/target/classes/com/nq/utils/PdfToImageUtil.class b/target/classes/com/nq/utils/PdfToImageUtil.class
new file mode 100644
index 0000000..e5b9f1d
--- /dev/null
+++ b/target/classes/com/nq/utils/PdfToImageUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/PropertiesUtil.class b/target/classes/com/nq/utils/PropertiesUtil.class
new file mode 100644
index 0000000..b43bbc4
--- /dev/null
+++ b/target/classes/com/nq/utils/PropertiesUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/StockListVO.class b/target/classes/com/nq/utils/StockListVO.class
new file mode 100644
index 0000000..4273649
--- /dev/null
+++ b/target/classes/com/nq/utils/StockListVO.class
Binary files differ
diff --git a/target/classes/com/nq/utils/StringUtils.class b/target/classes/com/nq/utils/StringUtils.class
new file mode 100644
index 0000000..649e658
--- /dev/null
+++ b/target/classes/com/nq/utils/StringUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/SymmetricCryptoUtil.class b/target/classes/com/nq/utils/SymmetricCryptoUtil.class
new file mode 100644
index 0000000..0e16c8d
--- /dev/null
+++ b/target/classes/com/nq/utils/SymmetricCryptoUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/TradeFeeUtil.class b/target/classes/com/nq/utils/TradeFeeUtil.class
new file mode 100644
index 0000000..900e0d5
--- /dev/null
+++ b/target/classes/com/nq/utils/TradeFeeUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/email/MailSender$1.class b/target/classes/com/nq/utils/email/MailSender$1.class
new file mode 100644
index 0000000..69409a7
--- /dev/null
+++ b/target/classes/com/nq/utils/email/MailSender$1.class
Binary files differ
diff --git a/target/classes/com/nq/utils/email/MailSender$Builder.class b/target/classes/com/nq/utils/email/MailSender$Builder.class
new file mode 100644
index 0000000..d16c513
--- /dev/null
+++ b/target/classes/com/nq/utils/email/MailSender$Builder.class
Binary files differ
diff --git a/target/classes/com/nq/utils/email/MailSender.class b/target/classes/com/nq/utils/email/MailSender.class
new file mode 100644
index 0000000..9e089fd
--- /dev/null
+++ b/target/classes/com/nq/utils/email/MailSender.class
Binary files differ
diff --git a/target/classes/com/nq/utils/email/SendHTMLMail.class b/target/classes/com/nq/utils/email/SendHTMLMail.class
new file mode 100644
index 0000000..0b0486c
--- /dev/null
+++ b/target/classes/com/nq/utils/email/SendHTMLMail.class
Binary files differ
diff --git a/target/classes/com/nq/utils/ip/IpUtils.class b/target/classes/com/nq/utils/ip/IpUtils.class
new file mode 100644
index 0000000..351e81b
--- /dev/null
+++ b/target/classes/com/nq/utils/ip/IpUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/ip/JuheIpApi.class b/target/classes/com/nq/utils/ip/JuheIpApi.class
new file mode 100644
index 0000000..8dffded
--- /dev/null
+++ b/target/classes/com/nq/utils/ip/JuheIpApi.class
Binary files differ
diff --git a/target/classes/com/nq/utils/ip/Mandate.class b/target/classes/com/nq/utils/ip/Mandate.class
new file mode 100644
index 0000000..73ea307
--- /dev/null
+++ b/target/classes/com/nq/utils/ip/Mandate.class
Binary files differ
diff --git a/target/classes/com/nq/utils/ip/juhe/AddressResult.class b/target/classes/com/nq/utils/ip/juhe/AddressResult.class
new file mode 100644
index 0000000..59791f0
--- /dev/null
+++ b/target/classes/com/nq/utils/ip/juhe/AddressResult.class
Binary files differ
diff --git a/target/classes/com/nq/utils/ip/juhe/AddressResultsVo.class b/target/classes/com/nq/utils/ip/juhe/AddressResultsVo.class
new file mode 100644
index 0000000..1d4d583
--- /dev/null
+++ b/target/classes/com/nq/utils/ip/juhe/AddressResultsVo.class
Binary files differ
diff --git a/target/classes/com/nq/utils/pay/CmcPayOuterRequestUtil.class b/target/classes/com/nq/utils/pay/CmcPayOuterRequestUtil.class
new file mode 100644
index 0000000..61ce2d1
--- /dev/null
+++ b/target/classes/com/nq/utils/pay/CmcPayOuterRequestUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/pay/CmcPayTool.class b/target/classes/com/nq/utils/pay/CmcPayTool.class
new file mode 100644
index 0000000..8af7cb9
--- /dev/null
+++ b/target/classes/com/nq/utils/pay/CmcPayTool.class
Binary files differ
diff --git a/target/classes/com/nq/utils/pay/OcocnPayUtil.class b/target/classes/com/nq/utils/pay/OcocnPayUtil.class
new file mode 100644
index 0000000..54dc706
--- /dev/null
+++ b/target/classes/com/nq/utils/pay/OcocnPayUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/CookieUtils.class b/target/classes/com/nq/utils/redis/CookieUtils.class
new file mode 100644
index 0000000..4318ca8
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/CookieUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/JsonUtil.class b/target/classes/com/nq/utils/redis/JsonUtil.class
new file mode 100644
index 0000000..6e2e921
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/JsonUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/RedisConst.class b/target/classes/com/nq/utils/redis/RedisConst.class
new file mode 100644
index 0000000..2d8cb3c
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/RedisConst.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/RedisPoolUtil.class b/target/classes/com/nq/utils/redis/RedisPoolUtil.class
new file mode 100644
index 0000000..a105675
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/RedisPoolUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/RedisShardedPool.class b/target/classes/com/nq/utils/redis/RedisShardedPool.class
new file mode 100644
index 0000000..3c84fb5
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/RedisShardedPool.class
Binary files differ
diff --git a/target/classes/com/nq/utils/redis/RedisShardedPoolUtils.class b/target/classes/com/nq/utils/redis/RedisShardedPoolUtils.class
new file mode 100644
index 0000000..abf192c
--- /dev/null
+++ b/target/classes/com/nq/utils/redis/RedisShardedPoolUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/sms/ali/AliyunSms.class b/target/classes/com/nq/utils/sms/ali/AliyunSms.class
new file mode 100644
index 0000000..4ed610a
--- /dev/null
+++ b/target/classes/com/nq/utils/sms/ali/AliyunSms.class
Binary files differ
diff --git a/target/classes/com/nq/utils/sms/ali/AliyunSmsConst.class b/target/classes/com/nq/utils/sms/ali/AliyunSmsConst.class
new file mode 100644
index 0000000..8460bfb
--- /dev/null
+++ b/target/classes/com/nq/utils/sms/ali/AliyunSmsConst.class
Binary files differ
diff --git a/target/classes/com/nq/utils/sms/ali/SmsDemo.class b/target/classes/com/nq/utils/sms/ali/SmsDemo.class
new file mode 100644
index 0000000..f77a51f
--- /dev/null
+++ b/target/classes/com/nq/utils/sms/ali/SmsDemo.class
Binary files differ
diff --git a/target/classes/com/nq/utils/smsUtil/SMSProvider.class b/target/classes/com/nq/utils/smsUtil/SMSProvider.class
new file mode 100644
index 0000000..8b637f2
--- /dev/null
+++ b/target/classes/com/nq/utils/smsUtil/SMSProvider.class
Binary files differ
diff --git a/target/classes/com/nq/utils/smsUtil/smsUtil.class b/target/classes/com/nq/utils/smsUtil/smsUtil.class
new file mode 100644
index 0000000..3ea43d5
--- /dev/null
+++ b/target/classes/com/nq/utils/smsUtil/smsUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/smsUtil/support/AliyunSMSProvider.class b/target/classes/com/nq/utils/smsUtil/support/AliyunSMSProvider.class
new file mode 100644
index 0000000..4e6f715
--- /dev/null
+++ b/target/classes/com/nq/utils/smsUtil/support/AliyunSMSProvider.class
Binary files differ
diff --git a/target/classes/com/nq/utils/smsUtil/support/TecentYunSMSProvider.class b/target/classes/com/nq/utils/smsUtil/support/TecentYunSMSProvider.class
new file mode 100644
index 0000000..305a327
--- /dev/null
+++ b/target/classes/com/nq/utils/smsUtil/support/TecentYunSMSProvider.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/BuyAndSellUtils.class b/target/classes/com/nq/utils/stock/BuyAndSellUtils.class
new file mode 100644
index 0000000..1a391d2
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/BuyAndSellUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/GeneratePosition.class b/target/classes/com/nq/utils/stock/GeneratePosition.class
new file mode 100644
index 0000000..a4ca177
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/GeneratePosition.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/GetStayDays.class b/target/classes/com/nq/utils/stock/GetStayDays.class
new file mode 100644
index 0000000..6992bcc
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/GetStayDays.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/SerializeUtil.class b/target/classes/com/nq/utils/stock/SerializeUtil.class
new file mode 100644
index 0000000..178ca74
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/SerializeUtil.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/WithDrawUtils.class b/target/classes/com/nq/utils/stock/WithDrawUtils.class
new file mode 100644
index 0000000..6bbd933
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/WithDrawUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/lide/LiDeDataUtils.class b/target/classes/com/nq/utils/stock/lide/LiDeDataUtils.class
new file mode 100644
index 0000000..c8903d2
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/lide/LiDeDataUtils.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/lide/LideDataVo.class b/target/classes/com/nq/utils/stock/lide/LideDataVo.class
new file mode 100644
index 0000000..84ae091
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/lide/LideDataVo.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/lide/LideRankDataVo.class b/target/classes/com/nq/utils/stock/lide/LideRankDataVo.class
new file mode 100644
index 0000000..ad75dd0
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/lide/LideRankDataVo.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/pinyin/GetPyByChinese.class b/target/classes/com/nq/utils/stock/pinyin/GetPyByChinese.class
new file mode 100644
index 0000000..e16ebc4
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/pinyin/GetPyByChinese.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/qq/QqStockApi$1.class b/target/classes/com/nq/utils/stock/qq/QqStockApi$1.class
new file mode 100644
index 0000000..6658854
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/qq/QqStockApi$1.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/qq/QqStockApi.class b/target/classes/com/nq/utils/stock/qq/QqStockApi.class
new file mode 100644
index 0000000..3f1f33f
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/qq/QqStockApi.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/SinaStockApi$1.class b/target/classes/com/nq/utils/stock/sina/SinaStockApi$1.class
new file mode 100644
index 0000000..efd9781
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/SinaStockApi$1.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/SinaStockApi$2.class b/target/classes/com/nq/utils/stock/sina/SinaStockApi$2.class
new file mode 100644
index 0000000..a25d241
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/SinaStockApi$2.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/SinaStockApi$3.class b/target/classes/com/nq/utils/stock/sina/SinaStockApi$3.class
new file mode 100644
index 0000000..f681eb7
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/SinaStockApi$3.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/SinaStockApi$4.class b/target/classes/com/nq/utils/stock/sina/SinaStockApi$4.class
new file mode 100644
index 0000000..ecfb349
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/SinaStockApi$4.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/SinaStockApi.class b/target/classes/com/nq/utils/stock/sina/SinaStockApi.class
new file mode 100644
index 0000000..6df2c9c
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/SinaStockApi.class
Binary files differ
diff --git a/target/classes/com/nq/utils/stock/sina/vo/SinaStockMinData.class b/target/classes/com/nq/utils/stock/sina/vo/SinaStockMinData.class
new file mode 100644
index 0000000..4ba03ed
--- /dev/null
+++ b/target/classes/com/nq/utils/stock/sina/vo/SinaStockMinData.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/futures/ForceSellFuturesTask.class b/target/classes/com/nq/utils/task/futures/ForceSellFuturesTask.class
new file mode 100644
index 0000000..dbcd75e
--- /dev/null
+++ b/target/classes/com/nq/utils/task/futures/ForceSellFuturesTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/index/ForceSellIndexTask.class b/target/classes/com/nq/utils/task/index/ForceSellIndexTask.class
new file mode 100644
index 0000000..0c8f18b
--- /dev/null
+++ b/target/classes/com/nq/utils/task/index/ForceSellIndexTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/news/NewsTask.class b/target/classes/com/nq/utils/task/news/NewsTask.class
new file mode 100644
index 0000000..910f578
--- /dev/null
+++ b/target/classes/com/nq/utils/task/news/NewsTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/ClosingStayTask.class b/target/classes/com/nq/utils/task/stock/ClosingStayTask.class
new file mode 100644
index 0000000..0c7d04d
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/ClosingStayTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/ForceSellTask.class b/target/classes/com/nq/utils/task/stock/ForceSellTask.class
new file mode 100644
index 0000000..e16c11a
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/ForceSellTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/NewStockTask.class b/target/classes/com/nq/utils/task/stock/NewStockTask.class
new file mode 100644
index 0000000..2f72f82
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/NewStockTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/RealTimeTask.class b/target/classes/com/nq/utils/task/stock/RealTimeTask.class
new file mode 100644
index 0000000..89a6041
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/RealTimeTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/SaveDayMarketsTask.class b/target/classes/com/nq/utils/task/stock/SaveDayMarketsTask.class
new file mode 100644
index 0000000..968443c
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/SaveDayMarketsTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/StockListTask.class b/target/classes/com/nq/utils/task/stock/StockListTask.class
new file mode 100644
index 0000000..f7f701a
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/StockListTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/StockOthersTask.class b/target/classes/com/nq/utils/task/stock/StockOthersTask.class
new file mode 100644
index 0000000..be2ab7d
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/StockOthersTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/StockShTask.class b/target/classes/com/nq/utils/task/stock/StockShTask.class
new file mode 100644
index 0000000..d4888ab
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/StockShTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/stock/StockTask.class b/target/classes/com/nq/utils/task/stock/StockTask.class
new file mode 100644
index 0000000..7f9f50e
--- /dev/null
+++ b/target/classes/com/nq/utils/task/stock/StockTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/task/user/UserAssetAuditTask.class b/target/classes/com/nq/utils/task/user/UserAssetAuditTask.class
new file mode 100644
index 0000000..6d38e7a
--- /dev/null
+++ b/target/classes/com/nq/utils/task/user/UserAssetAuditTask.class
Binary files differ
diff --git a/target/classes/com/nq/utils/translate/GoogleTranslateUtil.class b/target/classes/com/nq/utils/translate/GoogleTranslateUtil.class
new file mode 100644
index 0000000..fcc98e7
--- /dev/null
+++ b/target/classes/com/nq/utils/translate/GoogleTranslateUtil.class
Binary files differ
diff --git a/target/classes/com/nq/vo/admin/AdminCountVO.class b/target/classes/com/nq/vo/admin/AdminCountVO.class
new file mode 100644
index 0000000..00d1107
--- /dev/null
+++ b/target/classes/com/nq/vo/admin/AdminCountVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentAgencyFeeVO.class b/target/classes/com/nq/vo/agent/AgentAgencyFeeVO.class
new file mode 100644
index 0000000..deb178f
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentAgencyFeeVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentIncomeVO.class b/target/classes/com/nq/vo/agent/AgentIncomeVO.class
new file mode 100644
index 0000000..39d25c2
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentIncomeVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentInfoVO.class b/target/classes/com/nq/vo/agent/AgentInfoVO.class
new file mode 100644
index 0000000..c663896
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentInfoVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentLoginResultVO.class b/target/classes/com/nq/vo/agent/AgentLoginResultVO.class
new file mode 100644
index 0000000..0088281
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentLoginResultVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentSecondInfoVO.class b/target/classes/com/nq/vo/agent/AgentSecondInfoVO.class
new file mode 100644
index 0000000..1c67c17
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentSecondInfoVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/agent/AgentUserListVO.class b/target/classes/com/nq/vo/agent/AgentUserListVO.class
new file mode 100644
index 0000000..cf239a1
--- /dev/null
+++ b/target/classes/com/nq/vo/agent/AgentUserListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/foreigncurrency/ExchangeVO.class b/target/classes/com/nq/vo/foreigncurrency/ExchangeVO.class
new file mode 100644
index 0000000..b3ace53
--- /dev/null
+++ b/target/classes/com/nq/vo/foreigncurrency/ExchangeVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/futuresposition/AdminFuturesPositionVO.class b/target/classes/com/nq/vo/futuresposition/AdminFuturesPositionVO.class
new file mode 100644
index 0000000..6036dcc
--- /dev/null
+++ b/target/classes/com/nq/vo/futuresposition/AdminFuturesPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/futuresposition/AgentFuturesPositionVO.class b/target/classes/com/nq/vo/futuresposition/AgentFuturesPositionVO.class
new file mode 100644
index 0000000..783c469
--- /dev/null
+++ b/target/classes/com/nq/vo/futuresposition/AgentFuturesPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/futuresposition/FuturesPositionProfitVO.class b/target/classes/com/nq/vo/futuresposition/FuturesPositionProfitVO.class
new file mode 100644
index 0000000..8b81673
--- /dev/null
+++ b/target/classes/com/nq/vo/futuresposition/FuturesPositionProfitVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/futuresposition/FuturesPositionVO.class b/target/classes/com/nq/vo/futuresposition/FuturesPositionVO.class
new file mode 100644
index 0000000..9d26d9a
--- /dev/null
+++ b/target/classes/com/nq/vo/futuresposition/FuturesPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/futuresposition/UserFuturesPositionVO.class b/target/classes/com/nq/vo/futuresposition/UserFuturesPositionVO.class
new file mode 100644
index 0000000..e4d415d
--- /dev/null
+++ b/target/classes/com/nq/vo/futuresposition/UserFuturesPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/indexposition/AdminIndexPositionVO.class b/target/classes/com/nq/vo/indexposition/AdminIndexPositionVO.class
new file mode 100644
index 0000000..1f08a7a
--- /dev/null
+++ b/target/classes/com/nq/vo/indexposition/AdminIndexPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/indexposition/AgentIndexPositionVO.class b/target/classes/com/nq/vo/indexposition/AgentIndexPositionVO.class
new file mode 100644
index 0000000..d042594
--- /dev/null
+++ b/target/classes/com/nq/vo/indexposition/AgentIndexPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/indexposition/IndexPositionProfitVO.class b/target/classes/com/nq/vo/indexposition/IndexPositionProfitVO.class
new file mode 100644
index 0000000..7d2175a
--- /dev/null
+++ b/target/classes/com/nq/vo/indexposition/IndexPositionProfitVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/indexposition/IndexPositionVO.class b/target/classes/com/nq/vo/indexposition/IndexPositionVO.class
new file mode 100644
index 0000000..719003f
--- /dev/null
+++ b/target/classes/com/nq/vo/indexposition/IndexPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/indexposition/UserIndexPositionVO.class b/target/classes/com/nq/vo/indexposition/UserIndexPositionVO.class
new file mode 100644
index 0000000..7ff01b4
--- /dev/null
+++ b/target/classes/com/nq/vo/indexposition/UserIndexPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/pay/FlyPayVO.class b/target/classes/com/nq/vo/pay/FlyPayVO.class
new file mode 100644
index 0000000..0e81330
--- /dev/null
+++ b/target/classes/com/nq/vo/pay/FlyPayVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/pay/GuoPayVO.class b/target/classes/com/nq/vo/pay/GuoPayVO.class
new file mode 100644
index 0000000..b5e5d1a
--- /dev/null
+++ b/target/classes/com/nq/vo/pay/GuoPayVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/pay/OcocnPayVO.class b/target/classes/com/nq/vo/pay/OcocnPayVO.class
new file mode 100644
index 0000000..74a274b
--- /dev/null
+++ b/target/classes/com/nq/vo/pay/OcocnPayVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/pay/PayInfo.class b/target/classes/com/nq/vo/pay/PayInfo.class
new file mode 100644
index 0000000..3ca9b5c
--- /dev/null
+++ b/target/classes/com/nq/vo/pay/PayInfo.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/AdminPositionVO.class b/target/classes/com/nq/vo/position/AdminPositionVO.class
new file mode 100644
index 0000000..c0cf81d
--- /dev/null
+++ b/target/classes/com/nq/vo/position/AdminPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/AgentPositionVO.class b/target/classes/com/nq/vo/position/AgentPositionVO.class
new file mode 100644
index 0000000..73d37df
--- /dev/null
+++ b/target/classes/com/nq/vo/position/AgentPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/PositionProfitVO.class b/target/classes/com/nq/vo/position/PositionProfitVO.class
new file mode 100644
index 0000000..b9ff238
--- /dev/null
+++ b/target/classes/com/nq/vo/position/PositionProfitVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/PositionVO.class b/target/classes/com/nq/vo/position/PositionVO.class
new file mode 100644
index 0000000..dcd178a
--- /dev/null
+++ b/target/classes/com/nq/vo/position/PositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/UserPendingorderVO.class b/target/classes/com/nq/vo/position/UserPendingorderVO.class
new file mode 100644
index 0000000..857a8de
--- /dev/null
+++ b/target/classes/com/nq/vo/position/UserPendingorderVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/position/UserPositionVO.class b/target/classes/com/nq/vo/position/UserPositionVO.class
new file mode 100644
index 0000000..c096ba0
--- /dev/null
+++ b/target/classes/com/nq/vo/position/UserPositionVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/ChartCellVO.class b/target/classes/com/nq/vo/stock/ChartCellVO.class
new file mode 100644
index 0000000..f99e9d4
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/ChartCellVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/MarketVO.class b/target/classes/com/nq/vo/stock/MarketVO.class
new file mode 100644
index 0000000..327d4d3
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/MarketVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/MarketVOResult.class b/target/classes/com/nq/vo/stock/MarketVOResult.class
new file mode 100644
index 0000000..98c9141
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/MarketVOResult.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockAdminListVO.class b/target/classes/com/nq/vo/stock/StockAdminListVO.class
new file mode 100644
index 0000000..26333f8
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockAdminListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockDzVo.class b/target/classes/com/nq/vo/stock/StockDzVo.class
new file mode 100644
index 0000000..c5f8c26
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockDzVo.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockListVO.class b/target/classes/com/nq/vo/stock/StockListVO.class
new file mode 100644
index 0000000..54e5e1e
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockOptionListVO.class b/target/classes/com/nq/vo/stock/StockOptionListVO.class
new file mode 100644
index 0000000..e49aa24
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockOptionListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockUsVO.class b/target/classes/com/nq/vo/stock/StockUsVO.class
new file mode 100644
index 0000000..0708d62
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockUsVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/StockVO.class b/target/classes/com/nq/vo/stock/StockVO.class
new file mode 100644
index 0000000..44991b4
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/StockVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/k/MinDataVO.class b/target/classes/com/nq/vo/stock/k/MinDataVO.class
new file mode 100644
index 0000000..999079d
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/k/MinDataVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stock/k/echarts/EchartsDataVO.class b/target/classes/com/nq/vo/stock/k/echarts/EchartsDataVO.class
new file mode 100644
index 0000000..9f5f85a
--- /dev/null
+++ b/target/classes/com/nq/vo/stock/k/echarts/EchartsDataVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stockfutures/CoinAdminListVO.class b/target/classes/com/nq/vo/stockfutures/CoinAdminListVO.class
new file mode 100644
index 0000000..ddae2c2
--- /dev/null
+++ b/target/classes/com/nq/vo/stockfutures/CoinAdminListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stockfutures/FuturesAdminListVO.class b/target/classes/com/nq/vo/stockfutures/FuturesAdminListVO.class
new file mode 100644
index 0000000..cb785b4
--- /dev/null
+++ b/target/classes/com/nq/vo/stockfutures/FuturesAdminListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stockfutures/FuturesVO.class b/target/classes/com/nq/vo/stockfutures/FuturesVO.class
new file mode 100644
index 0000000..77d4e1c
--- /dev/null
+++ b/target/classes/com/nq/vo/stockfutures/FuturesVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stockfutures/StockFuturesListVO.class b/target/classes/com/nq/vo/stockfutures/StockFuturesListVO.class
new file mode 100644
index 0000000..f68e28e
--- /dev/null
+++ b/target/classes/com/nq/vo/stockfutures/StockFuturesListVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/stockindex/StockIndexVO.class b/target/classes/com/nq/vo/stockindex/StockIndexVO.class
new file mode 100644
index 0000000..c183f25
--- /dev/null
+++ b/target/classes/com/nq/vo/stockindex/StockIndexVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/user/UserBankInfoVO.class b/target/classes/com/nq/vo/user/UserBankInfoVO.class
new file mode 100644
index 0000000..b5e6ec5
--- /dev/null
+++ b/target/classes/com/nq/vo/user/UserBankInfoVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/user/UserInfoVO.class b/target/classes/com/nq/vo/user/UserInfoVO.class
new file mode 100644
index 0000000..343ed00
--- /dev/null
+++ b/target/classes/com/nq/vo/user/UserInfoVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/user/UserLoginResultVO.class b/target/classes/com/nq/vo/user/UserLoginResultVO.class
new file mode 100644
index 0000000..a1d2898
--- /dev/null
+++ b/target/classes/com/nq/vo/user/UserLoginResultVO.class
Binary files differ
diff --git a/target/classes/com/nq/vo/user/UserWithdrawVO.class b/target/classes/com/nq/vo/user/UserWithdrawVO.class
new file mode 100644
index 0000000..b945485
--- /dev/null
+++ b/target/classes/com/nq/vo/user/UserWithdrawVO.class
Binary files differ
diff --git a/target/classes/email/auth.html b/target/classes/email/auth.html
new file mode 100644
index 0000000..70a345c
--- /dev/null
+++ b/target/classes/email/auth.html
@@ -0,0 +1,85 @@
+<html >
+<head>
+ <title>支付通知邮件</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <style type="text/css">
+ body{
+ font-size: 10pt;
+ }
+ .header,.content,.footer{
+ /*width: 600px;*/
+ /*height: 180px;*/
+ }
+ .footer{
+ text-align: right;
+ }
+ #name{
+ color: grey;
+ }
+ #message{
+ color: grey;
+ }
+ </style>
+</head>
+<body>
+<div class="header">
+ <!--<img src="http://www.zhku.edu.cn/images/logo.jpg" alt="zhkulogo"/>-->
+</div>
+
+<div class="content">
+ <h2 id="noticeName">你好,管理员</h2>
+
+ <div style="line-height: 2em;font-size: 15px;color: blue;">
+ <h2>有新的支付订单,尽快处理,当前凭证五分钟之内有效,未处理token失效</h2>
+
+ <br/>
+ 客户ID:<span id="userid"> </span>
+ <br/>
+ 客户姓名:<span id="realname"> </span>
+ <br/>
+ 订单金额 : <span style="color: red;font-size: 16px;" id="amt"> </span>
+ <br/>
+ 订单号: <span id="ordersn"></span>
+ <br/>
+ 订单时间(<span id="time"></span>)
+ <br/>
+
+ <!--<h2>操作 - 若链接不能点击请复制链接到浏览器访问</h2>-->
+
+ <br/>
+ <span id="dosuccessurl">
+ http://
+ </span>
+ <br/>
+ <a id="dosuccess" href="http://baidu.com">
+ 充值成功
+ </a>
+
+
+ <br/><br/>
+ <span id="dofailurl">
+ http://
+ </span>
+ <br/>
+ <a id="dofail" href="http://baidu.com">
+ 充值失败
+ </a>
+
+ <br/><br/>
+ <span id="docancelurl">
+ http://
+ </span>
+ <br/>
+ <a id="docancel" href="http://baidu.com">
+ 取消订单
+ </a>
+
+ <br/><br/><br/><br/>
+
+ </div>
+
+ <br/>
+ <br/>
+</div>
+</body>
+</html>
\ No newline at end of file
diff --git a/target/classes/mapper/AgentAgencyFeeMapper.xml b/target/classes/mapper/AgentAgencyFeeMapper.xml
new file mode 100644
index 0000000..04bb2df
--- /dev/null
+++ b/target/classes/mapper/AgentAgencyFeeMapper.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.AgentAgencyFeeMapper">
+ <resultMap id="BaseResultMap" type="com.nq.pojo.AgentAgencyFee" >
+ <result column="id" property="id" />
+ <result column="agent_id" property="agentId" />
+ <result column="status" property="status" />
+ <result column="business_id" property="businessId" />
+ <result column="fee_type" property="feeType" />
+ <result column="ayment_type" property="aymentType" />
+ <result column="total_money" property="totalMoney" />
+ <result column="profit_money" property="profitMoney" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="remarks" property="remarks" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ agent_id,
+ status,
+ business_id,
+ fee_type,
+ ayment_type,
+ total_money,
+ profit_money,
+ add_time,
+ update_time,
+ remarks
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.AgentAgencyFee">
+ INSERT INTO agent_agency_fee
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != agentId'>
+ agent_id,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != businessId'>
+ business_id,
+ </if>
+ <if test ='null != feeType'>
+ fee_type,
+ </if>
+ <if test ='null != aymentType'>
+ ayment_type,
+ </if>
+ <if test ='null != totalMoney'>
+ total_money,
+ </if>
+ <if test ='null != profitMoney'>
+ profit_money,
+ </if>
+ add_time,
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != remarks'>
+ remarks
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != agentId'>
+ #{agentId},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != businessId'>
+ #{businessId},
+ </if>
+ <if test ='null != feeType'>
+ #{feeType},
+ </if>
+ <if test ='null != aymentType'>
+ #{aymentType},
+ </if>
+ <if test ='null != totalMoney'>
+ #{totalMoney},
+ </if>
+ <if test ='null != profitMoney'>
+ #{profitMoney},
+ </if>
+ now(),
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != remarks'>
+ #{remarks}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM agent_agency_fee
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.AgentAgencyFee">
+ UPDATE agent_agency_fee
+ <set>
+ <if test ='null != agentId'>agent_id = #{agentId},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != businessId'>business_id = #{businessId},</if>
+ <if test ='null != feeType'>fee_type = #{feeType},</if>
+ <if test ='null != aymentType'>ayment_type = #{aymentType},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != remarks'>remarks = #{remarks}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM agent_agency_fee
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM agent_agency_fee
+ LIMIT #{offset}, #{pageSize}
+ </select>
+
+ <select id="getAgentAgencyFeeList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM agent_agency_fee
+ WHERE agent_id = #{agent_id} and status = 1
+ order by id asc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM agent_agency_fee
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/AgentDistributionUserMapper.xml b/target/classes/mapper/AgentDistributionUserMapper.xml
new file mode 100644
index 0000000..b387afb
--- /dev/null
+++ b/target/classes/mapper/AgentDistributionUserMapper.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.AgentDistributionUserMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.AgentDistributionUser" >
+ <result column="id" property="id" />
+ <result column="agent_id" property="agentId" />
+ <result column="parent_id" property="parentId" />
+ <result column="parent_level" property="parentLevel" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ agent_id,
+ parent_id,
+ parent_level,
+ add_time,
+ update_time
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.AgentDistributionUser">
+ INSERT INTO agent_distribution_user
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != agentId'>
+ agent_id,
+ </if>
+ <if test ='null != parentId'>
+ parent_id,
+ </if>
+ <if test ='null != parentLevel'>
+ parent_level,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != agentId'>
+ #{agentId},
+ </if>
+ <if test ='null != parentId'>
+ #{parentId},
+ </if>
+ <if test ='null != parentLevel'>
+ #{parentLevel},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime}
+ </if>
+ </trim>
+ </insert>
+
+ <update id="update" parameterType="com.nq.pojo.AgentDistributionUser">
+ UPDATE agent_distribution_user
+ <set>
+ <if test ='null != agentId'>agent_id = #{agentId},</if>
+ <if test ='null != parentId'>parent_id = #{parentId},</if>
+ <if test ='null != parentLevel'>parent_level = #{parentLevel},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM agent_distribution_user
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM agent_distribution_user
+ LIMIT #{offset}, #{pageSize}
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM agent_distribution_user
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/AgentUserMapper.xml b/target/classes/mapper/AgentUserMapper.xml
new file mode 100644
index 0000000..a24fda6
--- /dev/null
+++ b/target/classes/mapper/AgentUserMapper.xml
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.AgentUserMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.AgentUser" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="agent_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_pwd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_real_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="parent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="parent_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_level" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="poundage_scale" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="deferred_fees_scale" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="receive_dividends_scale" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="total_money" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="site_lever" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, agent_name, agent_pwd, agent_real_name, agent_phone, agent_code, add_time, is_lock,
+ parent_id, parent_name, agent_level,poundage_scale,deferred_fees_scale,receive_dividends_scale,total_money,site_lever
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from agent_user
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from agent_user
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.AgentUser" >
+ insert into agent_user (agent_name, agent_pwd,
+ agent_real_name, agent_phone, agent_code,
+ add_time, is_lock, parent_id,
+ parent_name, agent_level,poundage_scale,deferred_fees_scale,receive_dividends_scale,total_money,site_lever)
+ values (#{agentName,jdbcType=VARCHAR}, #{agentPwd,jdbcType=VARCHAR},
+ #{agentRealName,jdbcType=VARCHAR}, #{agentPhone,jdbcType=VARCHAR}, #{agentCode,jdbcType=VARCHAR},
+ #{addTime,jdbcType=TIMESTAMP}, #{isLock,jdbcType=INTEGER}, #{parentId,jdbcType=INTEGER},
+ #{parentName,jdbcType=VARCHAR}, #{agentLevel,jdbcType=INTEGER}
+ , #{poundageScale,jdbcType=DECIMAL}, #{deferredFeesScale,jdbcType=DECIMAL}, #{receiveDividendsScale,jdbcType=DECIMAL}
+ , #{totalMoney,jdbcType=DECIMAL},#{siteLever,jdbcType=VARCHAR}
+ )
+
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.AgentUser" >
+ insert into agent_user
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="agentName != null" >
+ agent_name,
+ </if>
+ <if test="agentPwd != null" >
+ agent_pwd,
+ </if>
+ <if test="agentRealName != null" >
+ agent_real_name,
+ </if>
+ <if test="agentPhone != null" >
+ agent_phone,
+ </if>
+ <if test="agentCode != null" >
+ agent_code,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="parentId != null" >
+ parent_id,
+ </if>
+ <if test="parentName != null" >
+ parent_name,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="agentName != null" >
+ #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentPwd != null" >
+ #{agentPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="agentRealName != null" >
+ #{agentRealName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentPhone != null" >
+ #{agentPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="agentCode != null" >
+ #{agentCode,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="parentId != null" >
+ #{parentId,jdbcType=INTEGER},
+ </if>
+ <if test="parentName != null" >
+ #{parentName,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.AgentUser" >
+ update agent_user
+ <set >
+ <if test="agentName != null" >
+ agent_name = #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentPwd != null" >
+ agent_pwd = #{agentPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="agentRealName != null" >
+ agent_real_name = #{agentRealName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentPhone != null" >
+ agent_phone = #{agentPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="agentCode != null" >
+ agent_code = #{agentCode,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="parentId != null" >
+ parent_id = #{parentId,jdbcType=INTEGER},
+ </if>
+ <if test="parentName != null" >
+ parent_name = #{parentName,jdbcType=VARCHAR},
+ </if>
+ <!--<if test="agentLevel != null" >
+ agent_level = #{agentLevel,jdbcType=INTEGER},
+ </if>-->
+ <if test="poundageScale != null" >
+ poundage_scale = #{poundageScale,jdbcType=DECIMAL},
+ </if>
+ <if test="deferredFeesScale != null" >
+ deferred_fees_scale = #{deferredFeesScale,jdbcType=DECIMAL},
+ </if>
+ <if test="receiveDividendsScale != null" >
+ receive_dividends_scale = #{receiveDividendsScale,jdbcType=DECIMAL},
+ </if>
+ <if test="siteLever != null" >
+ site_lever = #{siteLever,jdbcType=VARCHAR},
+ </if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.AgentUser" >
+ update agent_user
+ set agent_name = #{agentName,jdbcType=VARCHAR},
+ agent_pwd = #{agentPwd,jdbcType=VARCHAR},
+ agent_real_name = #{agentRealName,jdbcType=VARCHAR},
+ agent_phone = #{agentPhone,jdbcType=VARCHAR},
+ agent_code = #{agentCode,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ parent_id = #{parentId,jdbcType=INTEGER},
+ parent_name = #{parentName,jdbcType=VARCHAR},
+ site_lever = #{siteLever,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+ <update id="updateAgentCode" parameterType="com.nq.pojo.AgentUser" >
+ update agent_user
+ set
+ agent_code = #{agentCode,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+ <select id="findByCode" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ WHERE agent_code = #{agentCode}
+ </select>
+
+ <select id="findByPhone" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ WHERE agent_phone = #{agentPhone}
+ </select>
+
+ <select id="findByName" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ WHERE agent_name = #{agentName}
+ </select>
+
+
+ <select id="login" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ WHERE agent_phone = #{agentPhone} and agent_pwd = #{agentPwd}
+ </select>
+
+ <select id="getSecondAgent" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ WHERE parent_id = #{uid}
+ </select>
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM agent_user
+ <where>
+ <if test="realName != null and realName != '' ">
+ and agent_real_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="phone != null and phone != '' ">
+ and agent_phone like CONCAT('%','${phone}','%')
+ </if>
+ <if test="id != null and id != 0 ">
+ and parent_id = ${id}
+ </if>
+ </where>
+ </select>
+
+ <select id="CountAgentNum" resultType="int">
+ SELECT COUNT(id) FROM agent_user
+ </select>
+
+ <!--查询代理所有上级-->
+ <select id="getAgentSuperiorList" parameterType="integer" resultMap="BaseResultMap">
+ select a.* FROM agent_user a
+ left join agent_distribution_user d on d.parent_id = a.id
+ WHERE d.agent_id = #{agentId}
+ order by a.agent_level asc
+ </select>
+
+ <!--根据代理id查询代理信息-->
+ <select id="findAgentByAgentId" resultMap="BaseResultMap" parameterType="int">
+ select
+ <include refid="Base_Column_List"/>
+ from agent_user
+ where id = #{agentId}
+ </select>
+
+ <!--修改代理总资金-->
+ <update id="updateTotalMoney" parameterType="com.nq.pojo.AgentUser" >
+ update agent_user set total_money = ifnull(total_money,0)+#{totalMoney} where id = #{id}
+ </update>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/ContractImageMapper.xml b/target/classes/mapper/ContractImageMapper.xml
new file mode 100644
index 0000000..9aec2bc
--- /dev/null
+++ b/target/classes/mapper/ContractImageMapper.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.ContractImageMapper">
+ <resultMap id="BaseResultMap" type="com.nq.pojo.ContractImage">
+ <id column="id" property="id" jdbcType="INTEGER"/>
+ <result column="user_id" property="userId" jdbcType="INTEGER"/>
+ <result column="contract_type" property="contractType" jdbcType="VARCHAR"/>
+ <result column="address" property="address" jdbcType="VARCHAR"/>
+ <result column="add_time" property="addTime" jdbcType="TIMESTAMP"/>
+ </resultMap>
+
+ <select id="selectByUserIdAndType" resultMap="BaseResultMap">
+ select * from contract_image
+ where user_id = #{userId} and contract_type = #{contractType}
+ order by add_time asc
+ </select>
+</mapper>
diff --git a/target/classes/mapper/ConvertBondApplyMapper.xml b/target/classes/mapper/ConvertBondApplyMapper.xml
new file mode 100644
index 0000000..e4b7ac5
--- /dev/null
+++ b/target/classes/mapper/ConvertBondApplyMapper.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.ConvertBondApplyMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.ConvertBondApply">
+ <id property="id" column="id" jdbcType="INTEGER"/>
+ <result property="agentId" column="agent_id" jdbcType="INTEGER"/>
+ <result property="userId" column="user_id" jdbcType="INTEGER"/>
+ <result property="phone" column="phone" jdbcType="VARCHAR"/>
+ <result property="bondId" column="bond_id" jdbcType="INTEGER"/>
+ <result property="applyMoney" column="apply_money" jdbcType="DECIMAL"/>
+ <result property="applyNum" column="apply_num" jdbcType="INTEGER"/>
+ <result property="sucNum" column="suc_num" jdbcType="INTEGER"/>
+ <result property="sucMony" column="suc_mony" jdbcType="DECIMAL"/>
+ <result property="applyDate" column="apply_date" jdbcType="TIMESTAMP"/>
+ <result property="status" column="status" jdbcType="INTEGER"/>
+ <result property="refundMony" column="refund_mony" jdbcType="DECIMAL"/>
+ <result property="sucDate" column="suc_date" jdbcType="TIMESTAMP"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,agent_id,user_id,
+ phone,bond_id,apply_money,
+ apply_num,suc_num,suc_mony,
+ apply_date,status,refund_mony,
+ suc_date
+ </sql>
+</mapper>
diff --git a/target/classes/mapper/ConvertBondMapper.xml b/target/classes/mapper/ConvertBondMapper.xml
new file mode 100644
index 0000000..44ec80d
--- /dev/null
+++ b/target/classes/mapper/ConvertBondMapper.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.ConvertBondMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.ConvertBond">
+ <id property="id" column="id" jdbcType="INTEGER"/>
+ <result property="bondBuyCode" column="bond_buy_code" jdbcType="VARCHAR"/>
+ <result property="bondName" column="bond_name" jdbcType="VARCHAR"/>
+ <result property="bondType" column="bond_type" jdbcType="VARCHAR"/>
+ <result property="bondCode" column="bond_code" jdbcType="VARCHAR"/>
+ <result property="stockCode" column="stock_code" jdbcType="VARCHAR"/>
+ <result property="price" column="price" jdbcType="DECIMAL"/>
+ <result property="applyDate" column="apply_date" jdbcType="TIMESTAMP"/>
+ <result property="pubDate" column="pub_date" jdbcType="TIMESTAMP"/>
+ <result property="listDate" column="list_date" jdbcType="TIMESTAMP"/>
+ <result property="surplus" column="surplus" jdbcType="INTEGER"/>
+ <result property="applyLimit" column="apply_limit" jdbcType="INTEGER"/>
+ <result property="status" column="status" jdbcType="INTEGER"/>
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,bond_buy_code,bond_name,
+ bond_type,bond_code,stock_code,
+ price,apply_date,pub_date,
+ list_date,surplus,apply_limit,
+ status,create_time
+ </sql>
+</mapper>
diff --git a/target/classes/mapper/FundsAppendMapper.xml b/target/classes/mapper/FundsAppendMapper.xml
new file mode 100644
index 0000000..1ec1e9e
--- /dev/null
+++ b/target/classes/mapper/FundsAppendMapper.xml
@@ -0,0 +1,297 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsAppendMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsAppend" >
+ <result column="id" property="id" />
+ <result column="append_type" property="appendType" />
+ <result column="apply_id" property="applyId" />
+ <result column="user_id" property="userId" />
+ <result column="user_name" property="userName" />
+ <result column="user_phone" property="userPhone" />
+ <result column="funds_type" property="fundsType" />
+ <result column="margin" property="margin" />
+ <result column="funds_amount" property="fundsAmount" />
+ <result column="traders_cycle" property="tradersCycle" />
+ <result column="lever" property="lever" />
+ <result column="manage_fee" property="manageFee" />
+ <result column="total_trading_amount" property="totalTradingAmount" />
+ <result column="append_cycle" property="appendCycle" />
+ <result column="append_service_fee" property="appendServiceFee" />
+ <result column="append_margin" property="appendMargin" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="audit_time" property="auditTime" />
+ <result column="end_time" property="endTime" />
+ <result column="line_warning" property="lineWarning" />
+ <result column="line_unwind" property="lineUnwind" />
+ <result column="ratio_warning" property="ratioWarning" />
+ <result column="ratio_unwind" property="ratioUnwind" />
+ <result column="pay_amount" property="payAmount" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ append_type,
+ apply_id,
+ user_id,
+ user_name,
+ user_phone,
+ funds_type,
+ margin,
+ funds_amount,
+ traders_cycle,
+ lever,
+ manage_fee,
+ total_trading_amount,
+ append_cycle,
+ append_service_fee,
+ append_margin,
+ status,
+ add_time,
+ update_time,
+ audit_time,
+ end_time,
+ line_warning,
+ line_unwind,
+ ratio_warning,
+ ratio_unwind,
+ pay_amount
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsAppend">
+ INSERT INTO funds_append
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != appendType'>
+ append_type,
+ </if>
+ <if test ='null != applyId'>
+ apply_id,
+ </if>
+ <if test ='null != userId'>
+ user_id,
+ </if>
+ <if test ='null != userName'>
+ user_name,
+ </if>
+ <if test ='null != userPhone'>
+ user_phone,
+ </if>
+ <if test ='null != fundsType'>
+ funds_type,
+ </if>
+ <if test ='null != margin'>
+ margin,
+ </if>
+ <if test ='null != fundsAmount'>
+ funds_amount,
+ </if>
+ <if test ='null != tradersCycle'>
+ traders_cycle,
+ </if>
+ <if test ='null != lever'>
+ lever,
+ </if>
+ <if test ='null != manageFee'>
+ manage_fee,
+ </if>
+ <if test ='null != totalTradingAmount'>
+ total_trading_amount,
+ </if>
+ <if test ='null != appendCycle'>
+ append_cycle,
+ </if>
+ <if test ='null != appendServiceFee'>
+ append_service_fee,
+ </if>
+ <if test ='null != appendMargin'>
+ append_margin,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != auditTime'>
+ audit_time,
+ </if>
+ <if test ='null != endTime'>
+ end_time,
+ </if>
+ <if test ='null != lineWarning'>
+ line_warning,
+ </if>
+ <if test ='null != lineUnwind'>
+ line_unwind,
+ </if>
+ <if test ='null != ratioWarning'>
+ ratio_warning,
+ </if>
+ <if test ='null != ratioUnwind'>
+ ratio_unwind,
+ </if>
+ <if test ='null != payAmount'>
+ pay_amount
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != appendType'>
+ #{appendType},
+ </if>
+ <if test ='null != applyId'>
+ #{applyId},
+ </if>
+ <if test ='null != userId'>
+ #{userId},
+ </if>
+ <if test ='null != userName'>
+ #{userName},
+ </if>
+ <if test ='null != userPhone'>
+ #{userPhone},
+ </if>
+ <if test ='null != fundsType'>
+ #{fundsType},
+ </if>
+ <if test ='null != margin'>
+ #{margin},
+ </if>
+ <if test ='null != fundsAmount'>
+ #{fundsAmount},
+ </if>
+ <if test ='null != tradersCycle'>
+ #{tradersCycle},
+ </if>
+ <if test ='null != lever'>
+ #{lever},
+ </if>
+ <if test ='null != manageFee'>
+ #{manageFee},
+ </if>
+ <if test ='null != totalTradingAmount'>
+ #{totalTradingAmount},
+ </if>
+ <if test ='null != appendCycle'>
+ #{appendCycle},
+ </if>
+ <if test ='null != appendServiceFee'>
+ #{appendServiceFee},
+ </if>
+ <if test ='null != appendMargin'>
+ #{appendMargin},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != auditTime'>
+ #{auditTime},
+ </if>
+ <if test ='null != endTime'>
+ #{endTime},
+ </if>
+ <if test ='null != lineWarning'>
+ #{lineWarning},
+ </if>
+ <if test ='null != lineUnwind'>
+ #{lineUnwind},
+ </if>
+ <if test ='null != ratioWarning'>
+ #{ratioWarning},
+ </if>
+ <if test ='null != ratioUnwind'>
+ #{ratioUnwind},
+ </if>
+ <if test ='null != payAmount'>
+ #{payAmount}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_append
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsAppend">
+ UPDATE funds_append
+ <set>
+ <if test ='null != appendType'>append_type = #{appendType},</if>
+ <if test ='null != applyId'>apply_id = #{applyId},</if>
+ <if test ='null != userId'>user_id = #{userId},</if>
+ <if test ='null != userName'>user_name = #{userName},</if>
+ <if test ='null != userPhone'>user_phone = #{userPhone},</if>
+ <if test ='null != fundsType'>funds_type = #{fundsType},</if>
+ <if test ='null != margin'>margin = #{margin},</if>
+ <if test ='null != fundsAmount'>funds_amount = #{fundsAmount},</if>
+ <if test ='null != tradersCycle'>traders_cycle = #{tradersCycle},</if>
+ <if test ='null != lever'>lever = #{lever},</if>
+ <if test ='null != manageFee'>manage_fee = #{manageFee},</if>
+ <if test ='null != totalTradingAmount'>total_trading_amount = #{totalTradingAmount},</if>
+ <if test ='null != appendCycle'>append_cycle = #{appendCycle},</if>
+ <if test ='null != appendServiceFee'>append_service_fee = #{appendServiceFee},</if>
+ <if test ='null != appendMargin'>append_margin = #{appendMargin},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != auditTime'>audit_time = #{auditTime},</if>
+ <if test ='null != endTime'>end_time = #{endTime},</if>
+ <if test ='null != lineWarning'>line_warning = #{lineWarning},</if>
+ <if test ='null != lineUnwind'>line_unwind = #{lineUnwind},</if>
+ <if test ='null != ratioWarning'>ratio_warning = #{ratioWarning},</if>
+ <if test ='null != ratioUnwind'>ratio_unwind = #{ratioUnwind},</if>
+ <if test ='null != payAmount'>pay_amount = #{payAmount}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_append
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_append
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (user_name like CONCAT('%',#{keyword},'%') or user_phone like CONCAT('%',#{keyword},'%'))
+ </if>
+ <if test="status != null ">
+ and status = #{status}
+ </if>
+ <if test="userId != null ">
+ and user_id = #{userId}
+ </if>
+ <if test="appendType != null ">
+ and append_type = #{appendType}
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_append
+ </select>
+
+ <!--根据子账户查询是否申请终止-->
+ <select id="isAppendEnd" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_append
+ where apply_id = #{applyId} and append_type = 4 and status != 2
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsApplyMapper.xml b/target/classes/mapper/FundsApplyMapper.xml
new file mode 100644
index 0000000..746f429
--- /dev/null
+++ b/target/classes/mapper/FundsApplyMapper.xml
@@ -0,0 +1,313 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsApplyMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsApply" >
+ <result column="id" property="id" />
+ <result column="order_number" property="orderNumber" />
+ <result column="user_id" property="userId" />
+ <result column="user_name" property="userName" />
+ <result column="user_phone" property="userPhone" />
+ <result column="funds_type" property="fundsType" />
+ <result column="margin" property="margin" />
+ <result column="funds_amount" property="fundsAmount" />
+ <result column="lever" property="lever" />
+ <result column="total_trading_amount" property="totalTradingAmount" />
+ <result column="enabled_trading_amount" property="enabledTradingAmount" />
+ <result column="pay_amount" property="payAmount" />
+ <result column="traders_cycle" property="tradersCycle" />
+ <result column="subaccount_number" property="subaccountNumber" />
+ <result column="manage_fee" property="manageFee" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="audit_time" property="auditTime" />
+ <result column="begin_time" property="beginTime" />
+ <result column="end_time" property="endTime" />
+ <result column="audit_opinion" property="auditOpinion" />
+ <result column="line_warning" property="lineWarning" />
+ <result column="line_unwind" property="lineUnwind" />
+ <result column="ratio_warning" property="ratioWarning" />
+ <result column="ratio_unwind" property="ratioUnwind" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ order_number,
+ user_id,
+ user_name,
+ user_phone,
+ funds_type,
+ margin,
+ funds_amount,
+ lever,
+ total_trading_amount,
+ enabled_trading_amount,
+ pay_amount,
+ traders_cycle,
+ subaccount_number,
+ manage_fee,
+ status,
+ add_time,
+ update_time,
+ audit_time,
+ begin_time,
+ end_time,
+ audit_opinion,
+ line_warning,
+ line_unwind,
+ ratio_warning,
+ ratio_unwind
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsApply">
+ INSERT INTO funds_apply
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != orderNumber'>
+ order_number,
+ </if>
+ <if test ='null != userId'>
+ user_id,
+ </if>
+ <if test ='null != userName'>
+ user_name,
+ </if>
+ <if test ='null != userPhone'>
+ user_phone,
+ </if>
+ <if test ='null != fundsType'>
+ funds_type,
+ </if>
+ <if test ='null != margin'>
+ margin,
+ </if>
+ <if test ='null != fundsAmount'>
+ funds_amount,
+ </if>
+ <if test ='null != lever'>
+ lever,
+ </if>
+ <if test ='null != totalTradingAmount'>
+ total_trading_amount,
+ </if>
+ <if test ='null != enabledTradingAmount'>
+ enabled_trading_amount,
+ </if>
+ <if test ='null != payAmount'>
+ pay_amount,
+ </if>
+ <if test ='null != tradersCycle'>
+ traders_cycle,
+ </if>
+ <if test ='null != subaccountNumber'>
+ subaccount_number,
+ </if>
+ <if test ='null != manageFee'>
+ manage_fee,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != auditTime'>
+ audit_time,
+ </if>
+ <if test ='null != beginTime'>
+ begin_time,
+ </if>
+ <if test ='null != endTime'>
+ end_time,
+ </if>
+ <if test ='null != auditOpinion'>
+ audit_opinion
+ </if>
+ <if test ='null != lineWarning'>
+ line_warning,
+ </if>
+ <if test ='null != lineUnwind'>
+ line_unwind
+ </if>
+ <if test ='null != ratioWarning'>
+ ratio_warning,
+ </if>
+ <if test ='null != ratioUnwind'>
+ ratio_unwind
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != orderNumber'>
+ #{orderNumber},
+ </if>
+ <if test ='null != userId'>
+ #{userId},
+ </if>
+ <if test ='null != userName'>
+ #{userName},
+ </if>
+ <if test ='null != userPhone'>
+ #{userPhone},
+ </if>
+ <if test ='null != fundsType'>
+ #{fundsType},
+ </if>
+ <if test ='null != margin'>
+ #{margin},
+ </if>
+ <if test ='null != fundsAmount'>
+ #{fundsAmount},
+ </if>
+ <if test ='null != lever'>
+ #{lever},
+ </if>
+ <if test ='null != totalTradingAmount'>
+ #{totalTradingAmount},
+ </if>
+ <if test ='null != enabledTradingAmount'>
+ #{enabledTradingAmount},
+ </if>
+ <if test ='null != payAmount'>
+ #{payAmount},
+ </if>
+ <if test ='null != tradersCycle'>
+ #{tradersCycle},
+ </if>
+ <if test ='null != subaccountNumber'>
+ #{subaccountNumber},
+ </if>
+ <if test ='null != manageFee'>
+ #{manageFee},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != auditTime'>
+ #{auditTime},
+ </if>
+ <if test ='null != beginTime'>
+ #{beginTime},
+ </if>
+ <if test ='null != endTime'>
+ #{endTime},
+ </if>
+ <if test ='null != auditOpinion'>
+ #{auditOpinion}
+ </if>
+ <if test ='null != lineWarning'>
+ #{lineWarning},
+ </if>
+ <if test ='null != lineUnwind'>
+ #{lineUnwind}
+ </if>
+ <if test ='null != ratioWarning'>
+ #{ratioWarning},
+ </if>
+ <if test ='null != ratioUnwind'>
+ #{ratioUnwind}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_apply
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsApply">
+ UPDATE funds_apply
+ <set>
+ <if test ='null != orderNumber'>order_number = #{orderNumber},</if>
+ <if test ='null != userId'>user_id = #{userId},</if>
+ <if test ='null != userName'>user_name = #{userName},</if>
+ <if test ='null != userPhone'>user_phone = #{userPhone},</if>
+ <if test ='null != fundsType'>funds_type = #{fundsType},</if>
+ <if test ='null != margin'>margin = #{margin},</if>
+ <if test ='null != fundsAmount'>funds_amount = #{fundsAmount},</if>
+ <if test ='null != lever'>lever = #{lever},</if>
+ <if test ='null != totalTradingAmount'>total_trading_amount = #{totalTradingAmount},</if>
+ <if test ='null != enabledTradingAmount'>enabled_trading_amount = #{enabledTradingAmount},</if>
+ <if test ='null != payAmount'>pay_amount = #{payAmount},</if>
+ <if test ='null != tradersCycle'>traders_cycle = #{tradersCycle},</if>
+ <if test ='null != subaccountNumber'>subaccount_number = #{subaccountNumber},</if>
+ <if test ='null != manageFee'>manage_fee = #{manageFee},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != auditTime'>audit_time = #{auditTime},</if>
+ <if test ='null != beginTime'>begin_time = #{beginTime},</if>
+ <if test ='null != endTime'>end_time = #{endTime},</if>
+ <if test ='null != auditOpinion'>audit_opinion = #{auditOpinion},</if>
+ <if test ='null != lineWarning'>line_warning = #{lineWarning},</if>
+ <if test ='null != lineUnwind'>line_unwind = #{lineUnwind},</if>
+ <if test ='null != ratioWarning'>ratio_warning = #{ratioWarning},</if>
+ <if test ='null != ratioUnwind'>ratio_unwind = #{ratioUnwind}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_apply
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_apply
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (order_number = #{keyword} or user_phone = #{keyword} )
+ </if>
+ <if test="status != null">
+ and status = #{status}
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_apply
+ </select>
+
+ <!--用户配资列表-->
+ <select id="getUserApplyList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_apply
+ where 1=1
+ and user_id = #{userId}
+ order by id desc
+ </select>
+
+ <!--用户操盘中子账户-->
+ <select id="getUserEnabledSubaccount" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_apply
+ where 1=1
+ and user_id = #{userId}
+ and status = 1
+ order by id desc
+ </select>
+
+ <!--查询用户分仓保证金-->
+ <select id="getUserMarginList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_apply
+ where 1=1
+ and user_id = #{userId}
+ and (status = 1 or status = 3)
+
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsDealerInstitutionsMapper.xml b/target/classes/mapper/FundsDealerInstitutionsMapper.xml
new file mode 100644
index 0000000..a518eb0
--- /dev/null
+++ b/target/classes/mapper/FundsDealerInstitutionsMapper.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsDealerInstitutionsMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsDealerInstitutions" >
+ <result column="id" property="id" />
+ <result column="dealer_number" property="dealerNumber" />
+ <result column="dealer_name" property="dealerName" />
+ <result column="client_version_number" property="clientVersionNumber" />
+ <result column="remarks" property="remarks" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ dealer_number,
+ dealer_name,
+ client_version_number,
+ remarks,
+ status,
+ add_time,
+ update_time
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsDealerInstitutions">
+ INSERT INTO funds_dealer_institutions
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerNumber'>
+ dealer_number,
+ </if>
+ <if test ='null != dealerName'>
+ dealer_name,
+ </if>
+ <if test ='null != clientVersionNumber'>
+ client_version_number,
+ </if>
+ <if test ='null != remarks'>
+ remarks,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerNumber'>
+ #{dealerNumber},
+ </if>
+ <if test ='null != dealerName'>
+ #{dealerName},
+ </if>
+ <if test ='null != clientVersionNumber'>
+ #{clientVersionNumber},
+ </if>
+ <if test ='null != remarks'>
+ #{remarks},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_dealer_institutions
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsDealerInstitutions">
+ UPDATE funds_dealer_institutions
+ <set>
+ <if test ='null != dealerNumber'>dealer_number = #{dealerNumber},</if>
+ <if test ='null != dealerName'>dealer_name = #{dealerName},</if>
+ <if test ='null != clientVersionNumber'>client_version_number = #{clientVersionNumber},</if>
+ <if test ='null != remarks'>remarks = #{remarks},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_dealer_institutions
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_dealer_institutions
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (dealer_number = #{keyword} or dealer_name like CONCAT('%',#{keyword},'%') or client_version_number like CONCAT('%',#{keyword},'%'))
+ </if>
+ <if test="status != null">
+ and status = #{status}
+ </if>
+ order by dealer_number asc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_dealer_institutions
+ </select>
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsLeverMapper.xml b/target/classes/mapper/FundsLeverMapper.xml
new file mode 100644
index 0000000..29fcd24
--- /dev/null
+++ b/target/classes/mapper/FundsLeverMapper.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsLeverMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsLever" >
+ <result column="id" property="id" />
+ <result column="cycle_type" property="cycleType" />
+ <result column="lever" property="lever" />
+ <result column="manage_rate" property="manageRate" />
+ <result column="single_holding_ratio" property="singleHoldingRatio" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ cycle_type,
+ lever,
+ manage_rate,
+ single_holding_ratio,
+ status,
+ add_time,
+ update_time
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsLever">
+ INSERT INTO funds_lever
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != cycleType'>
+ cycle_type,
+ </if>
+ <if test ='null != lever'>
+ lever,
+ </if>
+ <if test ='null != manageRate'>
+ manage_rate,
+ </if>
+ <if test ='null != singleHoldingRatio'>
+ single_holding_ratio,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != cycleType'>
+ #{cycleType},
+ </if>
+ <if test ='null != lever'>
+ #{lever},
+ </if>
+ <if test ='null != manageRate'>
+ #{manageRate},
+ </if>
+ <if test ='null != singleHoldingRatio'>
+ #{singleHoldingRatio},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_lever
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsLever">
+ UPDATE funds_lever
+ <set>
+ <if test ='null != cycleType'>cycle_type = #{cycleType},</if>
+ <if test ='null != lever'>lever = #{lever},</if>
+ <if test ='null != manageRate'>manage_rate = #{manageRate},</if>
+ <if test ='null != singleHoldingRatio'>single_holding_ratio = #{singleHoldingRatio},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_lever
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_lever
+ order by cycle_type asc,lever asc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_lever
+ </select>
+
+ <!--查询配资类型杠杆-->
+ <select id="getFundsTypeList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_lever
+ where status =1
+ and cycle_type = #{cycleType}
+ order by cycle_type asc,lever asc
+ </select>
+
+ <!--查询杠杆费率-->
+ <select id="getLeverRateInfo" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_lever
+ WHERE lever = #{lever} and cycle_type = #{cycleType}
+ limit 1
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsSecuritiesInfoMapper.xml b/target/classes/mapper/FundsSecuritiesInfoMapper.xml
new file mode 100644
index 0000000..ac42482
--- /dev/null
+++ b/target/classes/mapper/FundsSecuritiesInfoMapper.xml
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsSecuritiesInfoMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsSecuritiesInfo" >
+ <result column="id" property="id" />
+ <result column="dealer_institutions_id" property="dealerInstitutionsId" />
+ <result column="dealer_institutions_name" property="dealerInstitutionsName" />
+ <result column="sales_department" property="salesDepartment" />
+ <result column="account_name" property="accountName" />
+ <result column="transact_account" property="transactAccount" />
+ <result column="transact_password" property="transactPassword" />
+ <result column="communication_password" property="communicationPassword" />
+ <result column="commission_ratio" property="commissionRatio" />
+ <result column="minimum_commissions" property="minimumCommissions" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ dealer_institutions_id,
+ dealer_institutions_name,
+ sales_department,
+ account_name,
+ transact_account,
+ transact_password,
+ communication_password,
+ commission_ratio,
+ minimum_commissions,
+ status,
+ add_time,
+ update_time
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsSecuritiesInfo">
+ INSERT INTO funds_securities_info
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerInstitutionsId'>
+ dealer_institutions_id,
+ </if>
+ <if test ='null != dealerInstitutionsName'>
+ dealer_institutions_name,
+ </if>
+ <if test ='null != salesDepartment'>
+ sales_department,
+ </if>
+ <if test ='null != accountName'>
+ account_name,
+ </if>
+ <if test ='null != transactAccount'>
+ transact_account,
+ </if>
+ <if test ='null != transactPassword'>
+ transact_password,
+ </if>
+ <if test ='null != communicationPassword'>
+ communication_password,
+ </if>
+ <if test ='null != commissionRatio'>
+ commission_ratio,
+ </if>
+ <if test ='null != minimumCommissions'>
+ minimum_commissions,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerInstitutionsId'>
+ #{dealerInstitutionsId},
+ </if>
+ <if test ='null != dealerInstitutionsName'>
+ #{dealerInstitutionsName},
+ </if>
+ <if test ='null != salesDepartment'>
+ #{salesDepartment},
+ </if>
+ <if test ='null != accountName'>
+ #{accountName},
+ </if>
+ <if test ='null != transactAccount'>
+ #{transactAccount},
+ </if>
+ <if test ='null != transactPassword'>
+ #{transactPassword},
+ </if>
+ <if test ='null != communicationPassword'>
+ #{communicationPassword},
+ </if>
+ <if test ='null != commissionRatio'>
+ #{commissionRatio},
+ </if>
+ <if test ='null != minimumCommissions'>
+ #{minimumCommissions},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_securities_info
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsSecuritiesInfo">
+ UPDATE funds_securities_info
+ <set>
+ <if test ='null != dealerInstitutionsId'>dealer_institutions_id = #{dealerInstitutionsId},</if>
+ <if test ='null != dealerInstitutionsName'>dealer_institutions_name = #{dealerInstitutionsName},</if>
+ <if test ='null != salesDepartment'>sales_department = #{salesDepartment},</if>
+ <if test ='null != accountName'>account_name = #{accountName},</if>
+ <if test ='null != transactAccount'>transact_account = #{transactAccount},</if>
+ <if test ='null != transactPassword'>transact_password = #{transactPassword},</if>
+ <if test ='null != communicationPassword'>communication_password = #{communicationPassword},</if>
+ <if test ='null != commissionRatio'>commission_ratio = #{commissionRatio},</if>
+ <if test ='null != minimumCommissions'>minimum_commissions = #{minimumCommissions},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_securities_info
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_securities_info
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (dealer_institutions_name like CONCAT('%',#{keyword},'%') or sales_department like CONCAT('%',#{keyword},'%') or account_name like CONCAT('%',#{keyword},'%') )
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_securities_info
+ </select>
+
+ <!--查询可用的证券信息-->
+ <select id="getEnabledList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_securities_info
+ where 1=1
+ and status = 1
+ order by id desc
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsSettingMapper.xml b/target/classes/mapper/FundsSettingMapper.xml
new file mode 100644
index 0000000..d7cdff1
--- /dev/null
+++ b/target/classes/mapper/FundsSettingMapper.xml
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsSettingMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsSetting" >
+ <result column="id" property="id" />
+ <result column="margin_min" property="marginMin" />
+ <result column="margin_max" property="marginMax" />
+ <result column="interest_free_lever" property="interestFreeLever" />
+ <result column="interest_free_days" property="interestFreeDays" />
+ <result column="interest_free_profit" property="interestFreeProfit" />
+ <result column="interest_free_warning" property="interestFreeWarning" />
+ <result column="interest_free_unwind" property="interestFreeUnwind" />
+ <result column="days_warning" property="daysWarning" />
+ <result column="days_unwind" property="daysUnwind" />
+ <result column="weeks_warning" property="weeksWarning" />
+ <result column="weeks_unwind" property="weeksUnwind" />
+ <result column="month_warning" property="monthWarning" />
+ <result column="month_unwind" property="monthUnwind" />
+ <result column="days_use_period" property="daysUsePeriod" />
+ <result column="weeks_use_period" property="weeksUsePeriod" />
+ <result column="month_use_period" property="monthUsePeriod" />
+ <result column="early_termination_interest" property="earlyTerminationInterest" />
+ <result column="trading_commission_rate" property="tradingCommissionRate" />
+ <result column="stamp_duty_rate" property="stampDutyRate" />
+ <result column="profit_sharing_ratio" property="profitSharingRatio" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ margin_min,
+ margin_max,
+ interest_free_lever,
+ interest_free_days,
+ interest_free_profit,
+ interest_free_warning,
+ interest_free_unwind,
+ days_warning,
+ days_unwind,
+ weeks_warning,
+ weeks_unwind,
+ month_warning,
+ month_unwind,
+ days_use_period,
+ weeks_use_period,
+ month_use_period,
+ early_termination_interest,
+ trading_commission_rate,
+ stamp_duty_rate,
+ profit_sharing_ratio
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsSetting">
+ INSERT INTO funds_setting
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != marginMin'>
+ margin_min,
+ </if>
+ <if test ='null != marginMax'>
+ margin_max,
+ </if>
+ <if test ='null != interestFreeLever'>
+ interest_free_lever,
+ </if>
+ <if test ='null != interestFreeDays'>
+ interest_free_days,
+ </if>
+ <if test ='null != interestFreeProfit'>
+ interest_free_profit,
+ </if>
+ <if test ='null != interestFreeWarning'>
+ interest_free_warning,
+ </if>
+ <if test ='null != interestFreeUnwind'>
+ interest_free_unwind,
+ </if>
+ <if test ='null != daysWarning'>
+ days_warning,
+ </if>
+ <if test ='null != daysUnwind'>
+ days_unwind,
+ </if>
+ <if test ='null != weeksWarning'>
+ weeks_warning,
+ </if>
+ <if test ='null != weeksUnwind'>
+ weeks_unwind,
+ </if>
+ <if test ='null != monthWarning'>
+ month_warning,
+ </if>
+ <if test ='null != monthUnwind'>
+ month_unwind,
+ </if>
+ <if test ='null != daysUsePeriod'>
+ days_use_period,
+ </if>
+ <if test ='null != weeksUsePeriod'>
+ weeks_use_period,
+ </if>
+ <if test ='null != monthUsePeriod'>
+ month_use_period,
+ </if>
+ <if test ='null != earlyTerminationInterest'>
+ early_termination_interest,
+ </if>
+ <if test ='null != tradingCommissionRate'>
+ trading_commission_rate,
+ </if>
+ <if test ='null != stampDutyRate'>
+ stamp_duty_rate,
+ </if>
+ <if test ='null != profitSharingRatio'>
+ profit_sharing_ratio
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != marginMin'>
+ #{marginMin},
+ </if>
+ <if test ='null != marginMax'>
+ #{marginMax},
+ </if>
+ <if test ='null != interestFreeLever'>
+ #{interestFreeLever},
+ </if>
+ <if test ='null != interestFreeDays'>
+ #{interestFreeDays},
+ </if>
+ <if test ='null != interestFreeProfit'>
+ #{interestFreeProfit},
+ </if>
+ <if test ='null != interestFreeWarning'>
+ #{interestFreeWarning},
+ </if>
+ <if test ='null != interestFreeUnwind'>
+ #{interestFreeUnwind},
+ </if>
+ <if test ='null != daysWarning'>
+ #{daysWarning},
+ </if>
+ <if test ='null != daysUnwind'>
+ #{daysUnwind},
+ </if>
+ <if test ='null != weeksWarning'>
+ #{weeksWarning},
+ </if>
+ <if test ='null != weeksUnwind'>
+ #{weeksUnwind},
+ </if>
+ <if test ='null != monthWarning'>
+ #{monthWarning},
+ </if>
+ <if test ='null != monthUnwind'>
+ #{monthUnwind},
+ </if>
+ <if test ='null != daysUsePeriod'>
+ #{daysUsePeriod},
+ </if>
+ <if test ='null != weeksUsePeriod'>
+ #{weeksUsePeriod},
+ </if>
+ <if test ='null != monthUsePeriod'>
+ #{monthUsePeriod},
+ </if>
+ <if test ='null != earlyTerminationInterest'>
+ #{earlyTerminationInterest},
+ </if>
+ <if test ='null != tradingCommissionRate'>
+ #{tradingCommissionRate},
+ </if>
+ <if test ='null != stampDutyRate'>
+ #{stampDutyRate},
+ </if>
+ <if test ='null != profitSharingRatio'>
+ #{profitSharingRatio}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_setting
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsSetting">
+ UPDATE funds_setting
+ <set>
+ <if test ='null != marginMin'>margin_min = #{marginMin},</if>
+ <if test ='null != marginMax'>margin_max = #{marginMax},</if>
+ <if test ='null != interestFreeLever'>interest_free_lever = #{interestFreeLever},</if>
+ <if test ='null != interestFreeDays'>interest_free_days = #{interestFreeDays},</if>
+ <if test ='null != interestFreeProfit'>interest_free_profit = #{interestFreeProfit},</if>
+ <if test ='null != interestFreeWarning'>interest_free_warning = #{interestFreeWarning},</if>
+ <if test ='null != interestFreeUnwind'>interest_free_unwind = #{interestFreeUnwind},</if>
+ <if test ='null != daysWarning'>days_warning = #{daysWarning},</if>
+ <if test ='null != daysUnwind'>days_unwind = #{daysUnwind},</if>
+ <if test ='null != weeksWarning'>weeks_warning = #{weeksWarning},</if>
+ <if test ='null != weeksUnwind'>weeks_unwind = #{weeksUnwind},</if>
+ <if test ='null != monthWarning'>month_warning = #{monthWarning},</if>
+ <if test ='null != monthUnwind'>month_unwind = #{monthUnwind},</if>
+ <if test ='null != daysUsePeriod'>days_use_period = #{daysUsePeriod},</if>
+ <if test ='null != weeksUsePeriod'>weeks_use_period = #{weeksUsePeriod},</if>
+ <if test ='null != monthUsePeriod'>month_use_period = #{monthUsePeriod},</if>
+ <if test ='null != earlyTerminationInterest'>early_termination_interest = #{earlyTerminationInterest},</if>
+ <if test ='null != tradingCommissionRate'>trading_commission_rate = #{tradingCommissionRate},</if>
+ <if test ='null != stampDutyRate'>stamp_duty_rate = #{stampDutyRate},</if>
+ <if test ='null != profitSharingRatio'>profit_sharing_ratio = #{profitSharingRatio}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_setting
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_setting
+ LIMIT #{offset}, #{pageSize}
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_setting
+ </select>
+
+ <select id="findAllFundsSetting" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM funds_setting
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/FundsTradingAccountMapper.xml b/target/classes/mapper/FundsTradingAccountMapper.xml
new file mode 100644
index 0000000..bb3b4ea
--- /dev/null
+++ b/target/classes/mapper/FundsTradingAccountMapper.xml
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.FundsTradingAccountMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.FundsTradingAccount" >
+ <result column="id" property="id" />
+ <result column="dealer_institutions_id" property="dealerInstitutionsId" />
+ <result column="dealer_institutions_name" property="dealerInstitutionsName" />
+ <result column="account_name" property="accountName" />
+ <result column="subaccount_number" property="subaccountNumber" />
+ <result column="account_mode" property="accountMode" />
+ <result column="automatic_unwind_switch" property="automaticUnwindSwitch" />
+ <result column="ban_unwind_switch" property="banUnwindSwitch" />
+ <result column="automatic_renewal_switch" property="automaticRenewalSwitch" />
+ <result column="ban_levite" property="banLevite" />
+ <result column="warning_line" property="warningLine" />
+ <result column="unwind_line" property="unwindLine" />
+ <result column="single_holding_ratio" property="singleHoldingRatio" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="remarks" property="remarks" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ dealer_institutions_id,
+ dealer_institutions_name,
+ account_name,
+ subaccount_number,
+ account_mode,
+ automatic_unwind_switch,
+ ban_unwind_switch,
+ automatic_renewal_switch,
+ ban_levite,
+ warning_line,
+ unwind_line,
+ single_holding_ratio,
+ status,
+ add_time,
+ update_time,
+ remarks
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.FundsTradingAccount">
+ INSERT INTO funds_trading_account
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerInstitutionsId'>
+ dealer_institutions_id,
+ </if>
+ <if test ='null != dealerInstitutionsName'>
+ dealer_institutions_name,
+ </if>
+ <if test ='null != accountName'>
+ account_name,
+ </if>
+ <if test ='null != subaccountNumber'>
+ subaccount_number,
+ </if>
+ <if test ='null != accountMode'>
+ account_mode,
+ </if>
+ <if test ='null != automaticUnwindSwitch'>
+ automatic_unwind_switch,
+ </if>
+ <if test ='null != banUnwindSwitch'>
+ ban_unwind_switch,
+ </if>
+ <if test ='null != automaticRenewalSwitch'>
+ automatic_renewal_switch,
+ </if>
+ <if test ='null != banLevite'>
+ ban_levite,
+ </if>
+ <if test ='null != warningLine'>
+ warning_line,
+ </if>
+ <if test ='null != unwindLine'>
+ unwind_line,
+ </if>
+ <if test ='null != singleHoldingRatio'>
+ single_holding_ratio,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != remarks'>
+ remarks
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != dealerInstitutionsId'>
+ #{dealerInstitutionsId},
+ </if>
+ <if test ='null != dealerInstitutionsName'>
+ #{dealerInstitutionsName},
+ </if>
+ <if test ='null != accountName'>
+ #{accountName},
+ </if>
+ <if test ='null != subaccountNumber'>
+ #{subaccountNumber},
+ </if>
+ <if test ='null != accountMode'>
+ #{accountMode},
+ </if>
+ <if test ='null != automaticUnwindSwitch'>
+ #{automaticUnwindSwitch},
+ </if>
+ <if test ='null != banUnwindSwitch'>
+ #{banUnwindSwitch},
+ </if>
+ <if test ='null != automaticRenewalSwitch'>
+ #{automaticRenewalSwitch},
+ </if>
+ <if test ='null != banLevite'>
+ #{banLevite},
+ </if>
+ <if test ='null != warningLine'>
+ #{warningLine},
+ </if>
+ <if test ='null != unwindLine'>
+ #{unwindLine},
+ </if>
+ <if test ='null != singleHoldingRatio'>
+ #{singleHoldingRatio},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != remarks'>
+ #{remarks}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM funds_trading_account
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.FundsTradingAccount">
+ UPDATE funds_trading_account
+ <set>
+ <if test ='null != dealerInstitutionsId'>dealer_institutions_id = #{dealerInstitutionsId},</if>
+ <if test ='null != dealerInstitutionsName'>dealer_institutions_name = #{dealerInstitutionsName},</if>
+ <if test ='null != accountName'>account_name = #{accountName},</if>
+ <if test ='null != subaccountNumber'>subaccount_number = #{subaccountNumber},</if>
+ <if test ='null != accountMode'>account_mode = #{accountMode},</if>
+ <if test ='null != automaticUnwindSwitch'>automatic_unwind_switch = #{automaticUnwindSwitch},</if>
+ <if test ='null != banUnwindSwitch'>ban_unwind_switch = #{banUnwindSwitch},</if>
+ <if test ='null != automaticRenewalSwitch'>automatic_renewal_switch = #{automaticRenewalSwitch},</if>
+ <if test ='null != banLevite'>ban_levite = #{banLevite},</if>
+ <if test ='null != warningLine'>warning_line = #{warningLine},</if>
+ <if test ='null != unwindLine'>unwind_line = #{unwindLine},</if>
+ <if test ='null != singleHoldingRatio'>single_holding_ratio = #{singleHoldingRatio},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != remarks'>remarks = #{remarks}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_trading_account
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_trading_account
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (CAST(subaccount_number AS CHAR) like CONCAT('%',#{keyword},'%') or dealer_institutions_name like CONCAT('%',#{keyword},'%') )
+ </if>
+ <if test="status != null">
+ and status = #{status}
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM funds_trading_account
+ </select>
+
+ <!--查询最新交易账户编号-->
+ <select id="getMaxNumber" resultType="java.lang.Integer">
+ SELECT ifnull(MAX(subaccount_number)+1,80000000) from funds_trading_account
+ </select>
+
+ <!--根据子账户编号查询详细信息-->
+ <select id="getAccountByNumber" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM funds_trading_account
+ WHERE subaccount_number = #{subaccountNumber}
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteAdminIndexMapper.xml b/target/classes/mapper/SiteAdminIndexMapper.xml
new file mode 100644
index 0000000..044ee8b
--- /dev/null
+++ b/target/classes/mapper/SiteAdminIndexMapper.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.SiteAdminIndexMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteAdminIndex">
+ <id property="id" column="id" jdbcType="INTEGER"/>
+ <result property="colorWeak" column="color_weak" jdbcType="VARCHAR"/>
+ <result property="contentWidth" column="content_width" jdbcType="VARCHAR"/>
+ <result property="fixSiderbar" column="fix_siderbar" jdbcType="VARCHAR"/>
+ <result property="fixedHeader" column="fixed_header" jdbcType="VARCHAR"/>
+ <result property="hideCopyButton" column="hide_copy_button" jdbcType="VARCHAR"/>
+ <result property="hideHintAlert" column="hide_hint_alert" jdbcType="VARCHAR"/>
+ <result property="layout" column="layout" jdbcType="VARCHAR"/>
+ <result property="primaryColor" column="primary_color" jdbcType="VARCHAR"/>
+ <result property="theme" column="theme" jdbcType="VARCHAR"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,color_weak,content_width,
+ fix_siderbar,fixed_header,hide_copy_button,
+ hide_hint_alert,layout,primary_color,
+ theme
+ </sql>
+</mapper>
diff --git a/target/classes/mapper/SiteAdminMapper.xml b/target/classes/mapper/SiteAdminMapper.xml
new file mode 100644
index 0000000..8e37c81
--- /dev/null
+++ b/target/classes/mapper/SiteAdminMapper.xml
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteAdminMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteAdmin" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="admin_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="admin_pwd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="admin_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, admin_name, admin_pwd, admin_phone, is_lock, add_time
+ </sql>
+ <select id="selectByPrimaryKey" resultType="com.nq.pojo.SiteAdmin" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_admin
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_admin
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteAdmin" >
+ insert into site_admin (id, admin_name, admin_pwd,
+ admin_phone, is_lock, add_time
+ )
+ values (#{id,jdbcType=INTEGER}, #{adminName,jdbcType=VARCHAR}, #{adminPwd,jdbcType=VARCHAR},
+ #{adminPhone,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteAdmin" >
+ insert into site_admin
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="adminName != null" >
+ admin_name,
+ </if>
+ <if test="adminPwd != null" >
+ admin_pwd,
+ </if>
+ <if test="adminPhone != null" >
+ admin_phone,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="adminName != null" >
+ #{adminName,jdbcType=VARCHAR},
+ </if>
+ <if test="adminPwd != null" >
+ #{adminPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="adminPhone != null" >
+ #{adminPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteAdmin" >
+ update site_admin
+ <set >
+ <if test="adminName != null" >
+ admin_name = #{adminName,jdbcType=VARCHAR},
+ </if>
+ <if test="adminPwd != null" >
+ admin_pwd = #{adminPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="adminPhone != null" >
+ admin_phone = #{adminPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteAdmin" >
+ update site_admin
+ set admin_name = #{adminName,jdbcType=VARCHAR},
+ admin_pwd = #{adminPwd,jdbcType=VARCHAR},
+ admin_phone = #{adminPhone,jdbcType=VARCHAR},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+ <select id="login" parameterType="map" resultType="com.nq.pojo.SiteAdmin">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_admin
+ WHERE admin_phone = #{adminPhone} and admin_pwd = #{adminPwd}
+ </select>
+
+
+ <select id="listByAdmin" parameterType="map" resultType="com.nq.pojo.SiteAdmin">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_admin
+ <where>
+ <if test="adminName != null and adminName != '' ">
+ and admin_name = #{adminName}
+ </if>
+ <if test="adminPhone != null and adminPhone != '' ">
+ and admin_phone = #{adminPhone}
+ </if>
+ and admin_phone != #{superAdmin}
+ </where>
+ </select>
+
+
+
+ <select id="findAdminByName" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_admin
+ WHERE admin_name = #{name}
+ </select>
+
+
+ <select id="findAdminByPhone" parameterType="string" resultType="com.nq.pojo.SiteAdmin">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_admin
+ WHERE admin_phone = #{phone}
+ </select>
+
+
+</mapper>
+
+
diff --git a/target/classes/mapper/SiteAmtTransLogMapper.xml b/target/classes/mapper/SiteAmtTransLogMapper.xml
new file mode 100644
index 0000000..0af3a69
--- /dev/null
+++ b/target/classes/mapper/SiteAmtTransLogMapper.xml
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteAmtTransLogMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteAmtTransLog" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="real_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="amt_from" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="amt_to" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="t_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, real_name, agent_id, amt_from, amt_to, trans_amt, add_time, t_desc
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_amt_trans_log
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_amt_trans_log
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteAmtTransLog" >
+ insert into site_amt_trans_log (id, user_id, real_name,
+ agent_id, amt_from, amt_to,
+ trans_amt, add_time, t_desc
+ )
+ values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR},
+ #{agentId,jdbcType=INTEGER}, #{amtFrom,jdbcType=VARCHAR}, #{amtTo,jdbcType=VARCHAR},
+ #{transAmt,jdbcType=DECIMAL}, #{addTime,jdbcType=TIMESTAMP}, #{tDesc,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteAmtTransLog" >
+ insert into site_amt_trans_log
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="realName != null" >
+ real_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="amtFrom != null" >
+ amt_from,
+ </if>
+ <if test="amtTo != null" >
+ amt_to,
+ </if>
+ <if test="transAmt != null" >
+ trans_amt,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="tDesc != null" >
+ t_desc,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="amtFrom != null" >
+ #{amtFrom,jdbcType=VARCHAR},
+ </if>
+ <if test="amtTo != null" >
+ #{amtTo,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmt != null" >
+ #{transAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ #{tDesc,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteAmtTransLog" >
+ update site_amt_trans_log
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ real_name = #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="amtFrom != null" >
+ amt_from = #{amtFrom,jdbcType=VARCHAR},
+ </if>
+ <if test="amtTo != null" >
+ amt_to = #{amtTo,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmt != null" >
+ trans_amt = #{transAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ t_desc = #{tDesc,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteAmtTransLog" >
+ update site_amt_trans_log
+ set user_id = #{userId,jdbcType=INTEGER},
+ real_name = #{realName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ amt_from = #{amtFrom,jdbcType=VARCHAR},
+ amt_to = #{amtTo,jdbcType=VARCHAR},
+ trans_amt = #{transAmt,jdbcType=DECIMAL},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ t_desc = #{tDesc,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="transList" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_amt_trans_log
+ <where>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="realName != null and realName != '' ">
+ and real_name like CONCAT('%','${realName}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/SiteArticleMapper.xml b/target/classes/mapper/SiteArticleMapper.xml
new file mode 100644
index 0000000..76d5edb
--- /dev/null
+++ b/target/classes/mapper/SiteArticleMapper.xml
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteArticleMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteArticle" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="art_title" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="art_type" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="art_img" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="author" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="hit_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="art_summary" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="art_cnt" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="spider_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="source_id" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="views" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, art_title, art_type, art_img, author, hit_times, is_show, add_time, art_summary,
+ art_cnt, spider_url,source_id,views
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_article
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_article
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteArticle" >
+ insert into site_article (id, art_title, art_type,
+ art_img, author, hit_times,
+ is_show, add_time, art_summary,
+ art_cnt, spider_url,source_id,views)
+ values (#{id,jdbcType=INTEGER}, #{artTitle,jdbcType=VARCHAR}, #{artType,jdbcType=VARCHAR},
+ #{artImg,jdbcType=VARCHAR}, #{author,jdbcType=VARCHAR}, #{hitTimes,jdbcType=INTEGER},
+ #{isShow,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP}, #{artSummary,jdbcType=VARCHAR},
+ #{artCnt,jdbcType=VARCHAR}, #{spiderUrl,jdbcType=VARCHAR}, #{sourceId,jdbcType=VARCHAR}, #{views,jdbcType=INTEGER})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteArticle" >
+ insert into site_article
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="artTitle != null" >
+ art_title,
+ </if>
+ <if test="artType != null" >
+ art_type,
+ </if>
+ <if test="artImg != null" >
+ art_img,
+ </if>
+ <if test="author != null" >
+ author,
+ </if>
+ <if test="hitTimes != null" >
+ hit_times,
+ </if>
+ <if test="isShow != null" >
+ is_show,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="artSummary != null" >
+ art_summary,
+ </if>
+ <if test="artCnt != null" >
+ art_cnt,
+ </if>
+ <if test="spiderUrl != null" >
+ spider_url,
+ </if>
+ <if test="sourceId != null" >
+ source_id,
+ </if>
+ <if test="views != null" >
+ views,
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="artTitle != null" >
+ #{artTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="artType != null" >
+ #{artType,jdbcType=VARCHAR},
+ </if>
+ <if test="artImg != null" >
+ #{artImg,jdbcType=VARCHAR},
+ </if>
+ <if test="author != null" >
+ #{author,jdbcType=VARCHAR},
+ </if>
+ <if test="hitTimes != null" >
+ #{hitTimes,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="artSummary != null" >
+ #{artSummary,jdbcType=VARCHAR},
+ </if>
+ <if test="artCnt != null" >
+ #{artCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="spiderUrl != null" >
+ #{spiderUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="sourceId != null" >
+ #{sourceId,jdbcType=VARCHAR},
+ </if>
+ <if test="views != null" >
+ #{views,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteArticle" >
+ update site_article
+ <set >
+ <if test="artTitle != null" >
+ art_title = #{artTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="artType != null" >
+ art_type = #{artType,jdbcType=VARCHAR},
+ </if>
+ <if test="artImg != null" >
+ art_img = #{artImg,jdbcType=VARCHAR},
+ </if>
+ <if test="author != null" >
+ author = #{author,jdbcType=VARCHAR},
+ </if>
+ <if test="hitTimes != null" >
+ hit_times = #{hitTimes,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ is_show = #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="artSummary != null" >
+ art_summary = #{artSummary,jdbcType=VARCHAR},
+ </if>
+ <if test="artCnt != null" >
+ art_cnt = #{artCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="spiderUrl != null" >
+ spider_url = #{spiderUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="sourceId != null" >
+ source_id = #{sourceId,jdbcType=VARCHAR},
+ </if>
+ <if test="views != null" >
+ views = #{views,jdbcType=INTEGER},
+ </if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteArticle" >
+ update site_article
+ set art_title = #{artTitle,jdbcType=VARCHAR},
+ art_type = #{artType,jdbcType=VARCHAR},
+ art_img = #{artImg,jdbcType=VARCHAR},
+ author = #{author,jdbcType=VARCHAR},
+ hit_times = #{hitTimes,jdbcType=INTEGER},
+ is_show = #{isShow,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ art_summary = #{artSummary,jdbcType=VARCHAR},
+ art_cnt = #{artCnt,jdbcType=VARCHAR},
+ spider_url = #{spiderUrl,jdbcType=VARCHAR},
+ source_id = #{sourceId,jdbcType=VARCHAR},
+ views = #{views,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_article
+ <where>
+ <if test="artTitle != null and artTitle != '' ">
+ and art_title like CONCAT('%','${artTitle}','%')
+ </if>
+ <if test="artType != null and artType != '' ">
+ and art_type like CONCAT('%','${artType}','%')
+ </if>
+ </where>
+ </select>
+
+
+ <select id="list" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_article
+ <where>
+ is_show = 0
+ <if test="artTitle != null and artTitle != '' ">
+ and art_title like CONCAT('%','${artTitle}','%')
+ </if>
+ <if test="artType != null and artType != '' ">
+ and art_type like CONCAT('%','${artType}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+ <!--top最新公告-->
+ <select id="getTopArtList" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_article
+ <where>
+ is_show = 0
+ </where>
+ order by id desc
+ limit #{pageSize}
+ </select>
+
+ <!--根据来源id查询公告数-->
+ <select id="getArtBySourceIdCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_article
+ WHERE source_id = #{sourceId}
+ </select>
+
+
+</mapper>
+
diff --git a/target/classes/mapper/SiteBannerMapper.xml b/target/classes/mapper/SiteBannerMapper.xml
new file mode 100644
index 0000000..1725ca2
--- /dev/null
+++ b/target/classes/mapper/SiteBannerMapper.xml
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteBannerMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteBanner" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="banner_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_order" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_pc" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_m" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+
+ <arg column="ban_title" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="ban_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="target_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, banner_url, is_order, is_pc, is_m, add_time, ban_title, ban_desc, target_url
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_banner
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_banner
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteBanner" >
+ insert into site_banner (id, banner_url, is_order,
+ is_pc, is_m, add_time,ban_title,ban_desc,target_url
+ )
+ values (#{id,jdbcType=INTEGER}, #{bannerUrl,jdbcType=VARCHAR}, #{isOrder,jdbcType=INTEGER},
+ #{isPc,jdbcType=INTEGER}, #{isM,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP},
+ #{banTitle,jdbcType=VARCHAR},#{banDesc,jdbcType=VARCHAR},#{targetUrl,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteBanner" >
+ insert into site_banner
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="bannerUrl != null" >
+ banner_url,
+ </if>
+ <if test="isOrder != null" >
+ is_order,
+ </if>
+ <if test="isPc != null" >
+ is_pc,
+ </if>
+ <if test="isM != null" >
+ is_m,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="banTitle != null" >
+ ban_title,
+ </if>
+ <if test="banDesc != null" >
+ ban_desc,
+ </if>
+ <if test="targetUrl != null" >
+ target_url,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="bannerUrl != null" >
+ #{bannerUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="isOrder != null" >
+ #{isOrder,jdbcType=INTEGER},
+ </if>
+ <if test="isPc != null" >
+ #{isPc,jdbcType=INTEGER},
+ </if>
+ <if test="isM != null" >
+ #{isM,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+
+ <if test="banTitle != null" >
+ #{banTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="banDesc != null" >
+ #{banDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="targetUrl != null" >
+ #{targetUrl,jdbcType=VARCHAR},
+ </if>
+
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteBanner" >
+ update site_banner
+ <set >
+ <if test="bannerUrl != null" >
+ banner_url = #{bannerUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="isOrder != null" >
+ is_order = #{isOrder,jdbcType=INTEGER},
+ </if>
+ <if test="isPc != null" >
+ is_pc = #{isPc,jdbcType=INTEGER},
+ </if>
+ <if test="isM != null" >
+ is_m = #{isM,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+
+ <if test="banTitle != null" >
+ ban_title = #{banTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="banDesc != null" >
+ ban_desc = #{banDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="targetUrl != null" >
+ target_url = #{targetUrl,jdbcType=VARCHAR},
+ </if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteBanner" >
+ update site_banner
+ set banner_url = #{bannerUrl,jdbcType=VARCHAR},
+ is_order = #{isOrder,jdbcType=INTEGER},
+ is_pc = #{isPc,jdbcType=INTEGER},
+ is_m = #{isM,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ ban_title = #{banTitle,jdbcType=VARCHAR},
+ ban_desc = #{banDesc,jdbcType=VARCHAR},
+ target_url = #{targetUrl,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+
+ <select id="listByAdmin" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_banner
+ ORDER BY is_order DESC
+ </select>
+
+
+
+ <select id="getBannerByMobile" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_banner
+ WHERE is_m = 0
+ ORDER BY is_order DESC
+ </select>
+
+ <select id="getBannerByPC" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_banner
+ WHERE is_pc = 0
+ ORDER BY is_order DESC
+ </select>
+
+
+
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteFuturesSettingMapper.xml b/target/classes/mapper/SiteFuturesSettingMapper.xml
new file mode 100644
index 0000000..7f67b41
--- /dev/null
+++ b/target/classes/mapper/SiteFuturesSettingMapper.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteFuturesSettingMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteFuturesSetting" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_max_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="force_sell_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="buy_same_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_same_nums" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_num_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_num_lots" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="force_stop_remind_ratio" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, buy_max_percent, force_sell_percent, buy_same_times, buy_same_nums, buy_num_times,
+ buy_num_lots, force_stop_remind_ratio
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_futures_setting
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_futures_setting
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteFuturesSetting" >
+ insert into site_futures_setting (id, buy_max_percent, force_sell_percent,
+ buy_same_times, buy_same_nums, buy_num_times,
+ buy_num_lots, force_stop_remind_ratio)
+ values (#{id,jdbcType=INTEGER}, #{buyMaxPercent,jdbcType=DECIMAL}, #{forceSellPercent,jdbcType=DECIMAL},
+ #{buySameTimes,jdbcType=INTEGER}, #{buySameNums,jdbcType=INTEGER}, #{buyNumTimes,jdbcType=INTEGER},
+ #{buyNumLots,jdbcType=INTEGER}, #{forceStopRemindRatio,jdbcType=DECIMAL})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteFuturesSetting" >
+ insert into site_futures_setting
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="buyMaxPercent != null" >
+ buy_max_percent,
+ </if>
+ <if test="forceSellPercent != null" >
+ force_sell_percent,
+ </if>
+ <if test="buySameTimes != null" >
+ buy_same_times,
+ </if>
+ <if test="buySameNums != null" >
+ buy_same_nums,
+ </if>
+ <if test="buyNumTimes != null" >
+ buy_num_times,
+ </if>
+ <if test="buyNumLots != null" >
+ buy_num_lots,
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="buyMaxPercent != null" >
+ #{buyMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceSellPercent != null" >
+ #{forceSellPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="buySameTimes != null" >
+ #{buySameTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buySameNums != null" >
+ #{buySameNums,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumTimes != null" >
+ #{buyNumTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumLots != null" >
+ #{buyNumLots,jdbcType=INTEGER},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteFuturesSetting" >
+ update site_futures_setting
+ <set >
+ <if test="buyMaxPercent != null" >
+ buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceSellPercent != null" >
+ force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="buySameTimes != null" >
+ buy_same_times = #{buySameTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buySameNums != null" >
+ buy_same_nums = #{buySameNums,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumTimes != null" >
+ buy_num_times = #{buyNumTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumLots != null" >
+ buy_num_lots = #{buyNumLots,jdbcType=INTEGER},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteFuturesSetting" >
+ update site_futures_setting
+ set buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL},
+ force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL},
+ buy_same_times = #{buySameTimes,jdbcType=INTEGER},
+ buy_same_nums = #{buySameNums,jdbcType=INTEGER},
+ buy_num_times = #{buyNumTimes,jdbcType=INTEGER},
+ buy_num_lots = #{buyNumLots,jdbcType=INTEGER},
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="selectAllSiteSetting" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_futures_setting
+ </select>
+
+
+
+
+
+
+</mapper>
+
+
diff --git a/target/classes/mapper/SiteIndexSettingMapper.xml b/target/classes/mapper/SiteIndexSettingMapper.xml
new file mode 100644
index 0000000..59a2fc3
--- /dev/null
+++ b/target/classes/mapper/SiteIndexSettingMapper.xml
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteIndexSettingMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteIndexSetting" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_max_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="force_sell_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="trans_am_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_begin_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_begin_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="down_limit" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="rise_limit" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="force_stop_remind_ratio" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, buy_max_percent, force_sell_percent, trans_am_begin, trans_am_end, trans_pm_begin,
+ trans_pm_end,trans_am_begin_us, trans_am_end_us, trans_pm_begin_us,
+ trans_pm_end_us,trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk,
+ trans_pm_end_hk, down_limit, rise_limit, force_stop_remind_ratio
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_index_setting
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_index_setting
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteIndexSetting" >
+ insert into site_index_setting (id, buy_max_percent, force_sell_percent,
+ trans_am_begin, trans_am_end, trans_pm_begin,
+ trans_pm_end, trans_am_begin_us, trans_am_end_us, trans_pm_begin_us,
+ trans_pm_end_us, trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk,
+ trans_pm_end_hk,down_limit, rise_limit, force_stop_remind_ratio
+ )
+ values (#{id,jdbcType=INTEGER}, #{buyMaxPercent,jdbcType=DECIMAL}, #{forceSellPercent,jdbcType=DECIMAL},
+ #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR},
+ #{transPmEnd,jdbcType=VARCHAR},#{transAmBeginUs,jdbcType=VARCHAR}, #{transAmEndUs,jdbcType=VARCHAR}, #{transPmBeginUs,jdbcType=VARCHAR},
+ #{transPmEndUs,jdbcType=VARCHAR},#{transAmBeginhk,jdbcType=VARCHAR}, #{transAmEndhk,jdbcType=VARCHAR}, #{transPmBeginhk,jdbcType=VARCHAR},
+ #{transPmEndhk,jdbcType=VARCHAR}, #{downLimit,jdbcType=DECIMAL}, #{riseLimit,jdbcType=DECIMAL}, #{forceStopRemindRatio,jdbcType=DECIMAL}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteIndexSetting" >
+ insert into site_index_setting
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="buyMaxPercent != null" >
+ buy_max_percent,
+ </if>
+ <if test="forceSellPercent != null" >
+ force_sell_percent,
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin,
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end,
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin,
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end,
+ </if>
+ <if test="transAmBeginUs != null" >
+ trans_am_begin_us,
+ </if>
+ <if test="transAmEndUs != null" >
+ trans_am_end_us,
+ </if>
+ <if test="transPmBeginUs != null" >
+ trans_pm_begin_us,
+ </if>
+ <if test="transPmEndUs != null" >
+ trans_pm_end_us,
+ </if>
+ <if test="transAmBeginhk != null" >
+ trans_am_begin_hk,
+ </if>
+ <if test="transAmEndhk != null" >
+ trans_am_end_hk,
+ </if>
+ <if test="transPmBeginhk != null" >
+ trans_pm_begin_hk,
+ </if>
+ <if test="transPmEndhk != null" >
+ trans_pm_end_hk,
+ </if>
+ <if test="downLimit != null" >
+ down_limit,
+ </if>
+ <if test="riseLimit != null" >
+ rise_limit,
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="buyMaxPercent != null" >
+ #{buyMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceSellPercent != null" >
+ #{forceSellPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="transAmBegin != null" >
+ #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginUs != null" >
+ #{transAmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndUs != null" >
+ #{transAmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginUs != null" >
+ #{transPmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndUs != null" >
+ #{transPmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginhk != null" >
+ #{transAmBeginhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndhk != null" >
+ #{transAmEndhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginhk != null" >
+ #{transPmBeginhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndhk != null" >
+ #{transPmEndhk,jdbcType=VARCHAR},
+ </if>
+ <if test="downLimit != null" >
+ #{downLimit,jdbcType=DECIMAL},
+ </if>
+ <if test="riseLimit != null" >
+ #{riseLimit,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteIndexSetting" >
+ update site_index_setting
+ <set >
+ <if test="buyMaxPercent != null" >
+ buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceSellPercent != null" >
+ force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginUs != null" >
+ trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndUs != null" >
+ trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginUS != null" >
+ trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndUs != null" >
+ trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginhk != null" >
+ trans_am_begin_hk = #{transAmBeginhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndhk != null" >
+ trans_am_end_hk = #{transAmEndhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginhk != null" >
+ trans_pm_begin_hk = #{transPmBeginhk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndhk != null" >
+ trans_pm_end_hk = #{transPmEndhk,jdbcType=VARCHAR},
+ </if>
+ <if test="downLimit != null" >
+ down_limit = #{downLimit,jdbcType=DECIMAL},
+ </if>
+ <if test="riseLimit != null" >
+ rise_limit = #{riseLimit,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteIndexSetting" >
+ update site_index_setting
+ set buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL},
+ force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL},
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR},
+ trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR},
+ trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR},
+ trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR},
+ trans_am_begin_hk = #{transAmBeginhk,jdbcType=VARCHAR},
+ trans_am_end_hk = #{transAmEndhk,jdbcType=VARCHAR},
+ trans_pm_begin_hk = #{transPmBeginhk,jdbcType=VARCHAR},
+ trans_pm_end_hk = #{transPmEndhk,jdbcType=VARCHAR},
+ down_limit = #{downLimit,jdbcType=DECIMAL},
+ rise_limit = #{riseLimit,jdbcType=DECIMAL},
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="selectAllSiteIndexSetting" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_index_setting
+ </select>
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/SiteInfoMapper.xml b/target/classes/mapper/SiteInfoMapper.xml
new file mode 100644
index 0000000..aa37309
--- /dev/null
+++ b/target/classes/mapper/SiteInfoMapper.xml
@@ -0,0 +1,418 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteInfoMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteInfo" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="site_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_host" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_keywords" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_description" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_logo" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_logo_sm" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_qq" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_android_img" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_android_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_ios_img" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_ios_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_email_from" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_email_to" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_language" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_version_info" jdbcType="VARCHAR" javaType="java.lang.String" />
+
+ <arg column="site_intro" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="risk_notice" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="company_info" jdbcType="LONGVARCHAR" javaType="java.lang.String" />
+ <arg column="cert_img1" jdbcType="LONGVARCHAR" javaType="java.lang.String" />
+ <arg column="cert_img2" jdbcType="LONGVARCHAR" javaType="java.lang.String" />
+
+ <arg column="reg_agree" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trade_agree" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="site_color" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trade_agree_text" jdbcType="LONGVARCHAR" javaType="java.lang.String" />
+ <arg column="reg_agree_text" jdbcType="LONGVARCHAR" javaType="java.lang.String" />
+ <arg column="online_service" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trade_agree_title" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sms_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, site_name, site_host, site_keywords, site_description, site_logo, site_logo_sm, site_qq,
+ site_phone, site_android_img, site_android_url, site_ios_img, site_ios_url, site_email_from,
+ site_email_to, site_language, site_version_info, site_intro, risk_notice, company_info,
+ cert_img1, cert_img2, reg_agree, trade_agree, site_color,trade_agree_text,reg_agree_text,online_service,trade_agree_title,sms_display
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_info
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_info
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteInfo" >
+ insert into site_info (id, site_name, site_host, site_keywords,
+ site_description, site_logo, site_logo_sm,
+ site_qq, site_phone, site_android_img,
+ site_android_url, site_ios_img, site_ios_url,
+ site_email_from, site_email_to, site_language,
+ site_version_info, site_intro, risk_notice,
+ company_info, cert_img1, cert_img2,
+ reg_agree, trade_agree, site_color,trade_agree_text,reg_agree_text,online_service,trade_agree_title
+ ,sms_display)
+ values (#{id,jdbcType=INTEGER}, #{siteName,jdbcType=VARCHAR}, #{siteHost,jdbcType=VARCHAR}, #{siteKeywords,jdbcType=VARCHAR},
+ #{siteDescription,jdbcType=VARCHAR}, #{siteLogo,jdbcType=VARCHAR}, #{siteLogoSm,jdbcType=VARCHAR},
+ #{siteQq,jdbcType=VARCHAR}, #{sitePhone,jdbcType=VARCHAR}, #{siteAndroidImg,jdbcType=VARCHAR},
+ #{siteAndroidUrl,jdbcType=VARCHAR}, #{siteIosImg,jdbcType=VARCHAR}, #{siteIosUrl,jdbcType=VARCHAR},
+ #{siteEmailFrom,jdbcType=VARCHAR}, #{siteEmailTo,jdbcType=VARCHAR}, #{siteLanguage,jdbcType=VARCHAR},
+ #{siteVersionInfo,jdbcType=VARCHAR}, #{siteIntro,jdbcType=VARCHAR} ,#{riskNotice,jdbcType=VARCHAR},
+ #{companyInfo,jdbcType=LONGVARCHAR}, #{certImg1,jdbcType=LONGVARCHAR}, #{certImg2,jdbcType=LONGVARCHAR},
+ #{regAgree,jdbcType=VARCHAR},#{tradeAgree,jdbcType=VARCHAR},#{siteColor,jdbcType=VARCHAR}
+ ,#{tradeAgreeText,jdbcType=LONGVARCHAR},#{regAgreeText,jdbcType=LONGVARCHAR},#{onlineService,jdbcType=VARCHAR}
+ ,#{tradeAgreeTitle,jdbcType=VARCHAR},#{smsDisplay,jdbcType=BIT}
+ )
+ </insert>
+
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteInfo" >
+ insert into site_info
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="siteName != null" >
+ site_name,
+ </if>
+ <if test="siteHost != null" >
+ site_host,
+ </if>
+ <if test="siteKeywords != null" >
+ site_keywords,
+ </if>
+ <if test="siteDescription != null" >
+ site_description,
+ </if>
+ <if test="siteLogo != null" >
+ site_logo,
+ </if>
+ <if test="siteLogoSm != null" >
+ site_logo_sm,
+ </if>
+ <if test="siteQq != null" >
+ site_qq,
+ </if>
+ <if test="sitePhone != null" >
+ site_phone,
+ </if>
+ <if test="siteAndroidImg != null" >
+ site_android_img,
+ </if>
+ <if test="siteAndroidUrl != null" >
+ site_android_url,
+ </if>
+ <if test="siteIosImg != null" >
+ site_ios_img,
+ </if>
+ <if test="siteIosUrl != null" >
+ site_ios_url,
+ </if>
+ <if test="siteEmailFrom != null" >
+ site_email_from,
+ </if>
+ <if test="siteEmailTo != null" >
+ site_email_to,
+ </if>
+ <if test="siteLanguage != null" >
+ site_language,
+ </if>
+ <if test="siteVersionInfo != null" >
+ site_version_info,
+ </if>
+
+ <if test="siteIntro != null" >
+ site_intro,
+ </if>
+ <if test="riskNotice != null" >
+ risk_notice,
+ </if>
+ <if test="companyInfo != null" >
+ company_info,
+ </if>
+ <if test="certImg1 != null" >
+ cert_img1,
+ </if>
+ <if test="certImg2 != null" >
+ cert_img2,
+ </if>
+
+ <if test="regAgree != null" >
+ reg_agree,
+ </if>
+ <if test="tradeAgree != null" >
+ trade_agree,
+ </if>
+ <if test="siteColor != null" >
+ site_color,
+ </if>
+ <if test="tradeAgreeText != null" >
+ trade_agree_text,
+ </if>
+ <if test="regAgreeText != null" >
+ reg_agree_text,
+ </if>
+ <if test="onlineService != null" >
+ online_service,
+ </if>
+ <if test="tradeAgreeTitle != null" >
+ trade_agree_title,
+ </if>
+ <if test="smsDisplay != null" >
+ sms_display,
+ </if>
+
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="siteName != null" >
+ #{siteName,jdbcType=VARCHAR},
+ </if>
+ <if test="siteHost != null" >
+ #{siteHost,jdbcType=VARCHAR},
+ </if>
+ <if test="siteKeywords != null" >
+ #{siteKeywords,jdbcType=VARCHAR},
+ </if>
+ <if test="siteDescription != null" >
+ #{siteDescription,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLogo != null" >
+ #{siteLogo,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLogoSm != null" >
+ #{siteLogoSm,jdbcType=VARCHAR},
+ </if>
+ <if test="siteQq != null" >
+ #{siteQq,jdbcType=VARCHAR},
+ </if>
+ <if test="sitePhone != null" >
+ #{sitePhone,jdbcType=VARCHAR},
+ </if>
+ <if test="siteAndroidImg != null" >
+ #{siteAndroidImg,jdbcType=VARCHAR},
+ </if>
+ <if test="siteAndroidUrl != null" >
+ #{siteAndroidUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="siteIosImg != null" >
+ #{siteIosImg,jdbcType=VARCHAR},
+ </if>
+ <if test="siteIosUrl != null" >
+ #{siteIosUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="siteEmailFrom != null" >
+ #{siteEmailFrom,jdbcType=VARCHAR},
+ </if>
+ <if test="siteEmailTo != null" >
+ #{siteEmailTo,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLanguage != null" >
+ #{siteLanguage,jdbcType=VARCHAR},
+ </if>
+ <if test="siteVersionInfo != null" >
+ #{siteVersionInfo,jdbcType=VARCHAR},
+ </if>
+
+ <if test="siteIntro != null" >
+ #{siteIntro,jdbcType=VARCHAR},
+ </if>
+ <if test="riskNotice != null" >
+ #{riskNotice,jdbcType=VARCHAR},
+ </if>
+ <if test="companyInfo != null" >
+ #{companyInfo,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="certImg1 != null" >
+ #{certImg1,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="certImg2 != null" >
+ #{certImg2,jdbcType=LONGVARCHAR},
+ </if>
+
+ <if test="regAgree != null" >
+ #{regAgree,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgree != null" >
+ #{tradeAgree,jdbcType=VARCHAR},
+ </if>
+ <if test="siteColor != null" >
+ #{siteColor,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgreeText != null" >
+ #{tradeAgreeText,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="regAgreeText != null" >
+ #{regAgreeText,jdbcType=VARCHAR},
+ </if>
+ <if test="onlineService != null" >
+ #{onlineService,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgreeTitle != null" >
+ #{tradeAgreeTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="smsDisplay != null" >
+ #{smsDisplay,jdbcType=BIT},
+ </if>
+
+ </trim>
+ </insert>
+
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteInfo" >
+ update site_info
+ <set >
+ <if test="siteName != null" >
+ site_name = #{siteName,jdbcType=VARCHAR},
+ </if>
+ <if test="siteHost != null" >
+ site_host = #{siteHost,jdbcType=VARCHAR},
+ </if>
+ <if test="siteKeywords != null" >
+ site_keywords = #{siteKeywords,jdbcType=VARCHAR},
+ </if>
+ <if test="siteDescription != null" >
+ site_description = #{siteDescription,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLogo != null" >
+ site_logo = #{siteLogo,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLogoSm != null" >
+ site_logo_sm = #{siteLogoSm,jdbcType=VARCHAR},
+ </if>
+ <if test="siteQq != null" >
+ site_qq = #{siteQq,jdbcType=VARCHAR},
+ </if>
+ <if test="sitePhone != null" >
+ site_phone = #{sitePhone,jdbcType=VARCHAR},
+ </if>
+ <if test="siteAndroidImg != null" >
+ site_android_img = #{siteAndroidImg,jdbcType=VARCHAR},
+ </if>
+ <if test="siteAndroidUrl != null" >
+ site_android_url = #{siteAndroidUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="siteIosImg != null" >
+ site_ios_img = #{siteIosImg,jdbcType=VARCHAR},
+ </if>
+ <if test="siteIosUrl != null" >
+ site_ios_url = #{siteIosUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="siteEmailFrom != null" >
+ site_email_from = #{siteEmailFrom,jdbcType=VARCHAR},
+ </if>
+ <if test="siteEmailTo != null" >
+ site_email_to = #{siteEmailTo,jdbcType=VARCHAR},
+ </if>
+ <if test="siteLanguage != null" >
+ site_language = #{siteLanguage,jdbcType=VARCHAR},
+ </if>
+ <if test="siteVersionInfo != null" >
+ site_version_info = #{siteVersionInfo,jdbcType=VARCHAR},
+ </if>
+
+ <if test="siteIntro != null" >
+ site_intro = #{siteIntro,jdbcType=VARCHAR},
+ </if>
+ <if test="riskNotice != null" >
+ risk_notice = #{riskNotice,jdbcType=VARCHAR},
+ </if>
+ <if test="companyInfo != null" >
+ company_info = #{companyInfo,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="certImg1 != null" >
+ cert_img1 = #{certImg1,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="certImg2 != null" >
+ cert_img2 = #{certImg2,jdbcType=LONGVARCHAR},
+ </if>
+
+ <if test="regAgree != null" >
+ reg_agree = #{regAgree,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgree != null" >
+ trade_agree = #{tradeAgree,jdbcType=VARCHAR},
+ </if>
+ <if test="siteColor != null" >
+ site_color = #{siteColor,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgreeText != null" >
+ trade_agree_text = #{tradeAgreeText,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="regAgreeText != null" >
+ reg_agree_text = #{regAgreeText,jdbcType=LONGVARCHAR},
+ </if>
+ <if test="onlineService != null" >
+ online_service = #{onlineService,jdbcType=VARCHAR},
+ </if>
+ <if test="tradeAgreeTitle != null" >
+ trade_agree_title = #{tradeAgreeTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="smsDisplay != null" >
+ sms_display = #{smsDisplay,jdbcType=BIT},
+ </if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteInfo" >
+ update site_info
+ set site_name = #{siteName,jdbcType=VARCHAR},
+ site_host = #{siteHost,jdbcType=VARCHAR},
+ site_keywords = #{siteKeywords,jdbcType=VARCHAR},
+ site_description = #{siteDescription,jdbcType=VARCHAR},
+ site_logo = #{siteLogo,jdbcType=VARCHAR},
+ site_logo_sm = #{siteLogoSm,jdbcType=VARCHAR},
+ site_qq = #{siteQq,jdbcType=VARCHAR},
+ site_phone = #{sitePhone,jdbcType=VARCHAR},
+ site_android_img = #{siteAndroidImg,jdbcType=VARCHAR},
+ site_android_url = #{siteAndroidUrl,jdbcType=VARCHAR},
+ site_ios_img = #{siteIosImg,jdbcType=VARCHAR},
+ site_ios_url = #{siteIosUrl,jdbcType=VARCHAR},
+ site_email_from = #{siteEmailFrom,jdbcType=VARCHAR},
+ site_email_to = #{siteEmailTo,jdbcType=VARCHAR},
+ site_language = #{siteLanguage,jdbcType=VARCHAR},
+ site_version_info = #{siteVersionInfo,jdbcType=VARCHAR},
+
+ site_intro = #{siteIntro,jdbcType=VARCHAR},
+ risk_notice = #{riskNotice,jdbcType=VARCHAR},
+ company_info = #{companyInfo,jdbcType=LONGVARCHAR},
+ cert_img1 = #{certImg1,jdbcType=LONGVARCHAR},
+ cert_img2 = #{certImg2,jdbcType=LONGVARCHAR},
+
+ reg_agree = #{regAgree,jdbcType=VARCHAR},
+ trade_agree = #{tradeAgree,jdbcType=VARCHAR},
+ site_color = #{siteColor,jdbcType=VARCHAR},
+ trade_agree_text = #{tradeAgreeText,jdbcType=LONGVARCHAR},
+ reg_agree_text = #{regAgreeText,jdbcType=LONGVARCHAR},
+ online_service = #{onlineService,jdbcType=VARCHAR},
+ trade_agree_title = #{tradeAgreeTitle,jdbcType=VARCHAR},
+ sms_display = #{smsDisplay,jdbcType=BIT}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="findAll" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_info
+ </select>
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteLoginLogMapper.xml b/target/classes/mapper/SiteLoginLogMapper.xml
new file mode 100644
index 0000000..837c1de
--- /dev/null
+++ b/target/classes/mapper/SiteLoginLogMapper.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteLoginLogMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteLoginLog" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="login_ip" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="login_address" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, user_name, login_ip, login_address, add_time
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_login_log
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_login_log
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteLoginLog" >
+ insert into site_login_log (user_id, user_name,
+ login_ip, login_address, add_time
+ )
+ values (#{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR},
+ #{loginIp,jdbcType=VARCHAR}, #{loginAddress,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteLoginLog" >
+ insert into site_login_log
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="userName != null" >
+ user_name,
+ </if>
+ <if test="loginIp != null" >
+ login_ip,
+ </if>
+ <if test="loginAddress != null" >
+ login_address,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="userName != null" >
+ #{userName,jdbcType=VARCHAR},
+ </if>
+ <if test="loginIp != null" >
+ #{loginIp,jdbcType=VARCHAR},
+ </if>
+ <if test="loginAddress != null" >
+ #{loginAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteLoginLog" >
+ update site_login_log
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="userName != null" >
+ user_name = #{userName,jdbcType=VARCHAR},
+ </if>
+ <if test="loginIp != null" >
+ login_ip = #{loginIp,jdbcType=VARCHAR},
+ </if>
+ <if test="loginAddress != null" >
+ login_address = #{loginAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteLoginLog" >
+ update site_login_log
+ set user_id = #{userId,jdbcType=INTEGER},
+ user_name = #{userName,jdbcType=VARCHAR},
+ login_ip = #{loginIp,jdbcType=VARCHAR},
+ login_address = #{loginAddress,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="loginList" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_login_log
+ <where>
+ <if test="userId != null">
+ and user_id = #{userId}
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+ <delete id="deleteByUserId" parameterType="integer">
+ DELETE FROM site_login_log WHERE user_id = #{userId}
+ </delete>
+
+
+
+
+</mapper>
+
diff --git a/target/classes/mapper/SiteMessageMapper.xml b/target/classes/mapper/SiteMessageMapper.xml
new file mode 100644
index 0000000..c676758
--- /dev/null
+++ b/target/classes/mapper/SiteMessageMapper.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.SiteMessageMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteMessage" >
+ <result column="id" property="id" />
+ <result column="user_id" property="userId" />
+ <result column="user_name" property="userName" />
+ <result column="type_name" property="typeName" />
+ <result column="status" property="status" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="content" property="content" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ user_id,
+ user_name,
+ type_name,
+ status,
+ add_time,
+ update_time,
+ content
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.SiteMessage">
+ INSERT INTO site_message
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != userId'>
+ user_id,
+ </if>
+ <if test ='null != userName'>
+ user_name,
+ </if>
+ <if test ='null != typeName'>
+ type_name,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != content'>
+ content
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != userId'>
+ #{userId},
+ </if>
+ <if test ='null != userName'>
+ #{userName},
+ </if>
+ <if test ='null != typeName'>
+ #{typeName},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != content'>
+ #{content}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM site_message
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.SiteMessage">
+ UPDATE site_message
+ <set>
+ <if test ='null != userId'>user_id = #{userId},</if>
+ <if test ='null != userName'>user_name = #{userName},</if>
+ <if test ='null != typeName'>type_name = #{typeName},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != content'>content = #{content}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_message
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_message
+ LIMIT #{offset}, #{pageSize}
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_message
+ </select>
+
+ <select id="getSiteMessageByUserIdList" resultType="java.lang.Integer" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_message
+ WHERE 1=1
+ <if test="userId != null and userId != 0">
+ and user_id = #{userId}
+ </if>
+ order by id desc
+ </select>
+
+ <select id="getIsDayCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_message where user_id = #{userId} and type_name = #{typeName}
+ and TO_DAYS(add_time) = TO_DAYS(NOW())
+ </select>
+
+ <!--用户站内消息状态变已读-->
+ <update id="updateMessageStatus">
+ UPDATE site_message set status = 2,update_time = now()
+ WHERE user_id = #{userId} and status= 1
+ </update>
+
+ <!--查询用户未读消息数-->
+ <select id="getUnreadCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_message where user_id = #{userId} and status=1
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteNewsMapper.xml b/target/classes/mapper/SiteNewsMapper.xml
new file mode 100644
index 0000000..65f7c03
--- /dev/null
+++ b/target/classes/mapper/SiteNewsMapper.xml
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.SiteNewsMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteNews" >
+ <result column="id" property="id" />
+ <result column="type" property="type" />
+ <result column="title" property="title" />
+ <result column="source_id" property="sourceId" />
+ <result column="source_name" property="sourceName" />
+ <result column="views" property="views" />
+ <result column="status" property="status" />
+ <result column="show_time" property="showTime" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ <result column="imgurl" property="imgurl" />
+ <result column="description" property="description" />
+ <result column="content" property="content" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ type,
+ title,
+ source_id,
+ source_name,
+ views,
+ status,
+ show_time,
+ add_time,
+ update_time,
+ imgurl,
+ description,
+ content
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.SiteNews">
+ INSERT INTO site_news
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != type'>
+ type,
+ </if>
+ <if test ='null != title'>
+ title,
+ </if>
+ <if test ='null != sourceId'>
+ source_id,
+ </if>
+ <if test ='null != sourceName'>
+ source_name,
+ </if>
+ <if test ='null != views'>
+ views,
+ </if>
+ <if test ='null != status'>
+ status,
+ </if>
+ <if test ='null != showTime'>
+ show_time,
+ </if>
+ <if test ='null != addTime'>
+ add_time,
+ </if>
+ <if test ='null != updateTime'>
+ update_time,
+ </if>
+ <if test ='null != imgurl'>
+ imgurl,
+ </if>
+ <if test ='null != description'>
+ description,
+ </if>
+ <if test ='null != content'>
+ content
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != type'>
+ #{type},
+ </if>
+ <if test ='null != title'>
+ #{title},
+ </if>
+ <if test ='null != sourceId'>
+ #{sourceId},
+ </if>
+ <if test ='null != sourceName'>
+ #{sourceName},
+ </if>
+ <if test ='null != views'>
+ #{views},
+ </if>
+ <if test ='null != status'>
+ #{status},
+ </if>
+ <if test ='null != showTime'>
+ #{showTime},
+ </if>
+ <if test ='null != addTime'>
+ #{addTime},
+ </if>
+ <if test ='null != updateTime'>
+ #{updateTime},
+ </if>
+ <if test ='null != imgurl'>
+ #{imgurl},
+ </if>
+ <if test ='null != description'>
+ #{description},
+ </if>
+ <if test ='null != content'>
+ #{content}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM site_news
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.SiteNews">
+ UPDATE site_news
+ <set>
+ <if test ='null != type'>type = #{type},</if>
+ <if test ='null != title'>title = #{title},</if>
+ <if test ='null != sourceId'>source_id = #{sourceId},</if>
+ <if test ='null != sourceName'>source_name = #{sourceName},</if>
+ <if test ='null != views'>views = #{views},</if>
+ <if test ='null != status'>status = #{status},</if>
+ <if test ='null != showTime'>show_time = #{showTime},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
+ <if test ='null != imgurl'>imgurl = #{imgurl},</if>
+ <if test ='null != description'>description = #{description},</if>
+ <if test ='null != content'>content = #{content}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_news
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_news
+ where status=1
+ <if test="keyword != null and keyword != ''">
+ and (title like CONCAT('%',#{keyword},'%') or source_name like CONCAT('%',#{keyword},'%'))
+ </if>
+ <if test="type != null ">
+ and type=#{type}
+ </if>
+ <if test="sort != null and sort == 'time1' ">
+ order by show_time desc
+ </if>
+ <if test="sort != null and sort == 'time0' ">
+ order by show_time asc
+ </if>
+ <if test="sort != null and sort == 'views1' ">
+ order by views desc
+ </if>
+ <if test="sort != null and sort == 'views0' ">
+ order by views asc
+ </if>
+ <if test="sort == null">
+ order by show_time desc
+ </if>
+
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_news
+ </select>
+
+ <!--根据来源id查询新闻数-->
+ <select id="getNewsBySourceIdCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_news
+ WHERE source_id = #{sourceId}
+ </select>
+
+ <!--修改新闻浏览量-->
+ <update id="updateViews" >
+ UPDATE site_news
+ <set>
+ views = views + 1
+ </set>
+ WHERE id = #{id}
+ </update>
+
+ <!--top最新新闻资讯-->
+ <select id="getTopNewsList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_news
+ where status=1
+ order by show_time desc
+ limit #{pageSize}
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SitePayMapper.xml b/target/classes/mapper/SitePayMapper.xml
new file mode 100644
index 0000000..7199f33
--- /dev/null
+++ b/target/classes/mapper/SitePayMapper.xml
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SitePayMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SitePay" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+
+ <arg column="c_type" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="form_url" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="form_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+
+ <arg column="channel_type" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="channel_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="channel_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="channel_account" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="channel_img" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="channel_min_limit" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="channel_max_limit" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="totalPrice" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+
+
+ </constructor>
+ </resultMap>
+
+ <sql id="Base_Column_List" >
+ id, c_type,form_url,form_code,channel_type, channel_name, channel_desc, channel_account, channel_img, channel_min_limit,
+ channel_max_limit, is_show, is_lock, totalPrice
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_pay
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_pay
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SitePay" >
+ insert into site_pay (id, c_type,form_url,form_code,channel_type, channel_name,
+ channel_desc, channel_account, channel_img,
+ channel_min_limit, channel_max_limit, is_show,
+ is_lock, totalPrice)
+ values (#{id,jdbcType=INTEGER}, #{cType,jdbcType=INTEGER},#{formUrl,jdbcType=VARCHAR},#{formCode,jdbcType=VARCHAR},
+ #{channelType,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
+ #{channelDesc,jdbcType=VARCHAR}, #{channelAccount,jdbcType=VARCHAR}, #{channelImg,jdbcType=VARCHAR},
+ #{channelMinLimit,jdbcType=INTEGER}, #{channelMaxLimit,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER},
+ #{isLock,jdbcType=INTEGER},#{totalPrice,jdbcType=DECIMAL})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SitePay" >
+ insert into site_pay
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+
+ <if test="cType != null" >
+ c_type,
+ </if>
+ <if test="formUrl != null" >
+ form_url,
+ </if>
+ <if test="formCode != null" >
+ form_code,
+ </if>
+
+ <if test="channelType != null" >
+ channel_type,
+ </if>
+ <if test="channelName != null" >
+ channel_name,
+ </if>
+ <if test="channelDesc != null" >
+ channel_desc,
+ </if>
+ <if test="channelAccount != null" >
+ channel_account,
+ </if>
+ <if test="channelImg != null" >
+ channel_img,
+ </if>
+ <if test="channelMinLimit != null" >
+ channel_min_limit,
+ </if>
+ <if test="channelMaxLimit != null" >
+ channel_max_limit,
+ </if>
+ <if test="isShow != null" >
+ is_show,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="totalPrice != null" >
+ totalPrice,
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+
+ <if test="cType != null" >
+ #{cType,jdbcType=INTEGER},
+ </if>
+ <if test="formUrl != null" >
+ #{formUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="formCode != null" >
+ #{formCode,jdbcType=VARCHAR},
+ </if>
+
+ <if test="channelType != null" >
+ #{channelType,jdbcType=VARCHAR},
+ </if>
+ <if test="channelName != null" >
+ #{channelName,jdbcType=VARCHAR},
+ </if>
+ <if test="channelDesc != null" >
+ #{channelDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="channelAccount != null" >
+ #{channelAccount,jdbcType=VARCHAR},
+ </if>
+ <if test="channelImg != null" >
+ #{channelImg,jdbcType=VARCHAR},
+ </if>
+ <if test="channelMinLimit != null" >
+ #{channelMinLimit,jdbcType=INTEGER},
+ </if>
+ <if test="channelMaxLimit != null" >
+ #{channelMaxLimit,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="totalPrice != null" >
+ #{totalPrice,jdbcType=DECIMAL},
+ </if>
+
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SitePay" >
+ update site_pay
+ <set >
+
+ <if test="cType != null" >
+ c_type = #{cType,jdbcType=INTEGER},
+ </if>
+ <if test="formUrl != null" >
+ form_url = #{formUrl,jdbcType=VARCHAR},
+ </if>
+ <if test="formCode != null" >
+ form_code = #{formCode,jdbcType=VARCHAR},
+ </if>
+
+ <if test="channelType != null" >
+ channel_type = #{channelType,jdbcType=VARCHAR},
+ </if>
+ <if test="channelName != null" >
+ channel_name = #{channelName,jdbcType=VARCHAR},
+ </if>
+ <if test="channelDesc != null" >
+ channel_desc = #{channelDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="channelAccount != null" >
+ channel_account = #{channelAccount,jdbcType=VARCHAR},
+ </if>
+ <if test="channelImg != null" >
+ channel_img = #{channelImg,jdbcType=VARCHAR},
+ </if>
+ <if test="channelMinLimit != null" >
+ channel_min_limit = #{channelMinLimit,jdbcType=INTEGER},
+ </if>
+ <if test="channelMaxLimit != null" >
+ channel_max_limit = #{channelMaxLimit,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ is_show = #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="totalPrice != null" >
+ totalPrice = #{totalPrice,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SitePay" >
+ update site_pay
+ set c_type = #{cType,jdbcType=INTEGER},
+ form_url = #{formUrl,jdbcType=VARCHAR},
+ form_code = #{formCode,jdbcType=VARCHAR},
+ channel_type = #{channelType,jdbcType=VARCHAR},
+ channel_name = #{channelName,jdbcType=VARCHAR},
+ channel_desc = #{channelDesc,jdbcType=VARCHAR},
+ channel_account = #{channelAccount,jdbcType=VARCHAR},
+ channel_img = #{channelImg,jdbcType=VARCHAR},
+ channel_min_limit = #{channelMinLimit,jdbcType=INTEGER},
+ channel_max_limit = #{channelMaxLimit,jdbcType=INTEGER},
+ is_show = #{isShow,jdbcType=INTEGER},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ totalPrice = #{totalPrice,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+ <select id="findByChannelType" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_pay WHERE channel_type = #{channelType}
+ </select>
+
+
+ <select id="listByAdmin" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_pay
+ <where>
+ <if test="channelType != null and channelType != '' ">
+ channel_type = #{channelType}
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+ <select id="getPayInfo" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_pay WHERE is_show = 0 and channel_max_limit>totalPrice
+ <if test="payAmt != null and payAmt > 0">
+ and channel_min_limit <= #{payAmt} and channel_max_limit> #{payAmt}
+ </if>
+ </select>
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteProductMapper.xml b/target/classes/mapper/SiteProductMapper.xml
new file mode 100644
index 0000000..335b01c
--- /dev/null
+++ b/target/classes/mapper/SiteProductMapper.xml
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteProductMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteProduct" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="kc_stock_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="index_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="futures_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="real_name_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="funds_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="delay_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="expand_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="margin_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="end_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="stock_margin_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="holiday_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="stock_dz_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="tran_withdraw_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+
+
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, stock_display, kc_stock_display, index_display, futures_display, real_name_display, funds_display,
+ funds_display,
+ delay_display,
+ expand_display,
+ margin_display,
+ end_display,
+ stock_margin_display,
+ holiday_display,stock_dz_display,tran_withdraw_display
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_product
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_product
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteProduct" >
+ insert into site_product (id, stock_display, kc_stock_display,
+ index_display, futures_display, real_name_display,
+ funds_display,
+ delay_display,
+ expand_display,
+ margin_display,
+ end_display,stock_dz_display,tran_withdraw_display)
+ values (#{id,jdbcType=INTEGER}, #{stockDisplay,jdbcType=BIT}, #{kcStockDisplay,jdbcType=BIT},
+ #{indexDisplay,jdbcType=BIT}, #{futuresDisplay,jdbcType=BIT}, #{realNameDisplay,jdbcType=BIT}
+ , #{fundsDisplay,jdbcType=BIT}, #{delayDisplay,jdbcType=BIT}, #{expandDisplay,jdbcType=BIT}
+ , #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT},#{stockDzDisplay,jdbcType=BIT},#{tranWithdrawDisplay,jdbcType=BIT})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteProduct" >
+ insert into site_product
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="stockDisplay != null" >
+ stock_display,
+ </if>
+ <if test="kcStockDisplay != null" >
+ kc_stock_display,
+ </if>
+ <if test="indexDisplay != null" >
+ index_display,
+ </if>
+ <if test="futuresDisplay != null" >
+ futures_display,
+ </if>
+ <if test="realNameDisplay != null" >
+ real_name_display,
+ </if>
+ <if test ='null != fundsDisplay'>
+ funds_display,
+ </if>
+ <if test ='null != delayDisplay'>
+ delay_display,
+ </if>
+ <if test ='null != expandDisplay'>
+ expand_display,
+ </if>
+ <if test ='null != marginDisplay'>
+ margin_display,
+ </if>
+ <if test ='null != endDisplay'>
+ end_display
+ </if>
+ <if test ='null != stockDzDisplay'>
+ stock_dz_display
+ </if>
+ <if test ='null != tranWithdrawDisplay'>
+ tran_withdraw_display
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="stockDisplay != null" >
+ #{stockDisplay,jdbcType=BIT},
+ </if>
+ <if test="kcStockDisplay != null" >
+ #{kcStockDisplay,jdbcType=BIT},
+ </if>
+ <if test="indexDisplay != null" >
+ #{indexDisplay,jdbcType=BIT},
+ </if>
+ <if test="futuresDisplay != null" >
+ #{futuresDisplay,jdbcType=BIT},
+ </if>
+ <if test="realNameDisplay != null" >
+ #{realNameDisplay,jdbcType=BIT},
+ </if>
+ <if test ='null != fundsDisplay'>
+ #{fundsDisplay,jdbcType=BIT},
+ </if>
+ <if test ='null != delayDisplay'>
+ #{delayDisplay,jdbcType=BIT},
+ </if>
+ <if test ='null != expandDisplay'>
+ #{expandDisplay,jdbcType=BIT},
+ </if>
+ <if test ='null != marginDisplay'>
+ #{marginDisplay,jdbcType=BIT},
+ </if>
+ <if test ='null != endDisplay'>
+ #{endDisplay,jdbcType=BIT}
+ </if>
+ <if test ='null != stockDzDisplay'>
+ #{stockDzDisplay,jdbcType=BIT}
+ </if>
+ <if test ='null != tranWithdrawDisplay'>
+ #{tranWithdrawDisplay,jdbcType=BIT}
+ </if>
+
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteProduct" >
+ update site_product
+ <set >
+ <if test="stockDisplay != null" >
+ stock_display = #{stockDisplay,jdbcType=BIT},
+ </if>
+ <if test="kcStockDisplay != null" >
+ kc_stock_display = #{kcStockDisplay,jdbcType=BIT},
+ </if>
+ <if test="indexDisplay != null" >
+ index_display = #{indexDisplay,jdbcType=BIT},
+ </if>
+ <if test="futuresDisplay != null" >
+ futures_display = #{futuresDisplay,jdbcType=BIT},
+ </if>
+ <if test="realNameDisplay != null" >
+ real_name_display = #{realNameDisplay,jdbcType=BIT},
+ </if>
+ <if test="fundsDisplay != null" >
+ funds_display = #{fundsDisplay,jdbcType=BIT},
+ </if>
+ <if test="stockDzDisplay != null" >
+ stock_dz_display = #{stockDzDisplay,jdbcType=BIT},
+ </if>
+ <if test="tranWithdrawDisplay != null" >
+ tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT},
+ </if>
+
+ <if test ='null != delayDisplay'>delay_display = #{delayDisplay},</if>
+ <if test ='null != expandDisplay'>expand_display = #{expandDisplay},</if>
+ <if test ='null != marginDisplay'>margin_display = #{marginDisplay},</if>
+ <if test ='null != endDisplay'>end_display = #{endDisplay},</if>
+ <if test ='null != stockMarginDisplay'>stock_margin_display = #{stockMarginDisplay}</if>
+ <if test ='null != holidayDisplay'>holiday_display = #{holidayDisplay}</if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteProduct" >
+ update site_product
+ set stock_display = #{stockDisplay,jdbcType=BIT},
+ kc_stock_display = #{kcStockDisplay,jdbcType=BIT},
+ index_display = #{indexDisplay,jdbcType=BIT},
+ futures_display = #{futuresDisplay,jdbcType=BIT},
+ real_name_display = #{realNameDisplay,jdbcType=BIT},
+ funds_display = #{fundsDisplay,jdbcType=BIT},
+ stock_dz_display = #{stockDzDisplay,jdbcType=BIT},
+ tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="findAllSiteSetting" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_product
+ </select>
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/SiteSettingMapper.xml b/target/classes/mapper/SiteSettingMapper.xml
new file mode 100644
index 0000000..a8caae9
--- /dev/null
+++ b/target/classes/mapper/SiteSettingMapper.xml
@@ -0,0 +1,927 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteSettingMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteSetting" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sell_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stay_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="duty_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stay_max_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_min_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="charge_min_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_min_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="force_stop_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="buy_max_amt_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="force_stop_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="hight_and_low" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="with_min_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="crease_max_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="buy_max_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="with_time_begin" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="with_time_end" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_am_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_begin_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end_us" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="with_fee_single" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="with_fee_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="site_lever" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="buy_same_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_same_nums" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_num_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_num_lots" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="cant_sell_times" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="kc_crease_max_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stock_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stock_chaa" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stock_chab" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stock_chac" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="force_stop_remind_ratio" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="cy_crease_max_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="fall_buy_display" jdbcType="TINYINT" javaType="java.lang.Byte" />
+ <arg column="trans_am_begin_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end_hk" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="vip_qc_max_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="hk_exchange_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ </constructor>
+ </resultMap>
+ <sql id="Example_Where_Clause" >
+ <where >
+ <foreach collection="oredCriteria" item="criteria" separator="or" >
+ <if test="criteria.valid" >
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
+ <foreach collection="criteria.criteria" item="criterion" >
+ <choose >
+ <when test="criterion.noValue" >
+ and ${criterion.condition}
+ </when>
+ <when test="criterion.singleValue" >
+ and ${criterion.condition} #{criterion.value}
+ </when>
+ <when test="criterion.betweenValue" >
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+ </when>
+ <when test="criterion.listValue" >
+ and ${criterion.condition}
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+ #{listItem}
+ </foreach>
+ </when>
+ </choose>
+ </foreach>
+ </trim>
+ </if>
+ </foreach>
+ </where>
+ </sql>
+ <sql id="Update_By_Example_Where_Clause" >
+ <where >
+ <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+ <if test="criteria.valid" >
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
+ <foreach collection="criteria.criteria" item="criterion" >
+ <choose >
+ <when test="criterion.noValue" >
+ and ${criterion.condition}
+ </when>
+ <when test="criterion.singleValue" >
+ and ${criterion.condition} #{criterion.value}
+ </when>
+ <when test="criterion.betweenValue" >
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+ </when>
+ <when test="criterion.listValue" >
+ and ${criterion.condition}
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+ #{listItem}
+ </foreach>
+ </when>
+ </choose>
+ </foreach>
+ </trim>
+ </if>
+ </foreach>
+ </where>
+ </sql>
+ <sql id="Base_Column_List" >
+ id, buy_fee, sell_fee, stay_fee, duty_fee, stay_max_days, buy_min_amt, charge_min_amt,
+ buy_min_num, force_stop_fee, buy_max_amt_percent, force_stop_percent, hight_and_low,
+ with_min_amt, crease_max_percent, buy_max_num, with_time_begin, with_time_end, trans_am_begin,
+ trans_am_end, trans_pm_begin, trans_pm_end, trans_am_begin_us, trans_am_end_us, trans_pm_begin_us,
+ trans_pm_end_us, with_fee_single, with_fee_percent, site_lever, buy_same_times, buy_same_nums,
+ buy_num_times, buy_num_lots, cant_sell_times, kc_crease_max_percent, stock_days,
+ stock_rate, stock_chaa, stock_chab, stock_chac, force_stop_remind_ratio, cy_crease_max_percent,
+ fall_buy_display, trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk, trans_pm_end_hk,
+ vip_qc_max_amt, hk_exchange_rate
+ </sql>
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.nq.pojo.SiteSettingExample" >
+ select
+ <if test="distinct" >
+ distinct
+ </if>
+ <include refid="Base_Column_List" />
+ from site_setting
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ <if test="orderByClause != null" >
+ order by ${orderByClause}
+ </if>
+ </select>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_setting
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_setting
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <delete id="deleteByExample" parameterType="com.nq.pojo.SiteSettingExample" >
+ delete from site_setting
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteSetting" >
+ <selectKey resultType="java.lang.Integer" keyProperty="id" order="BEFORE" >
+ SELECT LAST_INSERT_ID()
+ </selectKey>
+ insert into site_setting (id, buy_fee, sell_fee,
+ stay_fee, duty_fee, stay_max_days,
+ buy_min_amt, charge_min_amt, buy_min_num,
+ force_stop_fee, buy_max_amt_percent, force_stop_percent,
+ hight_and_low, with_min_amt, crease_max_percent,
+ buy_max_num, with_time_begin, with_time_end,
+ trans_am_begin, trans_am_end, trans_pm_begin,
+ trans_pm_end, trans_am_begin_us, trans_am_end_us,
+ trans_pm_begin_us, trans_pm_end_us, with_fee_single,
+ with_fee_percent, site_lever, buy_same_times,
+ buy_same_nums, buy_num_times, buy_num_lots,
+ cant_sell_times, kc_crease_max_percent, stock_days,
+ stock_rate, stock_chaa, stock_chab,
+ stock_chac, force_stop_remind_ratio, cy_crease_max_percent,
+ fall_buy_display, trans_am_begin_hk, trans_am_end_hk,
+ trans_pm_begin_hk, trans_pm_end_hk, vip_qc_max_amt,
+ hk_exchange_rate)
+ values (#{id,jdbcType=INTEGER}, #{buyFee,jdbcType=DECIMAL}, #{sellFee,jdbcType=DECIMAL},
+ #{stayFee,jdbcType=DECIMAL}, #{dutyFee,jdbcType=DECIMAL}, #{stayMaxDays,jdbcType=INTEGER},
+ #{buyMinAmt,jdbcType=INTEGER}, #{chargeMinAmt,jdbcType=INTEGER}, #{buyMinNum,jdbcType=INTEGER},
+ #{forceStopFee,jdbcType=DECIMAL}, #{buyMaxAmtPercent,jdbcType=DECIMAL}, #{forceStopPercent,jdbcType=DECIMAL},
+ #{hightAndLow,jdbcType=DECIMAL}, #{withMinAmt,jdbcType=INTEGER}, #{creaseMaxPercent,jdbcType=DECIMAL},
+ #{buyMaxNum,jdbcType=INTEGER}, #{withTimeBegin,jdbcType=INTEGER}, #{withTimeEnd,jdbcType=INTEGER},
+ #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR},
+ #{transPmEnd,jdbcType=VARCHAR}, #{transAmBeginUs,jdbcType=VARCHAR}, #{transAmEndUs,jdbcType=VARCHAR},
+ #{transPmBeginUs,jdbcType=VARCHAR}, #{transPmEndUs,jdbcType=VARCHAR}, #{withFeeSingle,jdbcType=INTEGER},
+ #{withFeePercent,jdbcType=DECIMAL}, #{siteLever,jdbcType=VARCHAR}, #{buySameTimes,jdbcType=INTEGER},
+ #{buySameNums,jdbcType=INTEGER}, #{buyNumTimes,jdbcType=INTEGER}, #{buyNumLots,jdbcType=INTEGER},
+ #{cantSellTimes,jdbcType=INTEGER}, #{kcCreaseMaxPercent,jdbcType=DECIMAL}, #{stockDays,jdbcType=INTEGER},
+ #{stockRate,jdbcType=DECIMAL}, #{stockChaa,jdbcType=DECIMAL}, #{stockChab,jdbcType=DECIMAL},
+ #{stockChac,jdbcType=DECIMAL}, #{forceStopRemindRatio,jdbcType=DECIMAL}, #{cyCreaseMaxPercent,jdbcType=DECIMAL},
+ #{fallBuyDisplay,jdbcType=TINYINT}, #{transAmBeginHk,jdbcType=VARCHAR}, #{transAmEndHk,jdbcType=VARCHAR},
+ #{transPmBeginHk,jdbcType=VARCHAR}, #{transPmEndHk,jdbcType=VARCHAR}, #{vipQcMaxAmt,jdbcType=DECIMAL},
+ #{hkExchangeRate,jdbcType=DECIMAL})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteSetting" >
+ <selectKey resultType="java.lang.Integer" keyProperty="id" order="BEFORE" >
+ SELECT LAST_INSERT_ID()
+ </selectKey>
+ insert into site_setting
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ id,
+ <if test="buyFee != null" >
+ buy_fee,
+ </if>
+ <if test="sellFee != null" >
+ sell_fee,
+ </if>
+ <if test="stayFee != null" >
+ stay_fee,
+ </if>
+ <if test="dutyFee != null" >
+ duty_fee,
+ </if>
+ <if test="stayMaxDays != null" >
+ stay_max_days,
+ </if>
+ <if test="buyMinAmt != null" >
+ buy_min_amt,
+ </if>
+ <if test="chargeMinAmt != null" >
+ charge_min_amt,
+ </if>
+ <if test="buyMinNum != null" >
+ buy_min_num,
+ </if>
+ <if test="forceStopFee != null" >
+ force_stop_fee,
+ </if>
+ <if test="buyMaxAmtPercent != null" >
+ buy_max_amt_percent,
+ </if>
+ <if test="forceStopPercent != null" >
+ force_stop_percent,
+ </if>
+ <if test="hightAndLow != null" >
+ hight_and_low,
+ </if>
+ <if test="withMinAmt != null" >
+ with_min_amt,
+ </if>
+ <if test="creaseMaxPercent != null" >
+ crease_max_percent,
+ </if>
+ <if test="buyMaxNum != null" >
+ buy_max_num,
+ </if>
+ <if test="withTimeBegin != null" >
+ with_time_begin,
+ </if>
+ <if test="withTimeEnd != null" >
+ with_time_end,
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin,
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end,
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin,
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end,
+ </if>
+ <if test="transAmBeginUs != null" >
+ trans_am_begin_us,
+ </if>
+ <if test="transAmEndUs != null" >
+ trans_am_end_us,
+ </if>
+ <if test="transPmBeginUs != null" >
+ trans_pm_begin_us,
+ </if>
+ <if test="transPmEndUs != null" >
+ trans_pm_end_us,
+ </if>
+ <if test="withFeeSingle != null" >
+ with_fee_single,
+ </if>
+ <if test="withFeePercent != null" >
+ with_fee_percent,
+ </if>
+ <if test="siteLever != null" >
+ site_lever,
+ </if>
+ <if test="buySameTimes != null" >
+ buy_same_times,
+ </if>
+ <if test="buySameNums != null" >
+ buy_same_nums,
+ </if>
+ <if test="buyNumTimes != null" >
+ buy_num_times,
+ </if>
+ <if test="buyNumLots != null" >
+ buy_num_lots,
+ </if>
+ <if test="cantSellTimes != null" >
+ cant_sell_times,
+ </if>
+ <if test="kcCreaseMaxPercent != null" >
+ kc_crease_max_percent,
+ </if>
+ <if test="stockDays != null" >
+ stock_days,
+ </if>
+ <if test="stockRate != null" >
+ stock_rate,
+ </if>
+ <if test="stockChaa != null" >
+ stock_chaa,
+ </if>
+ <if test="stockChab != null" >
+ stock_chab,
+ </if>
+ <if test="stockChac != null" >
+ stock_chac,
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio,
+ </if>
+ <if test="cyCreaseMaxPercent != null" >
+ cy_crease_max_percent,
+ </if>
+ <if test="fallBuyDisplay != null" >
+ fall_buy_display,
+ </if>
+ <if test="transAmBeginHk != null" >
+ trans_am_begin_hk,
+ </if>
+ <if test="transAmEndHk != null" >
+ trans_am_end_hk,
+ </if>
+ <if test="transPmBeginHk != null" >
+ trans_pm_begin_hk,
+ </if>
+ <if test="transPmEndHk != null" >
+ trans_pm_end_hk,
+ </if>
+ <if test="vipQcMaxAmt != null" >
+ vip_qc_max_amt,
+ </if>
+ <if test="hkExchangeRate != null" >
+ hk_exchange_rate,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ #{id,jdbcType=INTEGER},
+ <if test="buyFee != null" >
+ #{buyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="sellFee != null" >
+ #{sellFee,jdbcType=DECIMAL},
+ </if>
+ <if test="stayFee != null" >
+ #{stayFee,jdbcType=DECIMAL},
+ </if>
+ <if test="dutyFee != null" >
+ #{dutyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="stayMaxDays != null" >
+ #{stayMaxDays,jdbcType=INTEGER},
+ </if>
+ <if test="buyMinAmt != null" >
+ #{buyMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="chargeMinAmt != null" >
+ #{chargeMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="buyMinNum != null" >
+ #{buyMinNum,jdbcType=INTEGER},
+ </if>
+ <if test="forceStopFee != null" >
+ #{forceStopFee,jdbcType=DECIMAL},
+ </if>
+ <if test="buyMaxAmtPercent != null" >
+ #{buyMaxAmtPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopPercent != null" >
+ #{forceStopPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="hightAndLow != null" >
+ #{hightAndLow,jdbcType=DECIMAL},
+ </if>
+ <if test="withMinAmt != null" >
+ #{withMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="creaseMaxPercent != null" >
+ #{creaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="buyMaxNum != null" >
+ #{buyMaxNum,jdbcType=INTEGER},
+ </if>
+ <if test="withTimeBegin != null" >
+ #{withTimeBegin,jdbcType=INTEGER},
+ </if>
+ <if test="withTimeEnd != null" >
+ #{withTimeEnd,jdbcType=INTEGER},
+ </if>
+ <if test="transAmBegin != null" >
+ #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginUs != null" >
+ #{transAmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndUs != null" >
+ #{transAmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginUs != null" >
+ #{transPmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndUs != null" >
+ #{transPmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="withFeeSingle != null" >
+ #{withFeeSingle,jdbcType=INTEGER},
+ </if>
+ <if test="withFeePercent != null" >
+ #{withFeePercent,jdbcType=DECIMAL},
+ </if>
+ <if test="siteLever != null" >
+ #{siteLever,jdbcType=VARCHAR},
+ </if>
+ <if test="buySameTimes != null" >
+ #{buySameTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buySameNums != null" >
+ #{buySameNums,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumTimes != null" >
+ #{buyNumTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumLots != null" >
+ #{buyNumLots,jdbcType=INTEGER},
+ </if>
+ <if test="cantSellTimes != null" >
+ #{cantSellTimes,jdbcType=INTEGER},
+ </if>
+ <if test="kcCreaseMaxPercent != null" >
+ #{kcCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="stockDays != null" >
+ #{stockDays,jdbcType=INTEGER},
+ </if>
+ <if test="stockRate != null" >
+ #{stockRate,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChaa != null" >
+ #{stockChaa,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChab != null" >
+ #{stockChab,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChac != null" >
+ #{stockChac,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ <if test="cyCreaseMaxPercent != null" >
+ #{cyCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="fallBuyDisplay != null" >
+ #{fallBuyDisplay,jdbcType=TINYINT},
+ </if>
+ <if test="transAmBeginHk != null" >
+ #{transAmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndHk != null" >
+ #{transAmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginHk != null" >
+ #{transPmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndHk != null" >
+ #{transPmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="vipQcMaxAmt != null" >
+ #{vipQcMaxAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="hkExchangeRate != null" >
+ #{hkExchangeRate,jdbcType=DECIMAL},
+ </if>
+ </trim>
+ </insert>
+ <select id="countByExample" parameterType="com.nq.pojo.SiteSettingExample" resultType="java.lang.Integer" >
+ select count(*) from site_setting
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ </select>
+ <update id="updateByExampleSelective" parameterType="map" >
+ update site_setting
+ <set >
+ <if test="record.id != null" >
+ id = #{record.id,jdbcType=INTEGER},
+ </if>
+ <if test="record.buyFee != null" >
+ buy_fee = #{record.buyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="record.sellFee != null" >
+ sell_fee = #{record.sellFee,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stayFee != null" >
+ stay_fee = #{record.stayFee,jdbcType=DECIMAL},
+ </if>
+ <if test="record.dutyFee != null" >
+ duty_fee = #{record.dutyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stayMaxDays != null" >
+ stay_max_days = #{record.stayMaxDays,jdbcType=INTEGER},
+ </if>
+ <if test="record.buyMinAmt != null" >
+ buy_min_amt = #{record.buyMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="record.chargeMinAmt != null" >
+ charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="record.buyMinNum != null" >
+ buy_min_num = #{record.buyMinNum,jdbcType=INTEGER},
+ </if>
+ <if test="record.forceStopFee != null" >
+ force_stop_fee = #{record.forceStopFee,jdbcType=DECIMAL},
+ </if>
+ <if test="record.buyMaxAmtPercent != null" >
+ buy_max_amt_percent = #{record.buyMaxAmtPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.forceStopPercent != null" >
+ force_stop_percent = #{record.forceStopPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.hightAndLow != null" >
+ hight_and_low = #{record.hightAndLow,jdbcType=DECIMAL},
+ </if>
+ <if test="record.withMinAmt != null" >
+ with_min_amt = #{record.withMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="record.creaseMaxPercent != null" >
+ crease_max_percent = #{record.creaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.buyMaxNum != null" >
+ buy_max_num = #{record.buyMaxNum,jdbcType=INTEGER},
+ </if>
+ <if test="record.withTimeBegin != null" >
+ with_time_begin = #{record.withTimeBegin,jdbcType=INTEGER},
+ </if>
+ <if test="record.withTimeEnd != null" >
+ with_time_end = #{record.withTimeEnd,jdbcType=INTEGER},
+ </if>
+ <if test="record.transAmBegin != null" >
+ trans_am_begin = #{record.transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transAmEnd != null" >
+ trans_am_end = #{record.transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmBegin != null" >
+ trans_pm_begin = #{record.transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmEnd != null" >
+ trans_pm_end = #{record.transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transAmBeginUs != null" >
+ trans_am_begin_us = #{record.transAmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transAmEndUs != null" >
+ trans_am_end_us = #{record.transAmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmBeginUs != null" >
+ trans_pm_begin_us = #{record.transPmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmEndUs != null" >
+ trans_pm_end_us = #{record.transPmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="record.withFeeSingle != null" >
+ with_fee_single = #{record.withFeeSingle,jdbcType=INTEGER},
+ </if>
+ <if test="record.withFeePercent != null" >
+ with_fee_percent = #{record.withFeePercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.siteLever != null" >
+ site_lever = #{record.siteLever,jdbcType=VARCHAR},
+ </if>
+ <if test="record.buySameTimes != null" >
+ buy_same_times = #{record.buySameTimes,jdbcType=INTEGER},
+ </if>
+ <if test="record.buySameNums != null" >
+ buy_same_nums = #{record.buySameNums,jdbcType=INTEGER},
+ </if>
+ <if test="record.buyNumTimes != null" >
+ buy_num_times = #{record.buyNumTimes,jdbcType=INTEGER},
+ </if>
+ <if test="record.buyNumLots != null" >
+ buy_num_lots = #{record.buyNumLots,jdbcType=INTEGER},
+ </if>
+ <if test="record.cantSellTimes != null" >
+ cant_sell_times = #{record.cantSellTimes,jdbcType=INTEGER},
+ </if>
+ <if test="record.kcCreaseMaxPercent != null" >
+ kc_crease_max_percent = #{record.kcCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stockDays != null" >
+ stock_days = #{record.stockDays,jdbcType=INTEGER},
+ </if>
+ <if test="record.stockRate != null" >
+ stock_rate = #{record.stockRate,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stockChaa != null" >
+ stock_chaa = #{record.stockChaa,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stockChab != null" >
+ stock_chab = #{record.stockChab,jdbcType=DECIMAL},
+ </if>
+ <if test="record.stockChac != null" >
+ stock_chac = #{record.stockChac,jdbcType=DECIMAL},
+ </if>
+ <if test="record.forceStopRemindRatio != null" >
+ force_stop_remind_ratio = #{record.forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ <if test="record.cyCreaseMaxPercent != null" >
+ cy_crease_max_percent = #{record.cyCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="record.fallBuyDisplay != null" >
+ fall_buy_display = #{record.fallBuyDisplay,jdbcType=TINYINT},
+ </if>
+ <if test="record.transAmBeginHk != null" >
+ trans_am_begin_hk = #{record.transAmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transAmEndHk != null" >
+ trans_am_end_hk = #{record.transAmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmBeginHk != null" >
+ trans_pm_begin_hk = #{record.transPmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="record.transPmEndHk != null" >
+ trans_pm_end_hk = #{record.transPmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="record.vipQcMaxAmt != null" >
+ vip_qc_max_amt = #{record.vipQcMaxAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.hkExchangeRate != null" >
+ hk_exchange_rate = #{record.hkExchangeRate,jdbcType=DECIMAL},
+ </if>
+ </set>
+ <if test="_parameter != null" >
+ <include refid="Update_By_Example_Where_Clause" />
+ </if>
+ </update>
+ <update id="updateByExample" parameterType="map" >
+ update site_setting
+ set id = #{record.id,jdbcType=INTEGER},
+ buy_fee = #{record.buyFee,jdbcType=DECIMAL},
+ sell_fee = #{record.sellFee,jdbcType=DECIMAL},
+ stay_fee = #{record.stayFee,jdbcType=DECIMAL},
+ duty_fee = #{record.dutyFee,jdbcType=DECIMAL},
+ stay_max_days = #{record.stayMaxDays,jdbcType=INTEGER},
+ buy_min_amt = #{record.buyMinAmt,jdbcType=INTEGER},
+ charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER},
+ buy_min_num = #{record.buyMinNum,jdbcType=INTEGER},
+ force_stop_fee = #{record.forceStopFee,jdbcType=DECIMAL},
+ buy_max_amt_percent = #{record.buyMaxAmtPercent,jdbcType=DECIMAL},
+ force_stop_percent = #{record.forceStopPercent,jdbcType=DECIMAL},
+ hight_and_low = #{record.hightAndLow,jdbcType=DECIMAL},
+ with_min_amt = #{record.withMinAmt,jdbcType=INTEGER},
+ crease_max_percent = #{record.creaseMaxPercent,jdbcType=DECIMAL},
+ buy_max_num = #{record.buyMaxNum,jdbcType=INTEGER},
+ with_time_begin = #{record.withTimeBegin,jdbcType=INTEGER},
+ with_time_end = #{record.withTimeEnd,jdbcType=INTEGER},
+ trans_am_begin = #{record.transAmBegin,jdbcType=VARCHAR},
+ trans_am_end = #{record.transAmEnd,jdbcType=VARCHAR},
+ trans_pm_begin = #{record.transPmBegin,jdbcType=VARCHAR},
+ trans_pm_end = #{record.transPmEnd,jdbcType=VARCHAR},
+ trans_am_begin_us = #{record.transAmBeginUs,jdbcType=VARCHAR},
+ trans_am_end_us = #{record.transAmEndUs,jdbcType=VARCHAR},
+ trans_pm_begin_us = #{record.transPmBeginUs,jdbcType=VARCHAR},
+ trans_pm_end_us = #{record.transPmEndUs,jdbcType=VARCHAR},
+ with_fee_single = #{record.withFeeSingle,jdbcType=INTEGER},
+ with_fee_percent = #{record.withFeePercent,jdbcType=DECIMAL},
+ site_lever = #{record.siteLever,jdbcType=VARCHAR},
+ buy_same_times = #{record.buySameTimes,jdbcType=INTEGER},
+ buy_same_nums = #{record.buySameNums,jdbcType=INTEGER},
+ buy_num_times = #{record.buyNumTimes,jdbcType=INTEGER},
+ buy_num_lots = #{record.buyNumLots,jdbcType=INTEGER},
+ cant_sell_times = #{record.cantSellTimes,jdbcType=INTEGER},
+ kc_crease_max_percent = #{record.kcCreaseMaxPercent,jdbcType=DECIMAL},
+ stock_days = #{record.stockDays,jdbcType=INTEGER},
+ stock_rate = #{record.stockRate,jdbcType=DECIMAL},
+ stock_chaa = #{record.stockChaa,jdbcType=DECIMAL},
+ stock_chab = #{record.stockChab,jdbcType=DECIMAL},
+ stock_chac = #{record.stockChac,jdbcType=DECIMAL},
+ force_stop_remind_ratio = #{record.forceStopRemindRatio,jdbcType=DECIMAL},
+ cy_crease_max_percent = #{record.cyCreaseMaxPercent,jdbcType=DECIMAL},
+ fall_buy_display = #{record.fallBuyDisplay,jdbcType=TINYINT},
+ trans_am_begin_hk = #{record.transAmBeginHk,jdbcType=VARCHAR},
+ trans_am_end_hk = #{record.transAmEndHk,jdbcType=VARCHAR},
+ trans_pm_begin_hk = #{record.transPmBeginHk,jdbcType=VARCHAR},
+ trans_pm_end_hk = #{record.transPmEndHk,jdbcType=VARCHAR},
+ vip_qc_max_amt = #{record.vipQcMaxAmt,jdbcType=DECIMAL},
+ hk_exchange_rate = #{record.hkExchangeRate,jdbcType=DECIMAL}
+ <if test="_parameter != null" >
+ <include refid="Update_By_Example_Where_Clause" />
+ </if>
+ </update>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteSetting" >
+ update site_setting
+ <set >
+ <if test="buyFee != null" >
+ buy_fee = #{buyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="sellFee != null" >
+ sell_fee = #{sellFee,jdbcType=DECIMAL},
+ </if>
+ <if test="stayFee != null" >
+ stay_fee = #{stayFee,jdbcType=DECIMAL},
+ </if>
+ <if test="dutyFee != null" >
+ duty_fee = #{dutyFee,jdbcType=DECIMAL},
+ </if>
+ <if test="stayMaxDays != null" >
+ stay_max_days = #{stayMaxDays,jdbcType=INTEGER},
+ </if>
+ <if test="buyMinAmt != null" >
+ buy_min_amt = #{buyMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="chargeMinAmt != null" >
+ charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="buyMinNum != null" >
+ buy_min_num = #{buyMinNum,jdbcType=INTEGER},
+ </if>
+ <if test="forceStopFee != null" >
+ force_stop_fee = #{forceStopFee,jdbcType=DECIMAL},
+ </if>
+ <if test="buyMaxAmtPercent != null" >
+ buy_max_amt_percent = #{buyMaxAmtPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopPercent != null" >
+ force_stop_percent = #{forceStopPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="hightAndLow != null" >
+ hight_and_low = #{hightAndLow,jdbcType=DECIMAL},
+ </if>
+ <if test="withMinAmt != null" >
+ with_min_amt = #{withMinAmt,jdbcType=INTEGER},
+ </if>
+ <if test="creaseMaxPercent != null" >
+ crease_max_percent = #{creaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="buyMaxNum != null" >
+ buy_max_num = #{buyMaxNum,jdbcType=INTEGER},
+ </if>
+ <if test="withTimeBegin != null" >
+ with_time_begin = #{withTimeBegin,jdbcType=INTEGER},
+ </if>
+ <if test="withTimeEnd != null" >
+ with_time_end = #{withTimeEnd,jdbcType=INTEGER},
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmBeginUs != null" >
+ trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndUs != null" >
+ trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginUs != null" >
+ trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndUs != null" >
+ trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR},
+ </if>
+ <if test="withFeeSingle != null" >
+ with_fee_single = #{withFeeSingle,jdbcType=INTEGER},
+ </if>
+ <if test="withFeePercent != null" >
+ with_fee_percent = #{withFeePercent,jdbcType=DECIMAL},
+ </if>
+ <if test="siteLever != null" >
+ site_lever = #{siteLever,jdbcType=VARCHAR},
+ </if>
+ <if test="buySameTimes != null" >
+ buy_same_times = #{buySameTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buySameNums != null" >
+ buy_same_nums = #{buySameNums,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumTimes != null" >
+ buy_num_times = #{buyNumTimes,jdbcType=INTEGER},
+ </if>
+ <if test="buyNumLots != null" >
+ buy_num_lots = #{buyNumLots,jdbcType=INTEGER},
+ </if>
+ <if test="cantSellTimes != null" >
+ cant_sell_times = #{cantSellTimes,jdbcType=INTEGER},
+ </if>
+ <if test="kcCreaseMaxPercent != null" >
+ kc_crease_max_percent = #{kcCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="stockDays != null" >
+ stock_days = #{stockDays,jdbcType=INTEGER},
+ </if>
+ <if test="stockRate != null" >
+ stock_rate = #{stockRate,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChaa != null" >
+ stock_chaa = #{stockChaa,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChab != null" >
+ stock_chab = #{stockChab,jdbcType=DECIMAL},
+ </if>
+ <if test="stockChac != null" >
+ stock_chac = #{stockChac,jdbcType=DECIMAL},
+ </if>
+ <if test="forceStopRemindRatio != null" >
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL},
+ </if>
+ <if test="cyCreaseMaxPercent != null" >
+ cy_crease_max_percent = #{cyCreaseMaxPercent,jdbcType=DECIMAL},
+ </if>
+ <if test="fallBuyDisplay != null" >
+ fall_buy_display = #{fallBuyDisplay,jdbcType=TINYINT},
+ </if>
+ <if test="transAmBeginHk != null" >
+ trans_am_begin_hk = #{transAmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEndHk != null" >
+ trans_am_end_hk = #{transAmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBeginHk != null" >
+ trans_pm_begin_hk = #{transPmBeginHk,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEndHk != null" >
+ trans_pm_end_hk = #{transPmEndHk,jdbcType=VARCHAR},
+ </if>
+ <if test="vipQcMaxAmt != null" >
+ vip_qc_max_amt = #{vipQcMaxAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="hkExchangeRate != null" >
+ hk_exchange_rate = #{hkExchangeRate,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteSetting" >
+ update site_setting
+ set buy_fee = #{buyFee,jdbcType=DECIMAL},
+ sell_fee = #{sellFee,jdbcType=DECIMAL},
+ stay_fee = #{stayFee,jdbcType=DECIMAL},
+ duty_fee = #{dutyFee,jdbcType=DECIMAL},
+ stay_max_days = #{stayMaxDays,jdbcType=INTEGER},
+ buy_min_amt = #{buyMinAmt,jdbcType=INTEGER},
+ charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER},
+ buy_min_num = #{buyMinNum,jdbcType=INTEGER},
+ force_stop_fee = #{forceStopFee,jdbcType=DECIMAL},
+ buy_max_amt_percent = #{buyMaxAmtPercent,jdbcType=DECIMAL},
+ force_stop_percent = #{forceStopPercent,jdbcType=DECIMAL},
+ hight_and_low = #{hightAndLow,jdbcType=DECIMAL},
+ with_min_amt = #{withMinAmt,jdbcType=INTEGER},
+ crease_max_percent = #{creaseMaxPercent,jdbcType=DECIMAL},
+ buy_max_num = #{buyMaxNum,jdbcType=INTEGER},
+ with_time_begin = #{withTimeBegin,jdbcType=INTEGER},
+ with_time_end = #{withTimeEnd,jdbcType=INTEGER},
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR},
+ trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR},
+ trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR},
+ trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR},
+ with_fee_single = #{withFeeSingle,jdbcType=INTEGER},
+ with_fee_percent = #{withFeePercent,jdbcType=DECIMAL},
+ site_lever = #{siteLever,jdbcType=VARCHAR},
+ buy_same_times = #{buySameTimes,jdbcType=INTEGER},
+ buy_same_nums = #{buySameNums,jdbcType=INTEGER},
+ buy_num_times = #{buyNumTimes,jdbcType=INTEGER},
+ buy_num_lots = #{buyNumLots,jdbcType=INTEGER},
+ cant_sell_times = #{cantSellTimes,jdbcType=INTEGER},
+ kc_crease_max_percent = #{kcCreaseMaxPercent,jdbcType=DECIMAL},
+ stock_days = #{stockDays,jdbcType=INTEGER},
+ stock_rate = #{stockRate,jdbcType=DECIMAL},
+ stock_chaa = #{stockChaa,jdbcType=DECIMAL},
+ stock_chab = #{stockChab,jdbcType=DECIMAL},
+ stock_chac = #{stockChac,jdbcType=DECIMAL},
+ force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL},
+ cy_crease_max_percent = #{cyCreaseMaxPercent,jdbcType=DECIMAL},
+ fall_buy_display = #{fallBuyDisplay,jdbcType=TINYINT},
+ trans_am_begin_hk = #{transAmBeginHk,jdbcType=VARCHAR},
+ trans_am_end_hk = #{transAmEndHk,jdbcType=VARCHAR},
+ trans_pm_begin_hk = #{transPmBeginHk,jdbcType=VARCHAR},
+ trans_pm_end_hk = #{transPmEndHk,jdbcType=VARCHAR},
+ vip_qc_max_amt = #{vipQcMaxAmt,jdbcType=DECIMAL},
+ hk_exchange_rate = #{hkExchangeRate,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+ <select id="findAllSiteSetting" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_setting
+ </select>
+
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteSmsLogMapper.xml b/target/classes/mapper/SiteSmsLogMapper.xml
new file mode 100644
index 0000000..5e757e4
--- /dev/null
+++ b/target/classes/mapper/SiteSmsLogMapper.xml
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteSmsLogMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteSmsLog" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="sms_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sms_title" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sms_cnt" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sms_template" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sms_status" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, sms_phone, sms_title, sms_cnt, sms_template, sms_status, add_time
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_sms_log
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_sms_log
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteSmsLog" >
+ insert into site_sms_log (id, sms_phone, sms_title,
+ sms_cnt, sms_template, sms_status,
+ add_time)
+ values (#{id,jdbcType=INTEGER}, #{smsPhone,jdbcType=VARCHAR}, #{smsTitle,jdbcType=VARCHAR},
+ #{smsCnt,jdbcType=VARCHAR}, #{smsTemplate,jdbcType=VARCHAR}, #{smsStatus,jdbcType=INTEGER},
+ #{addTime,jdbcType=TIMESTAMP})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteSmsLog" >
+ insert into site_sms_log
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="smsPhone != null" >
+ sms_phone,
+ </if>
+ <if test="smsTitle != null" >
+ sms_title,
+ </if>
+ <if test="smsCnt != null" >
+ sms_cnt,
+ </if>
+ <if test="smsTemplate != null" >
+ sms_template,
+ </if>
+ <if test="smsStatus != null" >
+ sms_status,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="smsPhone != null" >
+ #{smsPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="smsTitle != null" >
+ #{smsTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="smsCnt != null" >
+ #{smsCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="smsTemplate != null" >
+ #{smsTemplate,jdbcType=VARCHAR},
+ </if>
+ <if test="smsStatus != null" >
+ #{smsStatus,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteSmsLog" >
+ update site_sms_log
+ <set >
+ <if test="smsPhone != null" >
+ sms_phone = #{smsPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="smsTitle != null" >
+ sms_title = #{smsTitle,jdbcType=VARCHAR},
+ </if>
+ <if test="smsCnt != null" >
+ sms_cnt = #{smsCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="smsTemplate != null" >
+ sms_template = #{smsTemplate,jdbcType=VARCHAR},
+ </if>
+ <if test="smsStatus != null" >
+ sms_status = #{smsStatus,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteSmsLog" >
+ update site_sms_log
+ set sms_phone = #{smsPhone,jdbcType=VARCHAR},
+ sms_title = #{smsTitle,jdbcType=VARCHAR},
+ sms_cnt = #{smsCnt,jdbcType=VARCHAR},
+ sms_template = #{smsTemplate,jdbcType=VARCHAR},
+ sms_status = #{smsStatus,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+ <select id="smsList" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_sms_log
+ <where>
+ <if test="phoneNum != null and phoneNum != '' ">
+ and sms_phone like CONCAT('%','${phoneNum}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteSpreadMapper.xml b/target/classes/mapper/SiteSpreadMapper.xml
new file mode 100644
index 0000000..78a86c7
--- /dev/null
+++ b/target/classes/mapper/SiteSpreadMapper.xml
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.SiteSpreadMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteSpread" >
+ <result column="id" property="id" />
+ <result column="type_name" property="typeName" />
+ <result column="unit" property="unit" />
+ <result column="start_interval" property="startInterval" />
+ <result column="end_interval" property="endInterval" />
+ <result column="spread_rate" property="spreadRate" />
+ <result column="add_time" property="addTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ type_name,
+ unit,
+ start_interval,
+ end_interval,
+ spread_rate,
+ add_time,
+ update_time
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.SiteSpread">
+ INSERT INTO site_spread
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != typeName'>
+ type_name,
+ </if>
+ <if test ='null != unit'>
+ unit,
+ </if>
+ <if test ='null != startInterval'>
+ start_interval,
+ </if>
+ <if test ='null != endInterval'>
+ end_interval,
+ </if>
+ <if test ='null != spreadRate'>
+ spread_rate,
+ </if>
+ add_time,
+ <if test ='null != updateTime'>
+ update_time
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != typeName'>
+ #{typeName},
+ </if>
+ <if test ='null != unit'>
+ #{unit},
+ </if>
+ <if test ='null != startInterval'>
+ #{startInterval},
+ </if>
+ <if test ='null != endInterval'>
+ #{endInterval},
+ </if>
+ <if test ='null != spreadRate'>
+ #{spreadRate},
+ </if>
+ now(),
+ <if test ='null != updateTime'>
+ #{updateTime}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM site_spread
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.SiteSpread">
+ UPDATE site_spread
+ <set>
+ <if test ='null != typeName'>type_name = #{typeName},</if>
+ <if test ='null != unit'>unit = #{unit},</if>
+ <if test ='null != startInterval'>start_interval = #{startInterval},</if>
+ <if test ='null != endInterval'>end_interval = #{endInterval},</if>
+ <if test ='null != spreadRate'>spread_rate = #{spreadRate},</if>
+ <if test ='null != addTime'>add_time = #{addTime},</if>
+ update_time = now()
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_spread
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM site_spread
+ where 1=1
+ <if test="null != typeName and typeName != ''">
+ and type_name = #{typeName}
+ </if>
+ order by id asc,type_name asc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM site_spread
+ </select>
+
+ <!--查询点差费率-->
+ <select id="findSpreadRateOne" resultMap="BaseResultMap">
+ SELECT * from (
+ SELECT type_name,spread_rate FROM `site_spread` WHERE type_name='涨跌幅' and start_interval <=#{applies} and end_interval>#{applies}
+ UNION ALL
+ SELECT type_name,spread_rate FROM `site_spread` WHERE type_name='成交额' and start_interval <=#{turnover} and end_interval>#{turnover}
+ UNION ALL
+ SELECT type_name,spread_rate FROM `site_spread` WHERE type_name='开头收取' and unit=left(#{code}, 3)
+ UNION ALL
+ SELECT type_name,spread_rate FROM `site_spread` WHERE type_name='低于收取' and start_interval <=#{unitprice} and end_interval>#{unitprice}
+ UNION ALL
+ SELECT '股票点差' type_name,spread_rate FROM stock WHERE stock_code=#{code} and spread_rate>0
+ ) k ORDER BY k.spread_rate desc
+ limit 1
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/SiteTaskLogMapper.xml b/target/classes/mapper/SiteTaskLogMapper.xml
new file mode 100644
index 0000000..828268c
--- /dev/null
+++ b/target/classes/mapper/SiteTaskLogMapper.xml
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.SiteTaskLogMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.SiteTaskLog" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="task_type" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="task_cnt" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="task_target" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_success" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="error_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, task_type, task_cnt, task_target, is_success, error_msg, add_time
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from site_task_log
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from site_task_log
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.SiteTaskLog" >
+ insert into site_task_log (id, task_type, task_cnt,
+ task_target, is_success, error_msg,
+ add_time)
+ values (#{id,jdbcType=INTEGER}, #{taskType,jdbcType=VARCHAR}, #{taskCnt,jdbcType=VARCHAR},
+ #{taskTarget,jdbcType=VARCHAR}, #{isSuccess,jdbcType=INTEGER}, #{errorMsg,jdbcType=VARCHAR},
+ #{addTime,jdbcType=TIMESTAMP})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.SiteTaskLog" >
+ insert into site_task_log
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="taskType != null" >
+ task_type,
+ </if>
+ <if test="taskCnt != null" >
+ task_cnt,
+ </if>
+ <if test="taskTarget != null" >
+ task_target,
+ </if>
+ <if test="isSuccess != null" >
+ is_success,
+ </if>
+ <if test="errorMsg != null" >
+ error_msg,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="taskType != null" >
+ #{taskType,jdbcType=VARCHAR},
+ </if>
+ <if test="taskCnt != null" >
+ #{taskCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="taskTarget != null" >
+ #{taskTarget,jdbcType=VARCHAR},
+ </if>
+ <if test="isSuccess != null" >
+ #{isSuccess,jdbcType=INTEGER},
+ </if>
+ <if test="errorMsg != null" >
+ #{errorMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteTaskLog" >
+ update site_task_log
+ <set >
+ <if test="taskType != null" >
+ task_type = #{taskType,jdbcType=VARCHAR},
+ </if>
+ <if test="taskCnt != null" >
+ task_cnt = #{taskCnt,jdbcType=VARCHAR},
+ </if>
+ <if test="taskTarget != null" >
+ task_target = #{taskTarget,jdbcType=VARCHAR},
+ </if>
+ <if test="isSuccess != null" >
+ is_success = #{isSuccess,jdbcType=INTEGER},
+ </if>
+ <if test="errorMsg != null" >
+ error_msg = #{errorMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.SiteTaskLog" >
+ update site_task_log
+ set task_type = #{taskType,jdbcType=VARCHAR},
+ task_cnt = #{taskCnt,jdbcType=VARCHAR},
+ task_target = #{taskTarget,jdbcType=VARCHAR},
+ is_success = #{isSuccess,jdbcType=INTEGER},
+ error_msg = #{errorMsg,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="taskList" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM site_task_log
+ <where>
+ <if test="taskType != null and taskType != '' ">
+ task_type = #{taskType}
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/StockCoinMapper.xml b/target/classes/mapper/StockCoinMapper.xml
new file mode 100644
index 0000000..8689344
--- /dev/null
+++ b/target/classes/mapper/StockCoinMapper.xml
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockCoinMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockCoin" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="coin_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="coin_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="coin_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="dynamic_rate" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="default_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="is_use" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="t_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, coin_name, coin_code, coin_gid, dynamic_rate, default_rate, is_use, add_time,
+ t_desc
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock_coin
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock_coin
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.StockCoin" >
+ insert into stock_coin (id, coin_name, coin_code,
+ coin_gid, dynamic_rate, default_rate,
+ is_use, add_time, t_desc
+ )
+ values (#{id,jdbcType=INTEGER}, #{coinName,jdbcType=VARCHAR}, #{coinCode,jdbcType=VARCHAR},
+ #{coinGid,jdbcType=VARCHAR}, #{dynamicRate,jdbcType=INTEGER}, #{defaultRate,jdbcType=DECIMAL},
+ #{isUse,jdbcType=INTEGER}, #{addTime,jdbcType=TIMESTAMP}, #{tDesc,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.StockCoin" >
+ insert into stock_coin
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="coinName != null" >
+ coin_name,
+ </if>
+ <if test="coinCode != null" >
+ coin_code,
+ </if>
+ <if test="coinGid != null" >
+ coin_gid,
+ </if>
+ <if test="dynamicRate != null" >
+ dynamic_rate,
+ </if>
+ <if test="defaultRate != null" >
+ default_rate,
+ </if>
+ <if test="isUse != null" >
+ is_use,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="tDesc != null" >
+ t_desc,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="coinName != null" >
+ #{coinName,jdbcType=VARCHAR},
+ </if>
+ <if test="coinCode != null" >
+ #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="coinGid != null" >
+ #{coinGid,jdbcType=VARCHAR},
+ </if>
+ <if test="dynamicRate != null" >
+ #{dynamicRate,jdbcType=INTEGER},
+ </if>
+ <if test="defaultRate != null" >
+ #{defaultRate,jdbcType=DECIMAL},
+ </if>
+ <if test="isUse != null" >
+ #{isUse,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ #{tDesc,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.StockCoin" >
+ update stock_coin
+ <set >
+ <if test="coinName != null" >
+ coin_name = #{coinName,jdbcType=VARCHAR},
+ </if>
+ <if test="coinCode != null" >
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="coinGid != null" >
+ coin_gid = #{coinGid,jdbcType=VARCHAR},
+ </if>
+ <if test="dynamicRate != null" >
+ dynamic_rate = #{dynamicRate,jdbcType=INTEGER},
+ </if>
+ <if test="defaultRate != null" >
+ default_rate = #{defaultRate,jdbcType=DECIMAL},
+ </if>
+ <if test="isUse != null" >
+ is_use = #{isUse,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ t_desc = #{tDesc,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.StockCoin" >
+ update stock_coin
+ set coin_name = #{coinName,jdbcType=VARCHAR},
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ coin_gid = #{coinGid,jdbcType=VARCHAR},
+ dynamic_rate = #{dynamicRate,jdbcType=INTEGER},
+ default_rate = #{defaultRate,jdbcType=DECIMAL},
+ is_use = #{isUse,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ t_desc = #{tDesc,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_coin
+ <where>
+ <if test="coinName != null and coinName != '' ">
+ and coin_name like CONCAT('%','${coinName}','%')
+ </if>
+ <if test="coinCode != null and coinCode != '' ">
+ and coin_code like CONCAT('%','${coinCode}','%')
+ </if>
+ </where>
+ </select>
+
+
+
+ <select id="selectCoinByName" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_coin
+ WHERE coin_name = #{coinName}
+ </select>
+
+ <select id="selectCoinByCode" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_coin
+ WHERE coin_code = #{coinCode}
+ </select>
+
+ <select id="selectCoinByGid" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_coin
+ WHERE coin_gid = #{coinGid}
+ </select>
+
+
+ <select id="getSelectCoin" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_coin
+ WHERE is_use = 1
+ </select>
+
+
+</mapper>
+
+
+
diff --git a/target/classes/mapper/StockDzMapper.xml b/target/classes/mapper/StockDzMapper.xml
new file mode 100644
index 0000000..4cde998
--- /dev/null
+++ b/target/classes/mapper/StockDzMapper.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.StockDzMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockDz">
+ <id property="id" column="id" jdbcType="INTEGER"/>
+ <result property="stockName" column="stock_name" jdbcType="VARCHAR"/>
+ <result property="stockCode" column="stock_code" jdbcType="VARCHAR"/>
+ <result property="stockType" column="stock_type" jdbcType="VARCHAR"/>
+ <result property="stockGid" column="stock_gid" jdbcType="VARCHAR"/>
+ <result property="stockPlate" column="stock_plate" jdbcType="VARCHAR"/>
+ <result property="isLock" column="is_lock" jdbcType="INTEGER"/>
+ <result property="isShow" column="is_show" jdbcType="INTEGER"/>
+ <result property="stockShare" column="stock_share" jdbcType="INTEGER"/>
+ <result property="stockSurplus" column="stock_surplus" jdbcType="INTEGER"/>
+ <result property="addTime" column="add_time" jdbcType="TIMESTAMP"/>
+ <result property="spreadRate" column="spread_rate" jdbcType="DECIMAL"/>
+ <result property="increaseRatio" column="increase_ratio" jdbcType="DECIMAL"/>
+ <result property="stockNum" column="stock_num" jdbcType="INTEGER"/>
+ <result property="password" column="password" jdbcType="VARCHAR"/>
+ <result property="startTime" column="start_time" jdbcType="TIMESTAMP"/>
+ <result property="endTime" column="end_time" jdbcType="TIMESTAMP"/>
+ <result property="discount" column="discount" jdbcType="DECIMAL"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,stock_name,stock_code,
+ stock_type,stock_gid,stock_plate,stock_share,stock_surplus,
+ is_lock,is_show,add_time,
+ spread_rate,increase_ratio,stock_num,
+ password,start_time,end_time,discount
+ </sql>
+</mapper>
diff --git a/target/classes/mapper/StockFuturesMapper.xml b/target/classes/mapper/StockFuturesMapper.xml
new file mode 100644
index 0000000..2aee4de
--- /dev/null
+++ b/target/classes/mapper/StockFuturesMapper.xml
@@ -0,0 +1,372 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockFuturesMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockFutures" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="futures_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_unit" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_standard" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="coin_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="home_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="list_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="deposit_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_fee" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="min_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="max_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_state" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_am_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_am_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="t_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_begin2" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trans_pm_end2" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="each_point" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, futures_name, futures_code, futures_gid, futures_unit, futures_standard, coin_code,
+ home_show, list_show, deposit_amt, trans_fee, min_num, max_num, trans_state, trans_am_begin,
+ trans_am_end, trans_pm_begin, trans_pm_end, add_time, t_desc, trans_pm_begin2, trans_pm_end2, each_point
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock_futures
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock_futures
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.StockFutures" >
+ insert into stock_futures (id, futures_name, futures_code,
+ futures_gid, futures_unit, futures_standard,
+ coin_code, home_show, list_show,
+ deposit_amt, trans_fee, min_num,
+ max_num, trans_state, trans_am_begin,
+ trans_am_end, trans_pm_begin, trans_pm_end,
+ add_time, t_desc, trans_pm_begin2, trans_pm_end2, each_point)
+ values (#{id,jdbcType=INTEGER}, #{futuresName,jdbcType=VARCHAR}, #{futuresCode,jdbcType=VARCHAR},
+ #{futuresGid,jdbcType=VARCHAR}, #{futuresUnit,jdbcType=VARCHAR}, #{futuresStandard,jdbcType=INTEGER},
+ #{coinCode,jdbcType=VARCHAR}, #{homeShow,jdbcType=INTEGER}, #{listShow,jdbcType=INTEGER},
+ #{depositAmt,jdbcType=INTEGER}, #{transFee,jdbcType=INTEGER}, #{minNum,jdbcType=INTEGER},
+ #{maxNum,jdbcType=INTEGER}, #{transState,jdbcType=INTEGER}, #{transAmBegin,jdbcType=VARCHAR},
+ #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR}, #{transPmEnd,jdbcType=VARCHAR},
+ #{addTime,jdbcType=TIMESTAMP}, #{tDesc,jdbcType=VARCHAR}, #{transPmBegin2,jdbcType=VARCHAR}, #{transPmEnd2,jdbcType=VARCHAR},
+ #{eachPoint,jdbcType=DECIMAL})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.StockFutures" >
+ insert into stock_futures
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="futuresName != null" >
+ futures_name,
+ </if>
+ <if test="futuresCode != null" >
+ futures_code,
+ </if>
+ <if test="futuresGid != null" >
+ futures_gid,
+ </if>
+ <if test="futuresUnit != null" >
+ futures_unit,
+ </if>
+ <if test="futuresStandard != null" >
+ futures_standard,
+ </if>
+ <if test="coinCode != null" >
+ coin_code,
+ </if>
+ <if test="homeShow != null" >
+ home_show,
+ </if>
+ <if test="listShow != null" >
+ list_show,
+ </if>
+ <if test="depositAmt != null" >
+ deposit_amt,
+ </if>
+ <if test="transFee != null" >
+ trans_fee,
+ </if>
+ <if test="minNum != null" >
+ min_num,
+ </if>
+ <if test="maxNum != null" >
+ max_num,
+ </if>
+ <if test="transState != null" >
+ trans_state,
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin,
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end,
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin,
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="tDesc != null" >
+ t_desc,
+ </if>
+ <if test="transPmBegin2 != null" >
+ trans_pm_begin2,
+ </if>
+ <if test="transPmEnd2 != null" >
+ trans_pm_end2,
+ </if>
+ <if test="eachPoint != null" >
+ each_point,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="futuresName != null" >
+ #{futuresName,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresCode != null" >
+ #{futuresCode,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresGid != null" >
+ #{futuresGid,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresUnit != null" >
+ #{futuresUnit,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresStandard != null" >
+ #{futuresStandard,jdbcType=INTEGER},
+ </if>
+ <if test="coinCode != null" >
+ #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="homeShow != null" >
+ #{homeShow,jdbcType=INTEGER},
+ </if>
+ <if test="listShow != null" >
+ #{listShow,jdbcType=INTEGER},
+ </if>
+ <if test="depositAmt != null" >
+ #{depositAmt,jdbcType=INTEGER},
+ </if>
+ <if test="transFee != null" >
+ #{transFee,jdbcType=INTEGER},
+ </if>
+ <if test="minNum != null" >
+ #{minNum,jdbcType=INTEGER},
+ </if>
+ <if test="maxNum != null" >
+ #{maxNum,jdbcType=INTEGER},
+ </if>
+ <if test="transState != null" >
+ #{transState,jdbcType=INTEGER},
+ </if>
+ <if test="transAmBegin != null" >
+ #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ #{tDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin2 != null" >
+ #{transPmBegin2,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd2 != null" >
+ #{transPmEnd2,jdbcType=VARCHAR},
+ </if>
+ <if test="eachPoint != null" >
+ #{eachPoint,jdbcType=DECIMAL},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.StockFutures" >
+ update stock_futures
+ <set >
+ <if test="futuresName != null" >
+ futures_name = #{futuresName,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresCode != null" >
+ futures_code = #{futuresCode,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresGid != null" >
+ futures_gid = #{futuresGid,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresUnit != null" >
+ futures_unit = #{futuresUnit,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresStandard != null" >
+ futures_standard = #{futuresStandard,jdbcType=INTEGER},
+ </if>
+ <if test="coinCode != null" >
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="homeShow != null" >
+ home_show = #{homeShow,jdbcType=INTEGER},
+ </if>
+ <if test="listShow != null" >
+ list_show = #{listShow,jdbcType=INTEGER},
+ </if>
+ <if test="depositAmt != null" >
+ deposit_amt = #{depositAmt,jdbcType=INTEGER},
+ </if>
+ <if test="transFee != null" >
+ trans_fee = #{transFee,jdbcType=INTEGER},
+ </if>
+ <if test="minNum != null" >
+ min_num = #{minNum,jdbcType=INTEGER},
+ </if>
+ <if test="maxNum != null" >
+ max_num = #{maxNum,jdbcType=INTEGER},
+ </if>
+ <if test="transState != null" >
+ trans_state = #{transState,jdbcType=INTEGER},
+ </if>
+ <if test="transAmBegin != null" >
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transAmEnd != null" >
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin != null" >
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd != null" >
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ t_desc = #{tDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmBegin2 != null" >
+ trans_pm_begin2 = #{transPmBegin2,jdbcType=VARCHAR},
+ </if>
+ <if test="transPmEnd2 != null" >
+ trans_pm_end2 = #{transPmEnd2,jdbcType=VARCHAR},
+ </if>
+ <if test="eachPoint != null" >
+ each_point = #{eachPoint,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.StockFutures" >
+ update stock_futures
+ set futures_name = #{futuresName,jdbcType=VARCHAR},
+ futures_code = #{futuresCode,jdbcType=VARCHAR},
+ futures_gid = #{futuresGid,jdbcType=VARCHAR},
+ futures_unit = #{futuresUnit,jdbcType=VARCHAR},
+ futures_standard = #{futuresStandard,jdbcType=INTEGER},
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ home_show = #{homeShow,jdbcType=INTEGER},
+ list_show = #{listShow,jdbcType=INTEGER},
+ deposit_amt = #{depositAmt,jdbcType=INTEGER},
+ trans_fee = #{transFee,jdbcType=INTEGER},
+ min_num = #{minNum,jdbcType=INTEGER},
+ max_num = #{maxNum,jdbcType=INTEGER},
+ trans_state = #{transState,jdbcType=INTEGER},
+ trans_am_begin = #{transAmBegin,jdbcType=VARCHAR},
+ trans_am_end = #{transAmEnd,jdbcType=VARCHAR},
+ trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR},
+ trans_pm_end = #{transPmEnd,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ t_desc = #{tDesc,jdbcType=VARCHAR},
+ trans_pm_begin2 = #{transPmBegin2,jdbcType=VARCHAR},
+ trans_pm_end2 = #{transPmEnd2,jdbcType=VARCHAR},
+ each_point = #{eachPoint,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_futures
+ <where>
+ <if test="fuName != null and fuName != '' ">
+ and futures_name like CONCAT('%','${fuName}','%')
+ </if>
+ <if test="fuCode != null and fuCode != '' ">
+ and futures_code like CONCAT('%','${fuCode}','%')
+ </if>
+ <if test="homeShow != null">
+ and home_show = #{homeShow}
+ </if>
+ <if test="listShow != null">
+ and list_show = #{listShow}
+ </if>
+ <if test="transState != null">
+ and trans_state = #{transState}
+ </if>
+ </where>
+ </select>
+
+ <select id="selectFuturesByName" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_futures
+ WHERE futures_name = #{fuName}
+ </select>
+
+ <select id="selectFuturesByCode" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_futures
+ WHERE futures_code = #{fuCode}
+ </select>
+
+
+
+ <select id="queryHome" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_futures
+ WHERE home_show = 1
+ </select>
+
+ <select id="queryList" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_futures
+ WHERE list_show = 1
+ </select>
+
+
+
+
+
+</mapper>
+
+
+
+
+
diff --git a/target/classes/mapper/StockIndexMapper.xml b/target/classes/mapper/StockIndexMapper.xml
new file mode 100644
index 0000000..4597d49
--- /dev/null
+++ b/target/classes/mapper/StockIndexMapper.xml
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockIndexMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockIndex" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="index_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="index_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="index_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="home_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="list_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_state" jdbcType="INTEGER" javaType="java.lang.Integer" />
+
+ <arg column="deposit_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="trans_fee" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="each_point" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="min_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="max_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="t_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+<!-- <arg column="introduction" jdbcType="VARCHAR" javaType="java.lang.String" />-->
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, index_name, index_code, index_gid, home_show, list_show, trans_state,
+ deposit_amt, trans_fee, each_point, min_num, max_num, add_time,t_desc, introduction
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock_index
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock_index
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.StockIndex" >
+ insert into stock_index (id, index_name, index_code,
+ index_gid, home_show, list_show,
+ trans_state, deposit_amt, trans_fee, each_point, min_num, max_num,
+ add_time, t_desc, introduction
+ )
+ values (#{id,jdbcType=INTEGER}, #{indexName,jdbcType=VARCHAR}, #{indexCode,jdbcType=VARCHAR},
+ #{indexGid,jdbcType=VARCHAR}, #{homeShow,jdbcType=INTEGER}, #{listShow,jdbcType=INTEGER},
+ #{transState,jdbcType=INTEGER},
+ #{depositAmt,jdbcType=INTEGER},#{transFee,jdbcType=INTEGER},#{eachPoint,jdbcType=INTEGER},
+ #{minNum,jdbcType=INTEGER},#{maxNum,jdbcType=INTEGER},
+ #{addTime,jdbcType=TIMESTAMP}, #{tDesc,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.StockIndex" >
+ insert into stock_index
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="indexName != null" >
+ index_name,
+ </if>
+ <if test="indexCode != null" >
+ index_code,
+ </if>
+ <if test="indexGid != null" >
+ index_gid,
+ </if>
+ <if test="homeShow != null" >
+ home_show,
+ </if>
+ <if test="listShow != null" >
+ list_show,
+ </if>
+ <if test="transState != null" >
+ trans_state,
+ </if>
+ <if test="depositAmt != null" >
+ deposit_amt,
+ </if>
+ <if test="transFee != null" >
+ trans_fee,
+ </if>
+ <if test="eachPoint != null" >
+ each_point,
+ </if>
+ <if test="minNum != null" >
+ min_num,
+ </if>
+ <if test="maxNum != null" >
+ max_num,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="tDesc != null" >
+ t_desc,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="indexName != null" >
+ #{indexName,jdbcType=VARCHAR},
+ </if>
+ <if test="indexCode != null" >
+ #{indexCode,jdbcType=VARCHAR},
+ </if>
+ <if test="indexGid != null" >
+ #{indexGid,jdbcType=VARCHAR},
+ </if>
+ <if test="homeShow != null" >
+ #{homeShow,jdbcType=INTEGER},
+ </if>
+ <if test="listShow != null" >
+ #{listShow,jdbcType=INTEGER},
+ </if>
+ <if test="transState != null" >
+ #{transState,jdbcType=INTEGER},
+ </if>
+
+ <if test="depositAmt != null" >
+ #{depositAmt,jdbcType=INTEGER},
+ </if>
+ <if test="transFee != null" >
+ #{transFee,jdbcType=INTEGER},
+ </if>
+ <if test="eachPoint != null" >
+ #{eachPoint,jdbcType=INTEGER},
+ </if>
+ <if test="minNum != null" >
+ #{minNum,jdbcType=INTEGER},
+ </if>
+ <if test="maxNum != null" >
+ #{maxNum,jdbcType=INTEGER},
+ </if>
+
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ #{tDesc,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.StockIndex" >
+ update stock_index
+ <set >
+ <if test="indexName != null" >
+ index_name = #{indexName,jdbcType=VARCHAR},
+ </if>
+ <if test="indexCode != null" >
+ index_code = #{indexCode,jdbcType=VARCHAR},
+ </if>
+ <if test="indexGid != null" >
+ index_gid = #{indexGid,jdbcType=VARCHAR},
+ </if>
+ <if test="homeShow != null" >
+ home_show = #{homeShow,jdbcType=INTEGER},
+ </if>
+ <if test="listShow != null" >
+ list_show = #{listShow,jdbcType=INTEGER},
+ </if>
+ <if test="transState != null" >
+ trans_state = #{transState,jdbcType=INTEGER},
+ </if>
+ <if test="depositAmt != null" >
+ deposit_amt = #{depositAmt,jdbcType=INTEGER},
+ </if>
+ <if test="transFee != null" >
+ trans_fee = #{transFee,jdbcType=INTEGER},
+ </if>
+ <if test="eachPoint != null" >
+ each_point = #{eachPoint,jdbcType=INTEGER},
+ </if>
+ <if test="minNum != null" >
+ min_num = #{minNum,jdbcType=INTEGER},
+ </if>
+ <if test="maxNum != null" >
+ max_num = #{maxNum,jdbcType=INTEGER},
+ </if>
+
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="tDesc != null" >
+ t_desc = #{tDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="introduction != null" >
+ introduction = #{introduction,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.StockIndex" >
+ update stock_index
+ set index_name = #{indexName,jdbcType=VARCHAR},
+ index_code = #{indexCode,jdbcType=VARCHAR},
+ index_gid = #{indexGid,jdbcType=VARCHAR},
+ home_show = #{homeShow,jdbcType=INTEGER},
+ list_show = #{listShow,jdbcType=INTEGER},
+ trans_state = #{transState,jdbcType=INTEGER},
+
+ deposit_amt = #{depositAmt,jdbcType=INTEGER},
+ trans_fee = #{transFee,jdbcType=INTEGER},
+ each_point = #{eachPoint,jdbcType=INTEGER},
+ min_num = #{minNum,jdbcType=INTEGER},
+ max_num = #{maxNum,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ t_desc = #{tDesc,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="selectIndexByName" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_index
+ WHERE index_name = #{indexName}
+ </select>
+ <select id="selectIndexByCode" parameterType="string" resultType="com.nq.pojo.StockIndex">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_index
+ WHERE index_code = #{indexCode}
+ </select>
+
+
+
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_index
+ <where>
+ <if test="homeShow != null">
+ and home_show = #{homeShow}
+ </if>
+ <if test="listShow != null">
+ and list_show = #{listShow}
+ </if>
+ <if test="transState != null">
+ and trans_state = #{transState}
+ </if>
+ <if test="indexCode != null and indexCode != '' ">
+ and index_code like CONCAT('%','${indexCode}','%')
+ </if>
+ <if test="indexName != null and indexName != '' ">
+ and index_name like CONCAT('%','${indexName}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+ <select id="queryHomeIndex" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_index
+ WHERE home_show = 1
+ </select>
+
+ <select id="queryListIndex" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_index
+ WHERE list_show = 1
+ order by id asc
+ </select>
+
+
+
+</mapper>
+
diff --git a/target/classes/mapper/StockMapper.xml b/target/classes/mapper/StockMapper.xml
new file mode 100644
index 0000000..7d7567f
--- /dev/null
+++ b/target/classes/mapper/StockMapper.xml
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.Stock" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_spell" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_type" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_plate" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_show" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="spread_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="data_base" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, stock_name, stock_code, stock_spell, stock_type, stock_gid, stock_plate, is_lock,
+ is_show, add_time,spread_rate,data_base
+ </sql>
+
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert1" parameterType="com.nq.pojo.Stock" >
+ insert into stock (id, stock_name, stock_code,
+ stock_spell, stock_type, stock_gid,
+ stock_plate, is_lock, is_show,data_base,
+ add_time)
+ values (#{id,jdbcType=INTEGER}, #{stockName,jdbcType=VARCHAR}, #{stockCode,jdbcType=VARCHAR},
+ #{stockSpell,jdbcType=VARCHAR}, #{stockType,jdbcType=VARCHAR}, #{stockGid,jdbcType=VARCHAR},
+ #{stockPlate,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER},#{dataBase,jdbcType=INTEGER},
+ #{addTime,jdbcType=TIMESTAMP})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.Stock" >
+ insert into stock
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="stockName != null" >
+ stock_name,
+ </if>
+ <if test="stockCode != null" >
+ stock_code,
+ </if>
+ <if test="stockSpell != null" >
+ stock_spell,
+ </if>
+ <if test="stockType != null" >
+ stock_type,
+ </if>
+ <if test="stockGid != null" >
+ stock_gid,
+ </if>
+ <if test="stockPlate != null" >
+ stock_plate,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="isShow != null" >
+ is_show,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="dataBase != null" >
+ data_base,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="stockName != null" >
+ #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockSpell != null" >
+ #{stockSpell,jdbcType=VARCHAR},
+ </if>
+ <if test="stockType != null" >
+ #{stockType,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="stockPlate != null" >
+ #{stockPlate,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="dataBase != null" >
+ #{dataBase,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.Stock" >
+ update stock
+ <set >
+ <if test="stockName != null" >
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockSpell != null" >
+ stock_spell = #{stockSpell,jdbcType=VARCHAR},
+ </if>
+ <if test="stockType != null" >
+ stock_type = #{stockType,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="stockPlate != null" >
+ stock_plate = #{stockPlate,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="isShow != null" >
+ is_show = #{isShow,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="spreadRate != null" >
+ spread_rate = #{spreadRate,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.Stock" >
+ update stock
+ set stock_name = #{stockName,jdbcType=VARCHAR},
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ stock_spell = #{stockSpell,jdbcType=VARCHAR},
+ stock_type = #{stockType,jdbcType=VARCHAR},
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ stock_plate = #{stockPlate,jdbcType=VARCHAR},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ is_show = #{isShow,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ data_base = #{dataBase,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+ <select id="findStockListByKeyWords" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List" />
+ from stock
+ <where>
+ is_show = #{show}
+ <if test="keyWords != null and keyWords != '' ">
+
+ and (stock_type like concat('%',#{keyWords},'%') or stock_code like concat('%',#{keyWords},'%') or stock_name like concat('%',#{keyWords},'%') )
+
+ </if>
+ <if test="stockPlate != null and stockPlate != '' ">
+ and stock_plate = #{stockPlate}
+ </if>
+ <if test="stockPlate == null or stockPlate == '' ">
+ and (stock_plate is null or stock_plate='' or stock_plate='科创' or stock_plate='创业' )
+ </if>
+ <if test="stockType != null and stockType != '' ">
+ and stock_type = #{stockType}
+ </if>
+
+ </where>
+ ORDER BY id ASC
+ </select>
+
+ <select id="findStockCode" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List" />
+ from stock
+ <where>
+ <if test="stockType != null and stockType != '' ">
+ and stock_type = #{stockType}
+ </if>
+ GROUP BY stock_gid
+ ORDER BY stock_gid DESC
+ limit #{stock_num},#{stock_nums}
+ </where>
+ </select>
+
+ <select id="findStockByCode" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List" />
+ from stock
+ WHERE stock_code = #{code}
+ </select>
+ <select id="findStockByName" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List" />
+ from stock
+ WHERE stock_name = #{name}
+ </select>
+
+
+ <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List" />
+ from stock
+ <where>
+ <if test="showState != null ">
+ and is_show = #{showState}
+ </if>
+ <if test="lockState != null ">
+ and is_lock = #{lockState}
+ </if>
+ <if test="code != null and code != '' ">
+ and stock_code like CONCAT('%','${code}','%')
+ </if>
+ <if test="name != null and name != '' ">
+ and stock_name like CONCAT('%','${name}','%')
+ </if>
+ <if test="stockPlate != null and stockPlate != '' ">
+ and stock_plate = #{stockPlate}
+ </if>
+ <if test="stockType != null and stockType != '' ">
+ and stock_type = #{stockType}
+ </if>
+ </where>
+ </select>
+
+
+ <select id="CountStockNum" resultType="integer">
+ SELECT COUNT(id) FROM stock
+ </select>
+ <select id="CountShowNum" resultType="integer" parameterType="integer">
+ SELECT COUNT(id) FROM stock WHERE is_show = #{showState}
+ </select>
+ <select id="CountUnLockNum" resultType="integer" parameterType="integer">
+ SELECT COUNT(id) FROM stock WHERE is_lock = #{showState}
+ </select>
+
+
+ <select id="findStockList" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/StockMarketsDayMapper.xml b/target/classes/mapper/StockMarketsDayMapper.xml
new file mode 100644
index 0000000..4e54d75
--- /dev/null
+++ b/target/classes/mapper/StockMarketsDayMapper.xml
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockMarketsDayMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockMarketsDay" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="ymd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="hms" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="now_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="crease_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="open_px" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="close_px" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="business_balance" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="business_amount" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="add_time_str" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, stock_id, stock_name, stock_code, stock_gid, ymd, hms, now_price, crease_rate,
+ open_px, close_px, business_balance, business_amount, add_time, add_time_str
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock_markets_day
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock_markets_day
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.StockMarketsDay" >
+ insert into stock_markets_day (id, stock_id, stock_name,
+ stock_code, stock_gid, ymd,
+ hms, now_price, crease_rate,
+ open_px, close_px, business_balance,
+ business_amount, add_time, add_time_str
+ )
+ values (#{id,jdbcType=INTEGER}, #{stockId,jdbcType=INTEGER}, #{stockName,jdbcType=VARCHAR},
+ #{stockCode,jdbcType=VARCHAR}, #{stockGid,jdbcType=VARCHAR}, #{ymd,jdbcType=VARCHAR},
+ #{hms,jdbcType=VARCHAR}, #{nowPrice,jdbcType=DECIMAL}, #{creaseRate,jdbcType=DECIMAL},
+ #{openPx,jdbcType=VARCHAR}, #{closePx,jdbcType=VARCHAR}, #{businessBalance,jdbcType=VARCHAR},
+ #{businessAmount,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{addTimeStr,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.StockMarketsDay" >
+ insert into stock_markets_day
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="stockId != null" >
+ stock_id,
+ </if>
+ <if test="stockName != null" >
+ stock_name,
+ </if>
+ <if test="stockCode != null" >
+ stock_code,
+ </if>
+ <if test="stockGid != null" >
+ stock_gid,
+ </if>
+ <if test="ymd != null" >
+ ymd,
+ </if>
+ <if test="hms != null" >
+ hms,
+ </if>
+ <if test="nowPrice != null" >
+ now_price,
+ </if>
+ <if test="creaseRate != null" >
+ crease_rate,
+ </if>
+ <if test="openPx != null" >
+ open_px,
+ </if>
+ <if test="closePx != null" >
+ close_px,
+ </if>
+ <if test="businessBalance != null" >
+ business_balance,
+ </if>
+ <if test="businessAmount != null" >
+ business_amount,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="addTimeStr != null" >
+ add_time_str,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="stockId != null" >
+ #{stockId,jdbcType=INTEGER},
+ </if>
+ <if test="stockName != null" >
+ #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="ymd != null" >
+ #{ymd,jdbcType=VARCHAR},
+ </if>
+ <if test="hms != null" >
+ #{hms,jdbcType=VARCHAR},
+ </if>
+ <if test="nowPrice != null" >
+ #{nowPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="creaseRate != null" >
+ #{creaseRate,jdbcType=DECIMAL},
+ </if>
+ <if test="openPx != null" >
+ #{openPx,jdbcType=VARCHAR},
+ </if>
+ <if test="closePx != null" >
+ #{closePx,jdbcType=VARCHAR},
+ </if>
+ <if test="businessBalance != null" >
+ #{businessBalance,jdbcType=VARCHAR},
+ </if>
+ <if test="businessAmount != null" >
+ #{businessAmount,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="addTimeStr != null" >
+ #{addTimeStr,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.StockMarketsDay" >
+ update stock_markets_day
+ <set >
+ <if test="stockId != null" >
+ stock_id = #{stockId,jdbcType=INTEGER},
+ </if>
+ <if test="stockName != null" >
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="ymd != null" >
+ ymd = #{ymd,jdbcType=VARCHAR},
+ </if>
+ <if test="hms != null" >
+ hms = #{hms,jdbcType=VARCHAR},
+ </if>
+ <if test="nowPrice != null" >
+ now_price = #{nowPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="creaseRate != null" >
+ crease_rate = #{creaseRate,jdbcType=DECIMAL},
+ </if>
+ <if test="openPx != null" >
+ open_px = #{openPx,jdbcType=VARCHAR},
+ </if>
+ <if test="closePx != null" >
+ close_px = #{closePx,jdbcType=VARCHAR},
+ </if>
+ <if test="businessBalance != null" >
+ business_balance = #{businessBalance,jdbcType=VARCHAR},
+ </if>
+ <if test="businessAmount != null" >
+ business_amount = #{businessAmount,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="addTimeStr != null" >
+ add_time_str = #{addTimeStr,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.StockMarketsDay" >
+ update stock_markets_day
+ set stock_id = #{stockId,jdbcType=INTEGER},
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ ymd = #{ymd,jdbcType=VARCHAR},
+ hms = #{hms,jdbcType=VARCHAR},
+ now_price = #{nowPrice,jdbcType=DECIMAL},
+ crease_rate = #{creaseRate,jdbcType=DECIMAL},
+ open_px = #{openPx,jdbcType=VARCHAR},
+ close_px = #{closePx,jdbcType=VARCHAR},
+ business_balance = #{businessBalance,jdbcType=VARCHAR},
+ business_amount = #{businessAmount,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ add_time_str = #{addTimeStr,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="selectRateByDaysAndStockCode" parameterType="map" resultType="decimal">
+ select sum(a.crease_rate) FROM (
+ select crease_rate
+ FROM stock_markets_day
+ WHERE stock_id = #{stockId}
+ order by id DESC
+ limit 0,#{days}) as a
+ </select>
+
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/StockOptionMapper.xml b/target/classes/mapper/StockOptionMapper.xml
new file mode 100644
index 0000000..b9832f2
--- /dev/null
+++ b/target/classes/mapper/StockOptionMapper.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.StockOptionMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockOption" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="stock_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, stock_id, add_time, stock_code, stock_name, stock_gid, is_lock
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from stock_option
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from stock_option
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.StockOption" >
+ insert into stock_option (id, user_id, stock_id,
+ add_time, stock_code, stock_name,
+ stock_gid, is_lock)
+ values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{stockId,jdbcType=INTEGER},
+ #{addTime,jdbcType=TIMESTAMP}, #{stockCode,jdbcType=VARCHAR}, #{stockName,jdbcType=VARCHAR},
+ #{stockGid,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.StockOption" >
+ insert into stock_option
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="stockId != null" >
+ stock_id,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="stockCode != null" >
+ stock_code,
+ </if>
+ <if test="stockName != null" >
+ stock_name,
+ </if>
+ <if test="stockGid != null" >
+ stock_gid,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="stockId != null" >
+ #{stockId,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="stockCode != null" >
+ #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockName != null" >
+ #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.StockOption" >
+ update stock_option
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="stockId != null" >
+ stock_id = #{stockId,jdbcType=INTEGER},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="stockCode != null" >
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockName != null" >
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.StockOption" >
+ update stock_option
+ set user_id = #{userId,jdbcType=INTEGER},
+ stock_id = #{stockId,jdbcType=INTEGER},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ is_lock = #{isLock,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="findMyOptionIsExistByCode" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_option
+ WHERE user_id = #{uid} and stock_code = #{stockCode}
+ </select>
+
+ <select id="findMyOptionByKeywords" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_option
+ <where>
+ user_id = #{uid}
+ <if test="keyWords != null and keyWords != '' ">
+ and stock_code like CONCAT('%','${keyWords}','%')
+ </if>
+ </where>
+ order by stock_code asc
+ </select>
+
+
+ <select id="isOption" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM stock_option
+ WHERE user_id = #{uid} and stock_code = #{code}
+ </select>
+
+
+
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/StockSubscribeMapper.xml b/target/classes/mapper/StockSubscribeMapper.xml
new file mode 100644
index 0000000..d786d99
--- /dev/null
+++ b/target/classes/mapper/StockSubscribeMapper.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.StockSubscribeMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.StockSubscribe">
+ <id property="newlistId" column="newlist_id" jdbcType="INTEGER"/>
+ <result property="name" column="name" jdbcType="VARCHAR"/>
+ <result property="code" column="code" jdbcType="VARCHAR"/>
+ <result property="price" column="price" jdbcType="VARCHAR"/>
+ <result property="orderNumber" column="order_number" jdbcType="BIGINT"/>
+ <result property="zt" column="zt" jdbcType="TINYINT"/>
+ <result property="isLock" column="isLock" jdbcType="TINYINT"/>
+ <result property="subscribeTime" column="subscribe_time" jdbcType="TIMESTAMP"/>
+ <result property="subscriptionTime" column="subscription_time" jdbcType="TIMESTAMP"/>
+ <result property="type" column="type" jdbcType="INTEGER"/>
+ <result property="discount" column="discount" jdbcType="DECIMAL"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ newlist_id,name,code,
+ price,order_number,zt,is_lock,
+ subscribe_time,subscription_time,type,discount
+ </sql>
+<!-- <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">-->
+<!-- select-->
+<!-- <include refid="Base_Column_List"/>-->
+<!-- from stock_subscribe-->
+<!-- <where>-->
+<!-- <if test="type != null">-->
+<!-- and type = #{type}-->
+<!-- </if>-->
+<!-- <if test="zt != null">-->
+<!-- and zt = #{zt}-->
+<!-- </if>-->
+<!-- <if test="code != null and code != ''">-->
+<!-- and code like '%${mohu}%'-->
+<!-- </if>-->
+<!-- <if test="name != null and name !=''">-->
+<!-- and name = like concat('%',#{name},'%')-->
+<!-- </if>-->
+<!-- </where>-->
+
+
+<!-- </select>-->
+</mapper>
diff --git a/target/classes/mapper/UserBankMapper.xml b/target/classes/mapper/UserBankMapper.xml
new file mode 100644
index 0000000..f1e119b
--- /dev/null
+++ b/target/classes/mapper/UserBankMapper.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserBankMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserBank" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="bank_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_no" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_address" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_img" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, bank_name, bank_no, bank_address, bank_img, bank_phone, add_time
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_bank
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_bank
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserBank" >
+ insert into user_bank (id, user_id, bank_name,
+ bank_no, bank_address, bank_img,
+ bank_phone, add_time)
+ values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{bankName,jdbcType=VARCHAR},
+ #{bankNo,jdbcType=VARCHAR}, #{bankAddress,jdbcType=VARCHAR}, #{bankImg,jdbcType=VARCHAR},
+ #{bankPhone,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserBank" >
+ insert into user_bank
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="bankName != null" >
+ bank_name,
+ </if>
+ <if test="bankNo != null" >
+ bank_no,
+ </if>
+ <if test="bankAddress != null" >
+ bank_address,
+ </if>
+ <if test="bankImg != null" >
+ bank_img,
+ </if>
+ <if test="bankPhone != null" >
+ bank_phone,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="bankName != null" >
+ #{bankName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankNo != null" >
+ #{bankNo,jdbcType=VARCHAR},
+ </if>
+ <if test="bankAddress != null" >
+ #{bankAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="bankImg != null" >
+ #{bankImg,jdbcType=VARCHAR},
+ </if>
+ <if test="bankPhone != null" >
+ #{bankPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserBank" >
+ update user_bank
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="bankName != null" >
+ bank_name = #{bankName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankNo != null" >
+ bank_no = #{bankNo,jdbcType=VARCHAR},
+ </if>
+ <if test="bankAddress != null" >
+ bank_address = #{bankAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="bankImg != null" >
+ bank_img = #{bankImg,jdbcType=VARCHAR},
+ </if>
+ <if test="bankPhone != null" >
+ bank_phone = #{bankPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserBank" >
+ update user_bank
+ set user_id = #{userId,jdbcType=INTEGER},
+ bank_name = #{bankName,jdbcType=VARCHAR},
+ bank_no = #{bankNo,jdbcType=VARCHAR},
+ bank_address = #{bankAddress,jdbcType=VARCHAR},
+ bank_img = #{bankImg,jdbcType=VARCHAR},
+ bank_phone = #{bankPhone,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="findUserBankByUserId" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_bank
+ WHERE user_id = #{userId}
+ limit 1
+ </select>
+
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/UserCashDetailMapper.xml b/target/classes/mapper/UserCashDetailMapper.xml
new file mode 100644
index 0000000..c284b8d
--- /dev/null
+++ b/target/classes/mapper/UserCashDetailMapper.xml
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserCashDetailMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserCashDetail" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="agent_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="position_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="de_type" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="de_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="de_summary" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="add_ip" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_address" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_read" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, agent_id, agent_name, user_id, user_name, position_id, de_type, de_amt, de_summary,
+ add_time, add_ip, add_address, is_read
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_cash_detail
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_cash_detail
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserCashDetail" >
+ insert into user_cash_detail (id, agent_id, agent_name,
+ user_id, user_name, position_id,
+ de_type, de_amt, de_summary,
+ add_time, add_ip, add_address,
+ is_read)
+ values (#{id,jdbcType=INTEGER}, #{agentId,jdbcType=INTEGER}, #{agentName,jdbcType=VARCHAR},
+ #{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, #{positionId,jdbcType=INTEGER},
+ #{deType,jdbcType=VARCHAR}, #{deAmt,jdbcType=DECIMAL}, #{deSummary,jdbcType=VARCHAR},
+ #{addTime,jdbcType=TIMESTAMP}, #{addIp,jdbcType=VARCHAR}, #{addAddress,jdbcType=VARCHAR},
+ #{isRead,jdbcType=INTEGER})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserCashDetail" >
+ insert into user_cash_detail
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="agentName != null" >
+ agent_name,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="userName != null" >
+ user_name,
+ </if>
+ <if test="positionId != null" >
+ position_id,
+ </if>
+ <if test="deType != null" >
+ de_type,
+ </if>
+ <if test="deAmt != null" >
+ de_amt,
+ </if>
+ <if test="deSummary != null" >
+ de_summary,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="addIp != null" >
+ add_ip,
+ </if>
+ <if test="addAddress != null" >
+ add_address,
+ </if>
+ <if test="isRead != null" >
+ is_read,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="agentName != null" >
+ #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="userName != null" >
+ #{userName,jdbcType=VARCHAR},
+ </if>
+ <if test="positionId != null" >
+ #{positionId,jdbcType=INTEGER},
+ </if>
+ <if test="deType != null" >
+ #{deType,jdbcType=VARCHAR},
+ </if>
+ <if test="deAmt != null" >
+ #{deAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="deSummary != null" >
+ #{deSummary,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="addIp != null" >
+ #{addIp,jdbcType=VARCHAR},
+ </if>
+ <if test="addAddress != null" >
+ #{addAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="isRead != null" >
+ #{isRead,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserCashDetail" >
+ update user_cash_detail
+ <set >
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="agentName != null" >
+ agent_name = #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="userName != null" >
+ user_name = #{userName,jdbcType=VARCHAR},
+ </if>
+ <if test="positionId != null" >
+ position_id = #{positionId,jdbcType=INTEGER},
+ </if>
+ <if test="deType != null" >
+ de_type = #{deType,jdbcType=VARCHAR},
+ </if>
+ <if test="deAmt != null" >
+ de_amt = #{deAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="deSummary != null" >
+ de_summary = #{deSummary,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="addIp != null" >
+ add_ip = #{addIp,jdbcType=VARCHAR},
+ </if>
+ <if test="addAddress != null" >
+ add_address = #{addAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="isRead != null" >
+ is_read = #{isRead,jdbcType=INTEGER},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserCashDetail" >
+ update user_cash_detail
+ set agent_id = #{agentId,jdbcType=INTEGER},
+ agent_name = #{agentName,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=INTEGER},
+ user_name = #{userName,jdbcType=VARCHAR},
+ position_id = #{positionId,jdbcType=INTEGER},
+ de_type = #{deType,jdbcType=VARCHAR},
+ de_amt = #{deAmt,jdbcType=DECIMAL},
+ de_summary = #{deSummary,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ add_ip = #{addIp,jdbcType=VARCHAR},
+ add_address = #{addAddress,jdbcType=VARCHAR},
+ is_read = #{isRead,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="findUserCashDetailList" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_cash_detail
+ <where>
+ user_id = #{uid}
+ <if test="positionId != null and positionId != '' ">
+ and position_id = #{positionId}
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+ <select id="listByAgent" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_cash_detail
+ <where>
+ agent_id = #{searchId}
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionId != null and positionId != '' ">
+ and position_id = #{positionId}
+ </if>
+ <if test="userName != null and userName != '' ">
+ and user_name like CONCAT('%','${userName}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+
+
+ <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_cash_detail
+ <where>
+ <if test="agentId != null and agentId != '' ">
+ and agent_id = #{agentId}
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionId != null and positionId != '' ">
+ and position_id = #{positionId}
+ </if>
+ <if test="userName != null and userName != '' ">
+ and user_name like CONCAT('%','${userName}','%')
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+ <delete id="deleteByUserId" parameterType="integer">
+ DELETE FROM user_cash_detail WHERE user_id = #{userId}
+ </delete>
+
+
+
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/UserFundsPositionMapper.xml b/target/classes/mapper/UserFundsPositionMapper.xml
new file mode 100644
index 0000000..ed31b8c
--- /dev/null
+++ b/target/classes/mapper/UserFundsPositionMapper.xml
@@ -0,0 +1,381 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.UserFundsPositionMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserFundsPosition" >
+ <result column="id" property="id" />
+ <result column="position_type" property="positionType" />
+ <result column="position_sn" property="positionSn" />
+ <result column="user_id" property="userId" />
+ <result column="nick_name" property="nickName" />
+ <result column="subaccount_number" property="subaccountNumber" />
+ <result column="agent_id" property="agentId" />
+ <result column="stock_id" property="stockId" />
+ <result column="stock_name" property="stockName" />
+ <result column="stock_code" property="stockCode" />
+ <result column="stock_gid" property="stockGid" />
+ <result column="stock_spell" property="stockSpell" />
+ <result column="buy_order_id" property="buyOrderId" />
+ <result column="buy_order_time" property="buyOrderTime" />
+ <result column="buy_order_price" property="buyOrderPrice" />
+ <result column="sell_order_id" property="sellOrderId" />
+ <result column="sell_order_time" property="sellOrderTime" />
+ <result column="sell_order_price" property="sellOrderPrice" />
+ <result column="order_direction" property="orderDirection" />
+ <result column="order_num" property="orderNum" />
+ <result column="order_lever" property="orderLever" />
+ <result column="order_total_price" property="orderTotalPrice" />
+ <result column="order_fee" property="orderFee" />
+ <result column="order_spread" property="orderSpread" />
+ <result column="order_stay_fee" property="orderStayFee" />
+ <result column="order_stay_days" property="orderStayDays" />
+ <result column="profit_and_lose" property="profitAndLose" />
+ <result column="all_profit_and_lose" property="allProfitAndLose" />
+ <result column="is_lock" property="isLock" />
+ <result column="lock_msg" property="lockMsg" />
+ <result column="stock_plate" property="stockPlate" />
+ <result column="spread_rate_price" property="spreadRatePrice" />
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ position_type,
+ position_sn,
+ user_id,
+ nick_name,
+ subaccount_number,
+ agent_id,
+ stock_id,
+ stock_name,
+ stock_code,
+ stock_gid,
+ stock_spell,
+ buy_order_id,
+ buy_order_time,
+ buy_order_price,
+ sell_order_id,
+ sell_order_time,
+ sell_order_price,
+ order_direction,
+ order_num,
+ order_lever,
+ order_total_price,
+ order_fee,
+ order_spread,
+ order_stay_fee,
+ order_stay_days,
+ profit_and_lose,
+ all_profit_and_lose,
+ is_lock,
+ lock_msg,
+ stock_plate,
+ spread_rate_price
+ </sql>
+
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.UserFundsPosition">
+ INSERT INTO user_funds_position
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test ='null != positionType'>
+ position_type,
+ </if>
+ <if test ='null != positionSn'>
+ position_sn,
+ </if>
+ <if test ='null != userId'>
+ user_id,
+ </if>
+ <if test ='null != nickName'>
+ nick_name,
+ </if>
+ <if test ='null != subaccountNumber'>
+ subaccount_number,
+ </if>
+ <if test ='null != agentId'>
+ agent_id,
+ </if>
+ <if test ='null != stockId'>
+ stock_id,
+ </if>
+ <if test ='null != stockName'>
+ stock_name,
+ </if>
+ <if test ='null != stockCode'>
+ stock_code,
+ </if>
+ <if test ='null != stockGid'>
+ stock_gid,
+ </if>
+ <if test ='null != stockSpell'>
+ stock_spell,
+ </if>
+ <if test ='null != buyOrderId'>
+ buy_order_id,
+ </if>
+ <if test ='null != buyOrderTime'>
+ buy_order_time,
+ </if>
+ <if test ='null != buyOrderPrice'>
+ buy_order_price,
+ </if>
+ <if test ='null != sellOrderId'>
+ sell_order_id,
+ </if>
+ <if test ='null != sellOrderTime'>
+ sell_order_time,
+ </if>
+ <if test ='null != sellOrderPrice'>
+ sell_order_price,
+ </if>
+ <if test ='null != orderDirection'>
+ order_direction,
+ </if>
+ <if test ='null != orderNum'>
+ order_num,
+ </if>
+ <if test ='null != orderLever'>
+ order_lever,
+ </if>
+ <if test ='null != orderTotalPrice'>
+ order_total_price,
+ </if>
+ <if test ='null != orderFee'>
+ order_fee,
+ </if>
+ <if test ='null != orderSpread'>
+ order_spread,
+ </if>
+ <if test ='null != orderStayFee'>
+ order_stay_fee,
+ </if>
+ <if test ='null != orderStayDays'>
+ order_stay_days,
+ </if>
+ <if test ='null != profitAndLose'>
+ profit_and_lose,
+ </if>
+ <if test ='null != allProfitAndLose'>
+ all_profit_and_lose,
+ </if>
+ <if test ='null != isLock'>
+ is_lock,
+ </if>
+ <if test ='null != lockMsg'>
+ lock_msg,
+ </if>
+ <if test ='null != stockPlate'>
+ stock_plate,
+ </if>
+ <if test ='null != spreadRatePrice'>
+ spread_rate_price
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test ='null != positionType'>
+ #{positionType},
+ </if>
+ <if test ='null != positionSn'>
+ #{positionSn},
+ </if>
+ <if test ='null != userId'>
+ #{userId},
+ </if>
+ <if test ='null != nickName'>
+ #{nickName},
+ </if>
+ <if test ='null != subaccountNumber'>
+ #{subaccountNumber},
+ </if>
+ <if test ='null != agentId'>
+ #{agentId},
+ </if>
+ <if test ='null != stockId'>
+ #{stockId},
+ </if>
+ <if test ='null != stockName'>
+ #{stockName},
+ </if>
+ <if test ='null != stockCode'>
+ #{stockCode},
+ </if>
+ <if test ='null != stockGid'>
+ #{stockGid},
+ </if>
+ <if test ='null != stockSpell'>
+ #{stockSpell},
+ </if>
+ <if test ='null != buyOrderId'>
+ #{buyOrderId},
+ </if>
+ <if test ='null != buyOrderTime'>
+ #{buyOrderTime},
+ </if>
+ <if test ='null != buyOrderPrice'>
+ #{buyOrderPrice},
+ </if>
+ <if test ='null != sellOrderId'>
+ #{sellOrderId},
+ </if>
+ <if test ='null != sellOrderTime'>
+ #{sellOrderTime},
+ </if>
+ <if test ='null != sellOrderPrice'>
+ #{sellOrderPrice},
+ </if>
+ <if test ='null != orderDirection'>
+ #{orderDirection},
+ </if>
+ <if test ='null != orderNum'>
+ #{orderNum},
+ </if>
+ <if test ='null != orderLever'>
+ #{orderLever},
+ </if>
+ <if test ='null != orderTotalPrice'>
+ #{orderTotalPrice},
+ </if>
+ <if test ='null != orderFee'>
+ #{orderFee},
+ </if>
+ <if test ='null != orderSpread'>
+ #{orderSpread},
+ </if>
+ <if test ='null != orderStayFee'>
+ #{orderStayFee},
+ </if>
+ <if test ='null != orderStayDays'>
+ #{orderStayDays},
+ </if>
+ <if test ='null != profitAndLose'>
+ #{profitAndLose},
+ </if>
+ <if test ='null != allProfitAndLose'>
+ #{allProfitAndLose},
+ </if>
+ <if test ='null != isLock'>
+ #{isLock},
+ </if>
+ <if test ='null != lockMsg'>
+ #{lockMsg},
+ </if>
+ <if test ='null != stockPlate'>
+ #{stockPlate},
+ </if>
+ <if test ='null != spreadRatePrice'>
+ #{spreadRatePrice}
+ </if>
+ </trim>
+ </insert>
+
+ <delete id="delete" >
+ DELETE FROM user_funds_position
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update" parameterType="com.nq.pojo.UserFundsPosition">
+ UPDATE user_funds_position
+ <set>
+ <if test ='null != positionType'>position_type = #{positionType},</if>
+ <if test ='null != positionSn'>position_sn = #{positionSn},</if>
+ <if test ='null != userId'>user_id = #{userId},</if>
+ <if test ='null != nickName'>nick_name = #{nickName},</if>
+ <if test ='null != subaccountNumber'>subaccount_number = #{subaccountNumber},</if>
+ <if test ='null != agentId'>agent_id = #{agentId},</if>
+ <if test ='null != stockId'>stock_id = #{stockId},</if>
+ <if test ='null != stockName'>stock_name = #{stockName},</if>
+ <if test ='null != stockCode'>stock_code = #{stockCode},</if>
+ <if test ='null != stockGid'>stock_gid = #{stockGid},</if>
+ <if test ='null != stockSpell'>stock_spell = #{stockSpell},</if>
+ <if test ='null != buyOrderId'>buy_order_id = #{buyOrderId},</if>
+ <if test ='null != buyOrderTime'>buy_order_time = #{buyOrderTime},</if>
+ <if test ='null != buyOrderPrice'>buy_order_price = #{buyOrderPrice},</if>
+ <if test ='null != sellOrderId'>sell_order_id = #{sellOrderId},</if>
+ <if test ='null != sellOrderTime'>sell_order_time = #{sellOrderTime},</if>
+ <if test ='null != sellOrderPrice'>sell_order_price = #{sellOrderPrice},</if>
+ <if test ='null != orderDirection'>order_direction = #{orderDirection},</if>
+ <if test ='null != orderNum'>order_num = #{orderNum},</if>
+ <if test ='null != orderLever'>order_lever = #{orderLever},</if>
+ <if test ='null != orderTotalPrice'>order_total_price = #{orderTotalPrice},</if>
+ <if test ='null != orderFee'>order_fee = #{orderFee},</if>
+ <if test ='null != orderSpread'>order_spread = #{orderSpread},</if>
+ <if test ='null != orderStayFee'>order_stay_fee = #{orderStayFee},</if>
+ <if test ='null != orderStayDays'>order_stay_days = #{orderStayDays},</if>
+ <if test ='null != profitAndLose'>profit_and_lose = #{profitAndLose},</if>
+ <if test ='null != allProfitAndLose'>all_profit_and_lose = #{allProfitAndLose},</if>
+ <if test ='null != isLock'>is_lock = #{isLock},</if>
+ <if test ='null != lockMsg'>lock_msg = #{lockMsg},</if>
+ <if test ='null != stockPlate'>stock_plate = #{stockPlate},</if>
+ <if test ='null != spreadRatePrice'>spread_rate_price = #{spreadRatePrice}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM user_funds_position
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT <include refid="Base_Column_List" />
+ FROM user_funds_position
+ where 1=1
+ <if test="keyword != null and keyword != ''">
+ and (nick_name like CONCAT('%',#{keyword},'%') or position_sn like CONCAT('%',#{keyword},'%'))
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM user_funds_position
+ </select>
+
+ <select id="findMyPositionByCodeAndSpell" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_funds_position
+ <where>
+ user_id = #{uid}
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_id is null
+ </if>
+ <if test="state == 1">
+ and sell_order_id is not null
+ </if>
+ </if>
+ <if test="stockCode != null and stockCode != '' ">
+ and stock_code like CONCAT('%','${stockCode}','%')
+ </if>
+ <if test="stockSpell != null and stockSpell != '' ">
+ and stock_spell like CONCAT('%','${stockSpell}','%')
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+ <!--根据单号查询配资信息-->
+ <select id="findPositionBySn" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_funds_position
+ WHERE position_sn = #{positionSn}
+ </select>
+
+ <!--根据分仓配资代码查询用户最早入仓股票-->
+ <select id="findUserFundsPositionByCode" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_funds_position
+ <where>
+ user_id = #{userId}
+ and stock_code = #{fundsCode}
+ and sell_order_price is null
+ </where>
+ ORDER BY id ASC
+ limit 1
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/UserFuturesPositionMapper.xml b/target/classes/mapper/UserFuturesPositionMapper.xml
new file mode 100644
index 0000000..9162911
--- /dev/null
+++ b/target/classes/mapper/UserFuturesPositionMapper.xml
@@ -0,0 +1,524 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserFuturesPositionMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserFuturesPosition" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_type" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="real_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="futures_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="futures_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="buy_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="buy_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sell_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="sell_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_direction" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="order_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="futures_standard" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="futures_unit" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="all_deposit_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="lock_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="buy_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sell_rate" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="all_profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="coin_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="order_lever" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, position_type, position_sn, user_id, real_name, agent_id, futures_name, futures_code,
+ futures_gid, buy_order_time, buy_order_price, sell_order_time, sell_order_price, order_direction,
+ order_num, futures_standard, futures_unit, all_deposit_amt, order_fee, lock_msg,
+ is_lock, buy_rate, sell_rate, all_profit_and_lose, profit_and_lose,coin_code, order_lever
+ </sql>
+
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_futures_position
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_futures_position
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserFuturesPosition" >
+ insert into user_futures_position (id, position_type, position_sn,
+ user_id, real_name, agent_id,
+ futures_name, futures_code, futures_gid,
+ buy_order_time, buy_order_price, sell_order_time,
+ sell_order_price, order_direction, order_num, futures_standard,
+ futures_unit, all_deposit_amt, order_fee,
+ lock_msg, is_lock, buy_rate, sell_rate, all_profit_and_lose,
+ profit_and_lose,coin_code, order_lever)
+ values (#{id,jdbcType=INTEGER}, #{positionType,jdbcType=INTEGER}, #{positionSn,jdbcType=VARCHAR},
+ #{userId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, #{agentId,jdbcType=INTEGER},
+ #{futuresName,jdbcType=VARCHAR}, #{futuresCode,jdbcType=VARCHAR}, #{futuresGid,jdbcType=VARCHAR},
+ #{buyOrderTime,jdbcType=TIMESTAMP}, #{buyOrderPrice,jdbcType=DECIMAL}, #{sellOrderTime,jdbcType=TIMESTAMP},
+ #{sellOrderPrice,jdbcType=DECIMAL}, #{orderDirection,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{futuresStandard,jdbcType=INTEGER},
+ #{futuresUnit,jdbcType=VARCHAR}, #{allDepositAmt,jdbcType=DECIMAL}, #{orderFee,jdbcType=DECIMAL},
+ #{lockMsg,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER}, #{buyRate,jdbcType=DECIMAL}, #{sellRate,jdbcType=DECIMAL},
+ #{allProfitAndLose,jdbcType=DECIMAL}, #{profitAndLose,jdbcType=DECIMAL},
+ #{coinCode,jdbcType=VARCHAR}, #{orderLever,jdbcType=INTEGER}
+ )
+ </insert>
+
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserFuturesPosition" >
+ insert into user_futures_position
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="positionType != null" >
+ position_type,
+ </if>
+ <if test="positionSn != null" >
+ position_sn,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="realName != null" >
+ real_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="futuresName != null" >
+ futures_name,
+ </if>
+ <if test="futuresCode != null" >
+ futures_code,
+ </if>
+ <if test="futuresGid != null" >
+ futures_gid,
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time,
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price,
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time,
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price,
+ </if>
+ <if test="orderDirection != null" >
+ order_direction,
+ </if>
+ <if test="orderNum != null" >
+ order_num,
+ </if>
+ <if test="futuresStandard != null" >
+ futures_standard,
+ </if>
+ <if test="futuresUnit != null" >
+ futures_unit,
+ </if>
+ <if test="allDepositAmt != null" >
+ all_deposit_amt,
+ </if>
+ <if test="orderFee != null" >
+ order_fee,
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="buyRate != null" >
+ buy_rate,
+ </if>
+ <if test="sellRate != null" >
+ sell_rate,
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose,
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose,
+ </if>
+ <if test="coinCode != null" >
+ coin_code,
+ </if>
+ <if test="orderLever != null" >
+ order_lever,
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="positionType != null" >
+ #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="futuresName != null" >
+ #{futuresName,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresCode != null" >
+ #{futuresCode,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresGid != null" >
+ #{futuresGid,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderTime != null" >
+ #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="futuresStandard != null" >
+ #{futuresStandard,jdbcType=INTEGER},
+ </if>
+ <if test="futuresUnit != null" >
+ #{futuresUnit,jdbcType=VARCHAR},
+ </if>
+ <if test="allDepositAmt != null" >
+ #{allDepositAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="lockMsg != null" >
+ #{lockMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="buyRate != null" >
+ #{buyRate,jdbcType=DECIMAL},
+ </if>
+ <if test="sellRate != null" >
+ #{sellRate,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="profitAndLose != null" >
+ #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+
+ <if test="coinCode != null" >
+ #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="orderLever != null" >
+ #{orderLever,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserFuturesPosition" >
+ update user_futures_position
+ <set >
+ <if test="positionType != null" >
+ position_type = #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ real_name = #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="futuresName != null" >
+ futures_name = #{futuresName,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresCode != null" >
+ futures_code = #{futuresCode,jdbcType=VARCHAR},
+ </if>
+ <if test="futuresGid != null" >
+ futures_gid = #{futuresGid,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ order_num = #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="futuresStandard != null" >
+ futures_standard = #{futuresStandard,jdbcType=INTEGER},
+ </if>
+ <if test="futuresUnit != null" >
+ futures_unit = #{futuresUnit,jdbcType=VARCHAR},
+ </if>
+ <if test="allDepositAmt != null" >
+ all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="buyRate != null" >
+ buy_rate = #{buyRate,jdbcType=DECIMAL},
+ </if>
+ <if test="sellRate != null" >
+ sell_rate = #{sellRate,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+
+ <if test="coinCode != null" >
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ </if>
+ <if test="orderLever != null" >
+ order_lever = #{orderLever,jdbcType=INTEGER},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserFuturesPosition" >
+ update user_futures_position
+ set position_type = #{positionType,jdbcType=INTEGER},
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=INTEGER},
+ real_name = #{realName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ futures_name = #{futuresName,jdbcType=VARCHAR},
+ futures_code = #{futuresCode,jdbcType=VARCHAR},
+ futures_gid = #{futuresGid,jdbcType=VARCHAR},
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ order_num = #{orderNum,jdbcType=INTEGER},
+ futures_standard = #{futuresStandard,jdbcType=INTEGER},
+ futures_unit = #{futuresUnit,jdbcType=VARCHAR},
+ all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL},
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ buy_rate = #{buyRate,jdbcType=DECIMAL},
+ sell_rate = #{sellRate,jdbcType=DECIMAL},
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ coin_code = #{coinCode,jdbcType=VARCHAR},
+ order_lever = #{orderLever,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+ <select id="findMyFuturesPositionByNameAndCode" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ <where>
+ user_id = #{userId}
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="fuName != null and fuName != '' ">
+ and futures_name like CONCAT('%','${fuName}','%')
+ </if>
+ <if test="fuCode != null and fuCode != '' ">
+ and futures_code like CONCAT('%','${fuCode}','%')
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionSn != null and positionSn != '' ">
+ and position_sn like CONCAT('%','${positionSn}','%')
+ </if>
+ <if test="positionType != null ">
+ and position_type = #{positionType}
+ </if>
+ <if test="beginTime != null ">
+ and sell_order_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null ">
+ and sell_order_time <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <select id="listByAgent" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionSn != null and positionSn != '' ">
+ and position_sn like CONCAT('%','${positionSn}','%')
+ </if>
+ <if test="positionType != null ">
+ and position_type = #{positionType}
+ </if>
+ <if test="beginTime != null ">
+ and sell_order_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null ">
+ and sell_order_time <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+
+ <select id="selectPositionBySn" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ WHERE position_sn = #{positionSn}
+ </select>
+
+
+
+
+ <select id="findPositionByFuturesCodeAndTimes" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ WHERE futures_code = #{futuresCode} and user_id = #{userId}
+ and buy_order_time <![CDATA[>=]]> #{minuteTimes}
+ </select>
+ <select id="findPositionNumByTimes" parameterType="map" resultType="integer">
+ SELECT COALESCE(SUM(order_num),0)
+ FROM user_futures_position
+ WHERE user_id = #{userId}
+ and buy_order_time <![CDATA[>=]]> #{beginDate}
+ </select>
+
+
+
+ <select id="findDistinctUserIdList" resultType="integer" >
+ SELECT DISTINCT user_id FROM user_futures_position WHERE sell_order_price is null
+ </select>
+
+ <select id="findFuturesPositionByUserIdAndSellPriceIsNull" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ WHERE user_id = #{userId} and sell_order_price is null
+ order by id desc
+ </select>
+
+ <!--根据期货代码查询用户最早入仓股票-->
+ <select id="findUserFuturesPositionByCode" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_futures_position
+ <where>
+ user_id = #{userId}
+ and futures_gid = #{futuresGid}
+ and sell_order_price is null
+ </where>
+ ORDER BY id ASC
+ limit 1
+ </select>
+
+
+
+</mapper>
+
+
+
+
+
+
+
diff --git a/target/classes/mapper/UserIndexPositionMapper.xml b/target/classes/mapper/UserIndexPositionMapper.xml
new file mode 100644
index 0000000..655a1e8
--- /dev/null
+++ b/target/classes/mapper/UserIndexPositionMapper.xml
@@ -0,0 +1,473 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserIndexPositionMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserIndexPosition" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_type" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="real_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="index_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="index_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="index_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="buy_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="buy_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sell_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="sell_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_direction" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="order_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="all_deposit_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_stay_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="each_point" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="all_profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="lock_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="order_lever" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="profit_target_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stop_target_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, position_type, position_sn, user_id, real_name, agent_id, index_name, index_code,
+ index_gid, buy_order_time, buy_order_price, sell_order_time, sell_order_price, order_direction,
+ order_num, all_deposit_amt, order_fee, order_stay_days, each_point, profit_and_lose,
+ all_profit_and_lose, is_lock, lock_msg, order_lever, profit_target_price, stop_target_price
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_index_position
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_index_position
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserIndexPosition" >
+ insert into user_index_position (id, position_type, position_sn,
+ user_id, real_name, agent_id,
+ index_name, index_code, index_gid,
+ buy_order_time, buy_order_price, sell_order_time,
+ sell_order_price, order_direction, order_num,
+ all_deposit_amt, order_fee, order_stay_days,
+ each_point, profit_and_lose, all_profit_and_lose,
+ is_lock, lock_msg, order_lever,profit_target_price, stop_target_price)
+ values (#{id,jdbcType=INTEGER}, #{positionType,jdbcType=INTEGER}, #{positionSn,jdbcType=VARCHAR},
+ #{userId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, #{agentId,jdbcType=INTEGER},
+ #{indexName,jdbcType=VARCHAR}, #{indexCode,jdbcType=VARCHAR}, #{indexGid,jdbcType=VARCHAR},
+ #{buyOrderTime,jdbcType=TIMESTAMP}, #{buyOrderPrice,jdbcType=DECIMAL}, #{sellOrderTime,jdbcType=TIMESTAMP},
+ #{sellOrderPrice,jdbcType=DECIMAL}, #{orderDirection,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER},
+ #{allDepositAmt,jdbcType=DECIMAL}, #{orderFee,jdbcType=DECIMAL}, #{orderStayDays,jdbcType=INTEGER},
+ #{eachPoint,jdbcType=DECIMAL}, #{profitAndLose,jdbcType=DECIMAL}, #{allProfitAndLose,jdbcType=DECIMAL},
+ #{isLock,jdbcType=INTEGER}, #{lockMsg,jdbcType=VARCHAR},#{orderLever,jdbcType=INTEGER},#{profitTargetPrice,jdbcType=DECIMAL},#{stopTargetPrice,jdbcType=DECIMAL})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserIndexPosition" >
+ insert into user_index_position
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="positionType != null" >
+ position_type,
+ </if>
+ <if test="positionSn != null" >
+ position_sn,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="realName != null" >
+ real_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="indexName != null" >
+ index_name,
+ </if>
+ <if test="indexCode != null" >
+ index_code,
+ </if>
+ <if test="indexGid != null" >
+ index_gid,
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time,
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price,
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time,
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price,
+ </if>
+ <if test="orderDirection != null" >
+ order_direction,
+ </if>
+ <if test="orderNum != null" >
+ order_num,
+ </if>
+ <if test="allDepositAmt != null" >
+ all_deposit_amt,
+ </if>
+ <if test="orderFee != null" >
+ order_fee,
+ </if>
+ <if test="orderStayDays != null" >
+ order_stay_days,
+ </if>
+ <if test="eachPoint != null" >
+ each_point,
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose,
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg,
+ </if>
+ <if test="orderLever != null" >
+ order_lever,
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="positionType != null" >
+ #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="indexName != null" >
+ #{indexName,jdbcType=VARCHAR},
+ </if>
+ <if test="indexCode != null" >
+ #{indexCode,jdbcType=VARCHAR},
+ </if>
+ <if test="indexGid != null" >
+ #{indexGid,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderTime != null" >
+ #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="allDepositAmt != null" >
+ #{allDepositAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayDays != null" >
+ #{orderStayDays,jdbcType=INTEGER},
+ </if>
+ <if test="eachPoint != null" >
+ #{eachPoint,jdbcType=DECIMAL},
+ </if>
+ <if test="profitAndLose != null" >
+ #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="lockMsg != null" >
+ #{lockMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="orderLever != null" >
+ #{orderLever,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserIndexPosition" >
+ update user_index_position
+ <set >
+ <if test="positionType != null" >
+ position_type = #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="realName != null" >
+ real_name = #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="indexName != null" >
+ index_name = #{indexName,jdbcType=VARCHAR},
+ </if>
+ <if test="indexCode != null" >
+ index_code = #{indexCode,jdbcType=VARCHAR},
+ </if>
+ <if test="indexGid != null" >
+ index_gid = #{indexGid,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ order_num = #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="allDepositAmt != null" >
+ all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayDays != null" >
+ order_stay_days = #{orderStayDays,jdbcType=INTEGER},
+ </if>
+ <if test="eachPoint != null" >
+ each_point = #{eachPoint,jdbcType=DECIMAL},
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="orderLever != null" >
+ order_lever = #{orderLever,jdbcType=INTEGER},
+ </if>
+ <if test="profitTargetPrice != null" >
+ profit_target_price = #{profitTargetPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="stopTargetPrice != null" >
+ stop_target_price = #{stopTargetPrice,jdbcType=DECIMAL},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserIndexPosition" >
+ update user_index_position
+ set position_type = #{positionType,jdbcType=INTEGER},
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=INTEGER},
+ real_name = #{realName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ index_name = #{indexName,jdbcType=VARCHAR},
+ index_code = #{indexCode,jdbcType=VARCHAR},
+ index_gid = #{indexGid,jdbcType=VARCHAR},
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ order_num = #{orderNum,jdbcType=INTEGER},
+ all_deposit_amt = #{allDepositAmt,jdbcType=DECIMAL},
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ order_stay_days = #{orderStayDays,jdbcType=INTEGER},
+ each_point = #{eachPoint,jdbcType=DECIMAL},
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ order_lever = #{orderLever,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+ <select id="selectIndexPositionBySn" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ WHERE position_sn = #{positionSn}
+ </select>
+
+
+ <select id="findMyIndexPositionByNameAndCode" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ <where>
+ user_id = #{userId}
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="indexName != null and indexName != '' ">
+ and index_name like CONCAT('%','${indexName}','%')
+ </if>
+ <if test="indexCode != null and indexCode != '' ">
+ and index_code like CONCAT('%','${indexCode}','%')
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+
+ <select id="listByAdmin" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionSn != null and positionSn != '' ">
+ and position_sn like CONCAT('%','${positionSn}','%')
+ </if>
+ <if test="positionType != null ">
+ and position_type = #{positionType}
+ </if>
+ <if test="beginTime != null ">
+ and sell_order_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null ">
+ and sell_order_time <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+ <select id="listByAgent" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="state != null ">
+ <if test="state == 0">
+ and sell_order_price is null
+ </if>
+ <if test="state == 1">
+ and sell_order_price is not null
+ </if>
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionSn != null and positionSn != '' ">
+ and position_sn like CONCAT('%','${positionSn}','%')
+ </if>
+ <if test="positionType != null ">
+ and position_type = #{positionType}
+ </if>
+ <if test="beginTime != null ">
+ and sell_order_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null ">
+ and sell_order_time <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+
+ <select id="findPositionByUserIdAndSellPriceIsNull" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ WHERE user_id = #{userId} and sell_order_price is null
+ order by id desc
+ </select>
+
+
+
+ <select id="findDistinctUserIdList" resultType="integer" >
+ SELECT DISTINCT user_id FROM user_index_position WHERE sell_order_price is null
+ </select>
+
+ <!--根据指数代码查询用户最早入仓股票-->
+ <select id="findUserIndexPositionByCode" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_index_position
+ <where>
+ user_id = #{userId}
+ and index_gid = #{indexGid}
+ and sell_order_price is null
+ </where>
+ ORDER BY id ASC
+ limit 1
+ </select>
+
+
+
+</mapper>
+
+
+
+
diff --git a/target/classes/mapper/UserMapper.xml b/target/classes/mapper/UserMapper.xml
new file mode 100644
index 0000000..973b670
--- /dev/null
+++ b/target/classes/mapper/UserMapper.xml
@@ -0,0 +1,814 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserMapper">
+ <resultMap id="BaseResultMap" type="com.nq.pojo.User" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="agent_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_pwd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="with_pwd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="nick_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="real_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="id_card" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="account_type" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="enable_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="enale_withdraw_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="hk_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sum_charge_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sum_buy_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="recom_phone" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="is_login" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="reg_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="reg_ip" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="reg_address" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="img1_key" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="img2_key" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="img3_key" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_active" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="auth_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_index_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="enable_index_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="user_fut_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="enable_fut_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="withdrawal_Pwd" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="trading_amount" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="is_authorize" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="sgzj" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="djzj" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="is_signed_contract" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="is_signed_agreement" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Example_Where_Clause" >
+ <where >
+ <foreach collection="oredCriteria" item="criteria" separator="or" >
+ <if test="criteria.valid" >
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
+ <foreach collection="criteria.criteria" item="criterion" >
+ <choose >
+ <when test="criterion.noValue" >
+ and ${criterion.condition}
+ </when>
+ <when test="criterion.singleValue" >
+ and ${criterion.condition} #{criterion.value}
+ </when>
+ <when test="criterion.betweenValue" >
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+ </when>
+ <when test="criterion.listValue" >
+ and ${criterion.condition}
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+ #{listItem}
+ </foreach>
+ </when>
+ </choose>
+ </foreach>
+ </trim>
+ </if>
+ </foreach>
+ </where>
+ </sql>
+ <sql id="Update_By_Example_Where_Clause" >
+ <where >
+ <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+ <if test="criteria.valid" >
+ <trim prefix="(" suffix=")" prefixOverrides="and" >
+ <foreach collection="criteria.criteria" item="criterion" >
+ <choose >
+ <when test="criterion.noValue" >
+ and ${criterion.condition}
+ </when>
+ <when test="criterion.singleValue" >
+ and ${criterion.condition} #{criterion.value}
+ </when>
+ <when test="criterion.betweenValue" >
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+ </when>
+ <when test="criterion.listValue" >
+ and ${criterion.condition}
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+ #{listItem}
+ </foreach>
+ </when>
+ </choose>
+ </foreach>
+ </trim>
+ </if>
+ </foreach>
+ </where>
+ </sql>
+ <sql id="Base_Column_List" >
+ id, agent_id, agent_name, phone, user_pwd, with_pwd, nick_name, real_name, id_card,
+ account_type, user_amt, enable_amt, enale_withdraw_amt, hk_amt, sum_charge_amt, sum_buy_amt,
+ recom_phone, is_lock, is_login, reg_time, reg_ip, reg_address, img1_key, img2_key,
+ img3_key, is_active, auth_msg, user_index_amt, enable_index_amt, user_fut_amt, enable_fut_amt,
+ withdrawal_Pwd, trading_amount, is_authorize, sgzj, djzj,is_signed_contract,is_signed_agreement
+ </sql>
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.nq.pojo.UserExample" >
+ select
+ <if test="distinct" >
+ distinct
+ </if>
+ <include refid="Base_Column_List" />
+ from user
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ <if test="orderByClause != null" >
+ order by ${orderByClause}
+ </if>
+ </select>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <delete id="deleteByExample" parameterType="com.nq.pojo.UserExample" >
+ delete from user
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.User" >
+ <selectKey resultType="java.lang.Integer" keyProperty="id" order="BEFORE" >
+ SELECT LAST_INSERT_ID()
+ </selectKey>
+ insert into user ( agent_id, agent_name,
+ phone, user_pwd, with_pwd,
+ nick_name, real_name, id_card,
+ account_type, user_amt, enable_amt,
+ enale_withdraw_amt, hk_amt, sum_charge_amt,
+ sum_buy_amt, recom_phone, is_lock,
+ is_login, reg_time, reg_ip,
+ reg_address, img1_key, img2_key,
+ img3_key, is_active, auth_msg,
+ user_index_amt, enable_index_amt, user_fut_amt,
+ enable_fut_amt, withdrawal_Pwd, trading_amount,
+ is_authorize, sgzj, djzj,is_signed_contract,is_signed_agreement
+ )
+ values ( #{agentId,jdbcType=INTEGER}, #{agentName,jdbcType=VARCHAR},
+ #{phone,jdbcType=VARCHAR}, #{userPwd,jdbcType=VARCHAR}, #{withPwd,jdbcType=VARCHAR},
+ #{nickName,jdbcType=VARCHAR}, #{realName,jdbcType=VARCHAR}, #{idCard,jdbcType=VARCHAR},
+ #{accountType,jdbcType=INTEGER}, #{userAmt,jdbcType=DECIMAL}, #{enableAmt,jdbcType=DECIMAL},
+ #{enaleWithdrawAmt,jdbcType=DECIMAL}, #{hkAmt,jdbcType=DECIMAL}, #{sumChargeAmt,jdbcType=DECIMAL},
+ #{sumBuyAmt,jdbcType=DECIMAL}, #{recomPhone,jdbcType=VARCHAR}, #{isLock,jdbcType=INTEGER},
+ #{isLogin,jdbcType=INTEGER}, #{regTime,jdbcType=TIMESTAMP}, #{regIp,jdbcType=VARCHAR},
+ #{regAddress,jdbcType=VARCHAR}, #{img1Key,jdbcType=VARCHAR}, #{img2Key,jdbcType=VARCHAR},
+ #{img3Key,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER}, #{authMsg,jdbcType=VARCHAR},
+ #{userIndexAmt,jdbcType=DECIMAL}, #{enableIndexAmt,jdbcType=DECIMAL}, #{userFutAmt,jdbcType=DECIMAL},
+ #{enableFutAmt,jdbcType=DECIMAL}, #{withdrawalPwd,jdbcType=VARCHAR}, #{tradingAmount,jdbcType=DECIMAL},
+ #{isAuthorize,jdbcType=INTEGER}, #{sgzj,jdbcType=DECIMAL}, #{djzj,jdbcType=DECIMAL}, #{isSignedContract,jdbcType=VARCHAR}, #{isSignedAgreement,jdbcType=VARCHAR}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.User" >
+ <selectKey resultType="java.lang.Integer" keyProperty="id" order="BEFORE" >
+ SELECT LAST_INSERT_ID()
+ </selectKey>
+ insert into user
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ id,
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="agentName != null" >
+ agent_name,
+ </if>
+ <if test="phone != null" >
+ phone,
+ </if>
+ <if test="userPwd != null" >
+ user_pwd,
+ </if>
+ <if test="withPwd != null" >
+ with_pwd,
+ </if>
+ <if test="nickName != null" >
+ nick_name,
+ </if>
+ <if test="realName != null" >
+ real_name,
+ </if>
+ <if test="idCard != null" >
+ id_card,
+ </if>
+ <if test="accountType != null" >
+ account_type,
+ </if>
+ <if test="userAmt != null" >
+ user_amt,
+ </if>
+ <if test="enableAmt != null" >
+ enable_amt,
+ </if>
+ <if test="enaleWithdrawAmt != null" >
+ enale_withdraw_amt,
+ </if>
+ <if test="hkAmt != null" >
+ hk_amt,
+ </if>
+ <if test="sumChargeAmt != null" >
+ sum_charge_amt,
+ </if>
+ <if test="sumBuyAmt != null" >
+ sum_buy_amt,
+ </if>
+ <if test="recomPhone != null" >
+ recom_phone,
+ </if>
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="isLogin != null" >
+ is_login,
+ </if>
+ <if test="regTime != null" >
+ reg_time,
+ </if>
+ <if test="regIp != null" >
+ reg_ip,
+ </if>
+ <if test="regAddress != null" >
+ reg_address,
+ </if>
+ <if test="img1Key != null" >
+ img1_key,
+ </if>
+ <if test="img2Key != null" >
+ img2_key,
+ </if>
+ <if test="img3Key != null" >
+ img3_key,
+ </if>
+ <if test="isActive != null" >
+ is_active,
+ </if>
+ <if test="authMsg != null" >
+ auth_msg,
+ </if>
+ <if test="userIndexAmt != null" >
+ user_index_amt,
+ </if>
+ <if test="enableIndexAmt != null" >
+ enable_index_amt,
+ </if>
+ <if test="userFutAmt != null" >
+ user_fut_amt,
+ </if>
+ <if test="enableFutAmt != null" >
+ enable_fut_amt,
+ </if>
+ <if test="withdrawalPwd != null" >
+ withdrawal_Pwd,
+ </if>
+ <if test="tradingAmount != null" >
+ trading_amount,
+ </if>
+ <if test="isAuthorize != null" >
+ is_authorize,
+ </if>
+ <if test="sgzj != null" >
+ sgzj,
+ </if>
+ <if test="djzj != null" >
+ djzj,
+ </if>
+ <if test="withdrawalPwd != null" >
+ is_signed_contract,
+ </if>
+ <if test="withdrawalPwd != null" >
+ is_signed_agreement,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ #{id,jdbcType=INTEGER},
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="agentName != null" >
+ #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="phone != null" >
+ #{phone,jdbcType=VARCHAR},
+ </if>
+ <if test="userPwd != null" >
+ #{userPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="withPwd != null" >
+ #{withPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="nickName != null" >
+ #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="realName != null" >
+ #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="idCard != null" >
+ #{idCard,jdbcType=VARCHAR},
+ </if>
+ <if test="accountType != null" >
+ #{accountType,jdbcType=INTEGER},
+ </if>
+ <if test="userAmt != null" >
+ #{userAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableAmt != null" >
+ #{enableAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enaleWithdrawAmt != null" >
+ #{enaleWithdrawAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="hkAmt != null" >
+ #{hkAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="sumChargeAmt != null" >
+ #{sumChargeAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="sumBuyAmt != null" >
+ #{sumBuyAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="recomPhone != null" >
+ #{recomPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="isLogin != null" >
+ #{isLogin,jdbcType=INTEGER},
+ </if>
+ <if test="regTime != null" >
+ #{regTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="regIp != null" >
+ #{regIp,jdbcType=VARCHAR},
+ </if>
+ <if test="regAddress != null" >
+ #{regAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="img1Key != null" >
+ #{img1Key,jdbcType=VARCHAR},
+ </if>
+ <if test="img2Key != null" >
+ #{img2Key,jdbcType=VARCHAR},
+ </if>
+ <if test="img3Key != null" >
+ #{img3Key,jdbcType=VARCHAR},
+ </if>
+ <if test="isActive != null" >
+ #{isActive,jdbcType=INTEGER},
+ </if>
+ <if test="authMsg != null" >
+ #{authMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="userIndexAmt != null" >
+ #{userIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableIndexAmt != null" >
+ #{enableIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="userFutAmt != null" >
+ #{userFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableFutAmt != null" >
+ #{enableFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="withdrawalPwd != null" >
+ #{withdrawalPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="tradingAmount != null" >
+ #{tradingAmount,jdbcType=DECIMAL},
+ </if>
+ <if test="isAuthorize != null" >
+ #{isAuthorize,jdbcType=INTEGER},
+ </if>
+ <if test="sgzj != null" >
+ #{sgzj,jdbcType=DECIMAL},
+ </if>
+ <if test="djzj != null" >
+ #{djzj,jdbcType=DECIMAL},
+ </if>
+ <if test="isSignedContract != null" >
+ #{isSignedContract,jdbcType=VARCHAR},
+ </if>
+ <if test="isSignedAgreement != null" >
+ #{isSignedAgreement,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <select id="countByExample" parameterType="com.nq.pojo.UserExample" resultType="java.lang.Integer" >
+ select count(*) from user
+ <if test="_parameter != null" >
+ <include refid="Example_Where_Clause" />
+ </if>
+ </select>
+ <update id="updateByExampleSelective" parameterType="map" >
+ update user
+ <set >
+ <if test="record.id != null" >
+ id = #{record.id,jdbcType=INTEGER},
+ </if>
+ <if test="record.agentId != null" >
+ agent_id = #{record.agentId,jdbcType=INTEGER},
+ </if>
+ <if test="record.agentName != null" >
+ agent_name = #{record.agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="record.phone != null" >
+ phone = #{record.phone,jdbcType=VARCHAR},
+ </if>
+ <if test="record.withPwd != null" >
+ with_pwd = #{record.withPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="record.nickName != null" >
+ nick_name = #{record.nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="record.realName != null" >
+ real_name = #{record.realName,jdbcType=VARCHAR},
+ </if>
+ <if test="record.idCard != null" >
+ id_card = #{record.idCard,jdbcType=VARCHAR},
+ </if>
+ <if test="record.accountType != null" >
+ account_type = #{record.accountType,jdbcType=INTEGER},
+ </if>
+ <if test="record.userAmt != null" >
+ user_amt = #{record.userAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.enableAmt != null" >
+ enable_amt = #{record.enableAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.enaleWithdrawAmt != null" >
+ enale_withdraw_amt = #{record.enaleWithdrawAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.hkAmt != null" >
+ hk_amt = #{record.hkAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.sumChargeAmt != null" >
+ sum_charge_amt = #{record.sumChargeAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.sumBuyAmt != null" >
+ sum_buy_amt = #{record.sumBuyAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.recomPhone != null" >
+ recom_phone = #{record.recomPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="record.isLock != null" >
+ is_lock = #{record.isLock,jdbcType=INTEGER},
+ </if>
+ <if test="record.isLogin != null" >
+ is_login = #{record.isLogin,jdbcType=INTEGER},
+ </if>
+ <if test="record.regTime != null" >
+ reg_time = #{record.regTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="record.regIp != null" >
+ reg_ip = #{record.regIp,jdbcType=VARCHAR},
+ </if>
+ <if test="record.regAddress != null" >
+ reg_address = #{record.regAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="record.img1Key != null" >
+ img1_key = #{record.img1Key,jdbcType=VARCHAR},
+ </if>
+ <if test="record.img2Key != null" >
+ img2_key = #{record.img2Key,jdbcType=VARCHAR},
+ </if>
+ <if test="record.img3Key != null" >
+ img3_key = #{record.img3Key,jdbcType=VARCHAR},
+ </if>
+ <if test="record.isActive != null" >
+ is_active = #{record.isActive,jdbcType=INTEGER},
+ </if>
+ <if test="record.authMsg != null" >
+ auth_msg = #{record.authMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="record.userIndexAmt != null" >
+ user_index_amt = #{record.userIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.enableIndexAmt != null" >
+ enable_index_amt = #{record.enableIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.userFutAmt != null" >
+ user_fut_amt = #{record.userFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.enableFutAmt != null" >
+ enable_fut_amt = #{record.enableFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="record.withdrawalPwd != null" >
+ withdrawal_Pwd = #{record.withdrawalPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="record.tradingAmount != null" >
+ trading_amount = #{record.tradingAmount,jdbcType=DECIMAL},
+ </if>
+ <if test="record.isAuthorize != null" >
+ is_authorize = #{record.isAuthorize,jdbcType=INTEGER},
+ </if>
+ <if test="record.sgzj != null" >
+ sgzj = #{record.sgzj,jdbcType=DECIMAL},
+ </if>
+ <if test="record.djzj != null" >
+ djzj = #{record.djzj,jdbcType=DECIMAL},
+ </if>
+ <if test="record.isSignedContract != null" >
+ is_signed_contract = #{record.isSignedContract,jdbcType=VARCHAR},
+ </if>
+ <if test="record.isSignedAgreement != null" >
+ is_signed_agreement = #{record.isSignedAgreement,jdbcType=VARCHAR},
+ </if>
+ </set>
+ <if test="_parameter != null" >
+ <include refid="Update_By_Example_Where_Clause" />
+ </if>
+ </update>
+ <update id="updateByExample" parameterType="map" >
+ update user
+ set id = #{record.id,jdbcType=INTEGER},
+ agent_id = #{record.agentId,jdbcType=INTEGER},
+ agent_name = #{record.agentName,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ with_pwd = #{record.withPwd,jdbcType=VARCHAR},
+ nick_name = #{record.nickName,jdbcType=VARCHAR},
+ real_name = #{record.realName,jdbcType=VARCHAR},
+ id_card = #{record.idCard,jdbcType=VARCHAR},
+ account_type = #{record.accountType,jdbcType=INTEGER},
+ user_amt = #{record.userAmt,jdbcType=DECIMAL},
+ enable_amt = #{record.enableAmt,jdbcType=DECIMAL},
+ enale_withdraw_amt = #{record.enaleWithdrawAmt,jdbcType=DECIMAL},
+ hk_amt = #{record.hkAmt,jdbcType=DECIMAL},
+ sum_charge_amt = #{record.sumChargeAmt,jdbcType=DECIMAL},
+ sum_buy_amt = #{record.sumBuyAmt,jdbcType=DECIMAL},
+ recom_phone = #{record.recomPhone,jdbcType=VARCHAR},
+ is_lock = #{record.isLock,jdbcType=INTEGER},
+ is_login = #{record.isLogin,jdbcType=INTEGER},
+ reg_time = #{record.regTime,jdbcType=TIMESTAMP},
+ reg_ip = #{record.regIp,jdbcType=VARCHAR},
+ reg_address = #{record.regAddress,jdbcType=VARCHAR},
+ img1_key = #{record.img1Key,jdbcType=VARCHAR},
+ img2_key = #{record.img2Key,jdbcType=VARCHAR},
+ img3_key = #{record.img3Key,jdbcType=VARCHAR},
+ is_active = #{record.isActive,jdbcType=INTEGER},
+ auth_msg = #{record.authMsg,jdbcType=VARCHAR},
+ user_index_amt = #{record.userIndexAmt,jdbcType=DECIMAL},
+ enable_index_amt = #{record.enableIndexAmt,jdbcType=DECIMAL},
+ user_fut_amt = #{record.userFutAmt,jdbcType=DECIMAL},
+ enable_fut_amt = #{record.enableFutAmt,jdbcType=DECIMAL},
+ withdrawal_Pwd = #{record.withdrawalPwd,jdbcType=VARCHAR},
+ trading_amount = #{record.tradingAmount,jdbcType=DECIMAL},
+ is_authorize = #{record.isAuthorize,jdbcType=INTEGER},
+ sgzj = #{record.sgzj,jdbcType=DECIMAL},
+ djzj = #{record.djzj,jdbcType=DECIMAL},
+ is_signed_contract = #{record.isSignedContract,jdbcType=VARCHAR},
+ is_signed_agreement = #{record.isSignedAgreement,jdbcType=VARCHAR}
+ <if test="_parameter != null" >
+ <include refid="Update_By_Example_Where_Clause" />
+ </if>
+ </update>
+
+ <!--修改密码使用的更新-->
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.User" >
+ update user
+ <set >
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="agentName != null" >
+ agent_name = #{agentName,jdbcType=VARCHAR},
+ </if>
+ <if test="phone != null" >
+ phone = #{phone,jdbcType=VARCHAR},
+ </if>
+ <if test="userPwd != null and userPwd != ''" >
+ user_pwd = #{userPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="withPwd != null" >
+ with_pwd = #{withPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="nickName != null" >
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="realName != null" >
+ real_name = #{realName,jdbcType=VARCHAR},
+ </if>
+ <if test="idCard != null" >
+ id_card = #{idCard,jdbcType=VARCHAR},
+ </if>
+ <if test="accountType != null" >
+ account_type = #{accountType,jdbcType=INTEGER},
+ </if>
+ <if test="userAmt != null" >
+ user_amt = #{userAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableAmt != null" >
+ enable_amt = #{enableAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enaleWithdrawAmt != null" >
+ enale_withdraw_amt = #{enaleWithdrawAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="hkAmt != null" >
+ hk_amt = #{hkAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="sumChargeAmt != null" >
+ sum_charge_amt = #{sumChargeAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="sumBuyAmt != null" >
+ sum_buy_amt = #{sumBuyAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="recomPhone != null" >
+ recom_phone = #{recomPhone,jdbcType=VARCHAR},
+ </if>
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="isLogin != null" >
+ is_login = #{isLogin,jdbcType=INTEGER},
+ </if>
+ <if test="regTime != null" >
+ reg_time = #{regTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="regIp != null" >
+ reg_ip = #{regIp,jdbcType=VARCHAR},
+ </if>
+ <if test="regAddress != null" >
+ reg_address = #{regAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="img1Key != null" >
+ img1_key = #{img1Key,jdbcType=VARCHAR},
+ </if>
+ <if test="img2Key != null" >
+ img2_key = #{img2Key,jdbcType=VARCHAR},
+ </if>
+ <if test="img3Key != null" >
+ img3_key = #{img3Key,jdbcType=VARCHAR},
+ </if>
+ <if test="isActive != null" >
+ is_active = #{isActive,jdbcType=INTEGER},
+ </if>
+ <if test="authMsg != null" >
+ auth_msg = #{authMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="userIndexAmt != null" >
+ user_index_amt = #{userIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableIndexAmt != null" >
+ enable_index_amt = #{enableIndexAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="userFutAmt != null" >
+ user_fut_amt = #{userFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="enableFutAmt != null" >
+ enable_fut_amt = #{enableFutAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="withdrawalPwd != null" >
+ withdrawal_Pwd = #{withdrawalPwd,jdbcType=VARCHAR},
+ </if>
+ <if test="tradingAmount != null" >
+ trading_amount = #{tradingAmount,jdbcType=DECIMAL},
+ </if>
+ <if test="isAuthorize != null" >
+ is_authorize = #{isAuthorize,jdbcType=INTEGER},
+ </if>
+ <if test="sgzj != null" >
+ sgzj = #{sgzj,jdbcType=DECIMAL},
+ </if>
+ <if test="djzj != null" >
+ djzj = #{djzj,jdbcType=DECIMAL},
+ </if>
+ <if test="isSignedContract != null" >
+ is_signed_contract = #{isSignedContract,jdbcType=VARCHAR},
+ </if>
+ <if test="isSignedAgreement != null" >
+ is_signed_agreement = #{isSignedAgreement,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateSignedContract">
+ update user set is_signed_contract=#{signedContract,jdbcType=VARCHAR} where id = #{userId,jdbcType=INTEGER}
+ </update>
+ <update id="updateSignedAgreement">
+ update user set is_signed_agreement=#{signedAgreement,jdbcType=VARCHAR} where id = #{userId,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.User" >
+ update user
+ set agent_id = #{agentId,jdbcType=INTEGER},
+ agent_name = #{agentName,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ with_pwd = #{withPwd,jdbcType=VARCHAR},
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ real_name = #{realName,jdbcType=VARCHAR},
+ id_card = #{idCard,jdbcType=VARCHAR},
+ account_type = #{accountType,jdbcType=INTEGER},
+ user_amt = #{userAmt,jdbcType=DECIMAL},
+ enable_amt = #{enableAmt,jdbcType=DECIMAL},
+ enale_withdraw_amt = #{enaleWithdrawAmt,jdbcType=DECIMAL},
+ hk_amt = #{hkAmt,jdbcType=DECIMAL},
+ sum_charge_amt = #{sumChargeAmt,jdbcType=DECIMAL},
+ sum_buy_amt = #{sumBuyAmt,jdbcType=DECIMAL},
+ recom_phone = #{recomPhone,jdbcType=VARCHAR},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ is_login = #{isLogin,jdbcType=INTEGER},
+ reg_time = #{regTime,jdbcType=TIMESTAMP},
+ reg_ip = #{regIp,jdbcType=VARCHAR},
+ reg_address = #{regAddress,jdbcType=VARCHAR},
+ img1_key = #{img1Key,jdbcType=VARCHAR},
+ img2_key = #{img2Key,jdbcType=VARCHAR},
+ img3_key = #{img3Key,jdbcType=VARCHAR},
+ is_active = #{isActive,jdbcType=INTEGER},
+ auth_msg = #{authMsg,jdbcType=VARCHAR},
+ user_index_amt = #{userIndexAmt,jdbcType=DECIMAL},
+ enable_index_amt = #{enableIndexAmt,jdbcType=DECIMAL},
+ user_fut_amt = #{userFutAmt,jdbcType=DECIMAL},
+ enable_fut_amt = #{enableFutAmt,jdbcType=DECIMAL},
+ withdrawal_Pwd = #{withdrawalPwd,jdbcType=VARCHAR},
+ trading_amount = #{tradingAmount,jdbcType=DECIMAL},
+ is_authorize = #{isAuthorize,jdbcType=INTEGER},
+ sgzj = #{sgzj,jdbcType=DECIMAL},
+ djzj = #{djzj,jdbcType=DECIMAL},
+ is_signed_contract = #{record.isSignedContract,jdbcType=VARCHAR},
+ is_signed_agreement = #{record.isSignedAgreement,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+ <select id="findByPhone" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user
+ WHERE phone = #{phoneNum}
+ </select>
+
+ <select id="login" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user
+ WHERE phone = #{phone} and user_pwd = #{userPwd}
+ </select>
+
+ <select id="listByAgent" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user
+ <where>
+ (agent_id = #{searchId} or
+ agent_id in (select a.id FROM agent_user a left join agent_distribution_user d on a.id = d.agent_id WHERE d.parent_id = #{searchId})
+ )
+ <if test="realName != null and realName != '' ">
+ and real_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="phone != null and phone != '' ">
+ and phone like CONCAT('%','${phone}','%')
+ </if>
+ <if test="accountType != null ">
+ and account_type = #{accountType}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="realName != null and realName != '' ">
+ and real_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="phone != null and phone != '' ">
+ and phone like CONCAT('%','${phone}','%')
+ </if>
+ <if test="accountType != null ">
+ and account_type = #{accountType}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <select id="CountUserSize" parameterType="integer" resultType="int">
+ SELECT COUNT(id) FROM user WHERE account_type = #{accountType}
+ </select>
+
+ <select id="CountUserAmt" parameterType="integer" resultType="decimal">
+ SELECT sum(user_amt) FROM user WHERE account_type = #{accountType}
+ </select>
+ <select id="CountEnableAmt" parameterType="integer" resultType="decimal">
+ SELECT sum(enable_amt) FROM user WHERE account_type = #{accountType}
+ </select>
+
+ <update id="updateUserAmt">
+ update `user` set user_amt = user_amt + #{user_amt} where id = #{user_id}
+ </update>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/UserPendingorderMapper.xml b/target/classes/mapper/UserPendingorderMapper.xml
new file mode 100644
index 0000000..ce5cd3d
--- /dev/null
+++ b/target/classes/mapper/UserPendingorderMapper.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.UserPendingorderMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserPendingorder">
+ <id property="id" column="id" jdbcType="INTEGER"/>
+ <result property="userId" column="user_id" jdbcType="INTEGER"/>
+ <result property="stockId" column="stock_id" jdbcType="INTEGER"/>
+ <result property="buyNum" column="buy_num" jdbcType="INTEGER"/>
+ <result property="buyType" column="buy_type" jdbcType="INTEGER"/>
+ <result property="lever" column="lever" jdbcType="INTEGER"/>
+ <result property="profitTarget" column="profit_target" jdbcType="DECIMAL"/>
+ <result property="stopTarget" column="stop_target" jdbcType="DECIMAL"/>
+ <result property="nowPrice" column="now_price" jdbcType="DECIMAL"/>
+ <result property="targetPrice" column="target_price" jdbcType="DECIMAL"/>
+ <result property="addTime" column="add_time" jdbcType="TIMESTAMP"/>
+ <result property="status" column="status" jdbcType="INTEGER"/>
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,user_id,stock_id,
+ buy_num,buy_type,lever,
+ profit_target,stop_target,now_price,
+ target_price,add_time,status
+ </sql>
+</mapper>
diff --git a/target/classes/mapper/UserPositionMapper.xml b/target/classes/mapper/UserPositionMapper.xml
new file mode 100644
index 0000000..20db7a5
--- /dev/null
+++ b/target/classes/mapper/UserPositionMapper.xml
@@ -0,0 +1,650 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserPositionMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserPosition" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_type" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="position_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="nick_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="stock_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_code" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_gid" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="stock_spell" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="buy_order_id" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="buy_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="buy_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="sell_order_id" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="sell_order_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="sell_order_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="profit_target_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="stop_target_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_direction" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="order_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="order_lever" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="order_total_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_spread" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_stay_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_stay_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="all_profit_and_lose" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+
+ <arg column="is_lock" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="lock_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+
+ <arg column="stock_plate" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="spread_rate_price" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="margin_add" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="status" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="lock_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
+
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, position_type, position_sn, user_id, nick_name, agent_id, stock_name, stock_code,
+ stock_gid, stock_spell, buy_order_id, buy_order_time, buy_order_price, sell_order_id,
+ sell_order_time, sell_order_price, profit_target_price, stop_target_price, order_direction,
+ order_num, order_lever, order_total_price, order_fee, order_spread, order_stay_fee,
+ order_stay_days, profit_and_lose, all_profit_and_lose,is_lock,lock_msg,stock_plate,spread_rate_price,margin_add,buy_order_id_index,status,lock_days
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_position
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_position
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.UserPosition" >
+ insert into user_position (id, position_type, position_sn,
+ user_id, nick_name, agent_id,
+ stock_name, stock_code, stock_gid,
+ stock_spell, buy_order_id, buy_order_time,
+ buy_order_price, sell_order_id, sell_order_time,
+ sell_order_price, profit_target_price, stop_target_price,
+ order_direction, order_num, order_lever,
+ order_total_price, order_fee, order_spread,
+ order_stay_fee, order_stay_days, profit_and_lose,
+ all_profit_and_lose, is_lock, lock_msg,stock_plate,spread_rate_price,status,lock_days)
+ values (#{id,jdbcType=INTEGER}, #{positionType,jdbcType=INTEGER}, #{positionSn,jdbcType=VARCHAR},
+ #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR}, #{agentId,jdbcType=INTEGER},
+ #{stockName,jdbcType=VARCHAR}, #{stockCode,jdbcType=VARCHAR}, #{stockGid,jdbcType=VARCHAR},
+ #{stockSpell,jdbcType=VARCHAR}, #{buyOrderId,jdbcType=VARCHAR}, #{buyOrderTime,jdbcType=TIMESTAMP},
+ #{buyOrderPrice,jdbcType=DECIMAL}, #{sellOrderId,jdbcType=VARCHAR}, #{sellOrderTime,jdbcType=TIMESTAMP},
+ #{sellOrderPrice,jdbcType=DECIMAL}, #{profitTargetPrice,jdbcType=DECIMAL}, #{stopTargetPrice,jdbcType=DECIMAL},
+ #{orderDirection,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{orderLever,jdbcType=INTEGER},
+ #{orderTotalPrice,jdbcType=DECIMAL}, #{orderFee,jdbcType=DECIMAL}, #{orderSpread,jdbcType=DECIMAL},
+ #{orderStayFee,jdbcType=DECIMAL}, #{orderStayDays,jdbcType=INTEGER}, #{profitAndLose,jdbcType=DECIMAL},
+ #{allProfitAndLose,jdbcType=DECIMAL}, #{isLock,jdbcType=INTEGER}, #{lockMsg,jdbcType=VARCHAR},
+ #{stockPlate,jdbcType=VARCHAR},#{spreadRatePrice,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER},#{lockDays,jdbcType=INTEGER}
+ )
+ </insert>
+
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserPosition" >
+ insert into user_position
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="positionType != null" >
+ position_type,
+ </if>
+ <if test="positionSn != null" >
+ position_sn,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="nickName != null" >
+ nick_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="stockName != null" >
+ stock_name,
+ </if>
+ <if test="stockCode != null" >
+ stock_code,
+ </if>
+ <if test="stockGid != null" >
+ stock_gid,
+ </if>
+ <if test="stockSpell != null" >
+ stock_spell,
+ </if>
+ <if test="buyOrderId != null" >
+ buy_order_id,
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time,
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price,
+ </if>
+ <if test="sellOrderId != null" >
+ sell_order_id,
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time,
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price,
+ </if>
+ <if test="profitTargetPrice != null" >
+ profit_target_price,
+ </if>
+ <if test="stopTargetPrice != null" >
+ stop_target_price,
+ </if>
+ <if test="orderDirection != null" >
+ order_direction,
+ </if>
+ <if test="orderNum != null" >
+ order_num,
+ </if>
+ <if test="orderLever != null" >
+ order_lever,
+ </if>
+ <if test="orderTotalPrice != null" >
+ order_total_price,
+ </if>
+ <if test="orderFee != null" >
+ order_fee,
+ </if>
+ <if test="orderSpread != null" >
+ order_spread,
+ </if>
+ <if test="orderStayFee != null" >
+ order_stay_fee,
+ </if>
+ <if test="orderStayDays != null" >
+ order_stay_days,
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose,
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose,
+ </if>
+
+ <if test="isLock != null" >
+ is_lock,
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg,
+ </if>
+ <if test="stockPlate != null" >
+ stock_plate,
+ </if>
+ <if test="spreadRatePrice != null" >
+ spread_rate_price,
+ </if>
+ <if test="status != null" >
+ status,
+ </if>
+ <if test="lockDays != null" >
+ lock_days,
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="positionType != null" >
+ #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="stockName != null" >
+ #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="stockSpell != null" >
+ #{stockSpell,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderId != null" >
+ #{buyOrderId,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderId != null" >
+ #{sellOrderId,jdbcType=VARCHAR},
+ </if>
+ <if test="sellOrderTime != null" >
+ #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="profitTargetPrice != null" >
+ #{profitTargetPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="stopTargetPrice != null" >
+ #{stopTargetPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="orderLever != null" >
+ #{orderLever,jdbcType=INTEGER},
+ </if>
+ <if test="orderTotalPrice != null" >
+ #{orderTotalPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderSpread != null" >
+ #{orderSpread,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayFee != null" >
+ #{orderStayFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayDays != null" >
+ #{orderStayDays,jdbcType=INTEGER},
+ </if>
+ <if test="profitAndLose != null" >
+ #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+
+ <if test="isLock != null" >
+ #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="lockMsg != null" >
+ #{lockMsg,jdbcType=VARCHAR},
+ </if>
+
+ <if test="stockPlate != null" >
+ #{stockPlate,jdbcType=VARCHAR},
+ </if>
+ <if test="spreadRatePrice != null" >
+ #{spreadRatePrice,jdbcType=DECIMAL},
+ </if>
+ <if test="status != null" >
+ #{status,jdbcType=INTEGER},
+ </if>
+ <if test="lockDays != null" >
+ #{lockDays,jdbcType=INTEGER},
+ </if>
+
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserPosition" >
+ update user_position
+ <set >
+ <if test="positionType != null" >
+ position_type = #{positionType,jdbcType=INTEGER},
+ </if>
+ <if test="positionSn != null" >
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ </if>
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="stockName != null" >
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ </if>
+ <if test="stockCode != null" >
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ </if>
+ <if test="stockGid != null" >
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ </if>
+ <if test="stockSpell != null" >
+ stock_spell = #{stockSpell,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderId != null" >
+ buy_order_id = #{buyOrderId,jdbcType=VARCHAR},
+ </if>
+ <if test="buyOrderTime != null" >
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="buyOrderPrice != null" >
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="sellOrderId != null" >
+ sell_order_id = #{sellOrderId,jdbcType=VARCHAR},
+ </if>
+ <if test="sellOrderTime != null" >
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="sellOrderPrice != null" >
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="profitTargetPrice != null" >
+ profit_target_price = #{profitTargetPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="stopTargetPrice != null" >
+ stop_target_price = #{stopTargetPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderDirection != null" >
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ </if>
+ <if test="orderNum != null" >
+ order_num = #{orderNum,jdbcType=INTEGER},
+ </if>
+ <if test="orderLever != null" >
+ order_lever = #{orderLever,jdbcType=INTEGER},
+ </if>
+ <if test="orderTotalPrice != null" >
+ order_total_price = #{orderTotalPrice,jdbcType=DECIMAL},
+ </if>
+ <if test="orderFee != null" >
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderSpread != null" >
+ order_spread = #{orderSpread,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayFee != null" >
+ order_stay_fee = #{orderStayFee,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStayDays != null" >
+ order_stay_days = #{orderStayDays,jdbcType=INTEGER},
+ </if>
+ <if test="profitAndLose != null" >
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ </if>
+ <if test="allProfitAndLose != null" >
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ </if>
+
+ <if test="isLock != null" >
+ is_lock = #{isLock,jdbcType=INTEGER},
+ </if>
+ <if test="lockMsg != null" >
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ </if>
+ <if test="stockPlate != null" >
+ stock_plate = #{stockPlate,jdbcType=VARCHAR},
+ </if>
+ <if test="spreadRatePrice != null" >
+ spread_rate_price = #{spreadRatePrice,jdbcType=DECIMAL},
+ </if>
+ <if test="marginAdd != null" >
+ margin_add = #{marginAdd,jdbcType=DECIMAL},
+ </if>
+ <if test="status != null" >
+ status = #{status,jdbcType=INTEGER},
+ </if>
+ <if test="lockDays != null" >
+ lock_days = #{lockDays,jdbcType=INTEGER},
+ </if>
+
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserPosition" >
+ update user_position
+ set position_type = #{positionType,jdbcType=INTEGER},
+ position_sn = #{positionSn,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=INTEGER},
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ stock_name = #{stockName,jdbcType=VARCHAR},
+ stock_code = #{stockCode,jdbcType=VARCHAR},
+ stock_gid = #{stockGid,jdbcType=VARCHAR},
+ stock_spell = #{stockSpell,jdbcType=VARCHAR},
+ buy_order_id = #{buyOrderId,jdbcType=VARCHAR},
+ buy_order_time = #{buyOrderTime,jdbcType=TIMESTAMP},
+ buy_order_price = #{buyOrderPrice,jdbcType=DECIMAL},
+ sell_order_id = #{sellOrderId,jdbcType=VARCHAR},
+ sell_order_time = #{sellOrderTime,jdbcType=TIMESTAMP},
+ sell_order_price = #{sellOrderPrice,jdbcType=DECIMAL},
+ profit_target_price = #{profitTargetPrice,jdbcType=DECIMAL},
+ stop_target_price = #{stopTargetPrice,jdbcType=DECIMAL},
+ order_direction = #{orderDirection,jdbcType=VARCHAR},
+ order_num = #{orderNum,jdbcType=INTEGER},
+ order_lever = #{orderLever,jdbcType=INTEGER},
+ order_total_price = #{orderTotalPrice,jdbcType=DECIMAL},
+ order_fee = #{orderFee,jdbcType=DECIMAL},
+ order_spread = #{orderSpread,jdbcType=DECIMAL},
+ order_stay_fee = #{orderStayFee,jdbcType=DECIMAL},
+ order_stay_days = #{orderStayDays,jdbcType=INTEGER},
+ profit_and_lose = #{profitAndLose,jdbcType=DECIMAL},
+ all_profit_and_lose = #{allProfitAndLose,jdbcType=DECIMAL},
+ is_lock = #{isLock,jdbcType=INTEGER},
+ lock_msg = #{lockMsg,jdbcType=VARCHAR},
+ stock_plate = #{stockPlate,jdbcType=VARCHAR},
+ buy_order_id_index = #{buyOrderIdIndex,jdbcType=DECIMAL},
+ spread_rate_price = #{spreadRatePrice,jdbcType=DECIMAL},
+ status = #{status,jdbcType=INTEGER},
+ lock_days = #{lockDays,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+ <select id="findPositionBySn" resultMap="BaseResultMap" parameterType="string">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ WHERE position_sn = #{positionSn}
+ </select>
+
+ <select id="findMyPositionByCodeAndSpell" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ <where>
+ user_id = #{uid}
+ <if test="state == 1">
+ and sell_order_id is null and (status = 1 or status is null)
+ </if>
+ <if test="state == 2">
+ and status = 2
+ </if>
+ <if test="state == 0">
+ and status = 0
+ </if>
+ <if test="state != null and state != 0 and state != 1 and state != 2">
+ and status = #{state, jdbcType=INTEGER}
+ </if>
+ <if test="stockCode != null and stockCode != '' ">
+ and stock_code like CONCAT('%','${stockCode}','%')
+ </if>
+ <if test="stockSpell != null and stockSpell != '' ">
+ and stock_spell like CONCAT('%','${stockSpell}','%')
+ </if>
+ </where>
+ <choose>
+ <when test="state == 2">
+ ORDER BY sell_order_time DESC, id DESC
+ </when>
+ <otherwise>
+ ORDER BY id DESC
+ </otherwise>
+ </choose>
+ </select>
+
+ <select id="findPositionByUserIdAndSellIdIsNull" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ WHERE user_id = #{userId} and sell_order_id is null
+ order by id desc
+ </select>
+
+ <select id="synchronizePrice" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ WHERE sell_order_id is null
+ </select>
+
+
+ <select id="listByAgent" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ <where>
+ <if test="searchId != null ">
+ and agent_id = #{searchId}
+ </if>
+ <if test="state != null">
+ and status = #{state, jdbcType=INTEGER}
+ </if>
+ <if test="userId != null and userId != '' ">
+ and user_id = #{userId}
+ </if>
+ <if test="positionSn != null and positionSn != '' ">
+ and position_sn like CONCAT('%','${positionSn}','%')
+ </if>
+ <if test="positionType != null ">
+ and position_type = #{positionType}
+ </if>
+ <if test="beginTime != null ">
+ and sell_order_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null ">
+ and sell_order_time <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+
+ <select id="findAllStayPosition" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ WHERE sell_order_id is NULL
+ </select>
+
+
+ <select id="findDistinctUserIdList" resultType="integer" >
+ SELECT DISTINCT user_id FROM user_position WHERE sell_order_id is null
+ </select>
+
+ <select id="CountPositionNum" parameterType="map" resultType="integer">
+ SELECT COUNT(id) FROM user_position
+ <where>
+ position_type = #{accountType}
+ <if test="state == 1">
+ and sell_order_id is null
+ </if>
+ <if test="state == 2">
+ and sell_order_id is not null
+ </if>
+ </where>
+ </select>
+
+
+
+ <select id="CountPositionProfitAndLose" resultType="decimal" parameterType="integer">
+ SELECT sum(profit_and_lose) FROM user_position
+ WHERE sell_order_id is not null
+ </select>
+
+ <select id="CountPositionAllProfitAndLose" resultType="decimal" parameterType="integer">
+ SELECT sum(all_profit_and_lose) FROM user_position
+ WHERE sell_order_id is not null
+ </select>
+
+
+ <delete id="deleteByUserId" parameterType="integer">
+ DELETE FROM user_position WHERE user_id = #{userId}
+ </delete>
+
+
+ <select id="findPositionByStockCodeAndTimes" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ WHERE stock_code = #{stockCode} and user_id = #{userId}
+ and buy_order_time <![CDATA[>=]]> #{minuteTimes}
+ </select>
+
+
+
+ <select id="findPositionNumByTimes" parameterType="map" resultType="integer">
+ SELECT COALESCE(SUM(order_num),0)
+ FROM user_position
+ WHERE user_id = #{userId}
+ and buy_order_time <![CDATA[>=]]> #{beginDate}
+ </select>
+
+ <!--股票入仓最新top列表-->
+ <select id="findPositionTopList" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ <where>
+ 1=1
+ </where>
+ ORDER BY id DESC
+ limit #{pageSize}
+ </select>
+
+ <!--根据股票代码查询用户最早入仓股票-->
+ <select id="findUserPositionByCode" parameterType="integer" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_position
+ <where>
+ user_id = #{userId}
+ and stock_code = #{stockCode}
+ and sell_order_price is null
+ </where>
+ ORDER BY id ASC
+ limit 1
+ </select>
+ <select id="getDailyProfitByMonth" parameterType="map" resultType="java.util.Map">
+ SELECT
+ DATE_FORMAT(buy_order_time, '%Y-%m-%d') AS recordDate,
+ CAST(
+ SUM(
+ (
+ COALESCE (sell_order_price, 0) - COALESCE (buy_order_price, 0)
+ ) * COALESCE (order_num, 1) - COALESCE (order_fee, 0) - COALESCE (order_spread, 0)
+ ) AS CHAR
+ ) AS profit
+ FROM
+ user_position
+ WHERE
+ DATE_FORMAT(buy_order_time, '%Y-%m') = #{yearMonth}
+ AND status = 2
+ AND user_id = #{userId}
+ GROUP BY DATE_FORMAT(buy_order_time, '%Y-%m-%d')
+ </select>
+
+</mapper>
+
diff --git a/target/classes/mapper/UserRechargeMapper.xml b/target/classes/mapper/UserRechargeMapper.xml
new file mode 100644
index 0000000..74819af
--- /dev/null
+++ b/target/classes/mapper/UserRechargeMapper.xml
@@ -0,0 +1,293 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserRechargeMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserRecharge" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="nick_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="order_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="pay_sn" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="pay_channel" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="pay_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="order_status" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="order_desc" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="add_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="pay_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="pay_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, nick_name, agent_id, order_sn, pay_sn, pay_channel, pay_amt, order_status,
+ order_desc, add_time, pay_time, pay_id
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_recharge
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_recharge
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserRecharge" >
+ insert into user_recharge (id, user_id, nick_name,
+ agent_id, order_sn, pay_sn,
+ pay_channel, pay_amt, order_status,
+ order_desc, add_time, pay_time,pay_id
+ )
+ values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR},
+ #{agentId,jdbcType=INTEGER}, #{orderSn,jdbcType=VARCHAR}, #{paySn,jdbcType=VARCHAR},
+ #{payChannel,jdbcType=VARCHAR}, #{payAmt,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER},
+ #{orderDesc,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, #{payId,jdbcType=INTEGER}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserRecharge" >
+ insert into user_recharge
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="nickName != null" >
+ nick_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="orderSn != null" >
+ order_sn,
+ </if>
+ <if test="paySn != null" >
+ pay_sn,
+ </if>
+ <if test="payChannel != null" >
+ pay_channel,
+ </if>
+ <if test="payAmt != null" >
+ pay_amt,
+ </if>
+ <if test="orderStatus != null" >
+ order_status,
+ </if>
+ <if test="orderDesc != null" >
+ order_desc,
+ </if>
+ <if test="addTime != null" >
+ add_time,
+ </if>
+ <if test="payTime != null" >
+ pay_time,
+ </if>
+ <if test="payId != null" >
+ pay_id,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="orderSn != null" >
+ #{orderSn,jdbcType=VARCHAR},
+ </if>
+ <if test="paySn != null" >
+ #{paySn,jdbcType=VARCHAR},
+ </if>
+ <if test="payChannel != null" >
+ #{payChannel,jdbcType=VARCHAR},
+ </if>
+ <if test="payAmt != null" >
+ #{payAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStatus != null" >
+ #{orderStatus,jdbcType=INTEGER},
+ </if>
+ <if test="orderDesc != null" >
+ #{orderDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="payTime != null" >
+ #{payTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="payId != null" >
+ #{payId,jdbcType=INTEGER},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserRecharge" >
+ update user_recharge
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="orderSn != null" >
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ </if>
+ <if test="paySn != null" >
+ pay_sn = #{paySn,jdbcType=VARCHAR},
+ </if>
+ <if test="payChannel != null" >
+ pay_channel = #{payChannel,jdbcType=VARCHAR},
+ </if>
+ <if test="payAmt != null" >
+ pay_amt = #{payAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="orderStatus != null" >
+ order_status = #{orderStatus,jdbcType=INTEGER},
+ </if>
+ <if test="orderDesc != null" >
+ order_desc = #{orderDesc,jdbcType=VARCHAR},
+ </if>
+ <if test="addTime != null" >
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="payTime != null" >
+ pay_time = #{payTime,jdbcType=TIMESTAMP},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserRecharge" >
+ update user_recharge
+ set user_id = #{userId,jdbcType=INTEGER},
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ pay_sn = #{paySn,jdbcType=VARCHAR},
+ pay_channel = #{payChannel,jdbcType=VARCHAR},
+ pay_amt = #{payAmt,jdbcType=DECIMAL},
+ order_status = #{orderStatus,jdbcType=INTEGER},
+ order_desc = #{orderDesc,jdbcType=VARCHAR},
+ add_time = #{addTime,jdbcType=TIMESTAMP},
+ pay_time = #{payTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+
+
+ <select id="checkInMoney" resultType="integer" parameterType="map">
+ SELECT COUNT(*) FROM user_recharge
+ WHERE user_id = #{userId}
+ and order_status = #{status}
+ and add_time > date_sub(now(), interval 1 hour)
+ </select>
+
+
+ <select id="findUserRechargeByOrderSn" parameterType="string" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_recharge
+ WHERE order_sn = #{orderSn}
+ </select>
+
+
+ <select id="findUserChargeList" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_recharge
+ <where>
+ user_id = #{uid}
+ <if test="payChannel != null and payChannel != '' ">
+ and pay_channel = #{payChannel}
+ </if>
+ <if test="orderStatus != null and orderStatus != '' ">
+ and order_status = #{orderStatus}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <select id="listByAdmin" parameterType="map" resultType="com.nq.pojo.UserRecharge">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_recharge
+ where agent_id != 1
+ <if test="agentId != null">
+ and ( agent_id = #{agentId}
+ or agent_id in (
+ select agent_user.id
+ FROM agent_user
+ where parent_id = ${agentId}
+ )
+ )
+ </if>
+ <if test="userId != null">
+ and user_id = #{userId}
+ </if>
+ <if test="realName != null and realName != '' ">
+ and nick_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="state != null">
+ and order_status = #{state}
+ </if>
+
+ <if test="begin_time != null ">
+ and pay_time <![CDATA[>=]]> #{begin_time}
+ </if>
+ <if test="end_time != null ">
+ and pay_time <![CDATA[<=]]> #{end_time}
+ </if>
+ ORDER BY id DESC
+ </select>
+
+
+ <delete id="deleteByUserId" parameterType="integer" >
+ DELETE FROM user_recharge WHERE user_id = #{userId}
+ </delete>
+
+
+ <select id="listByAgent" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_recharge
+ <where>
+ agent_id = #{searchId}
+ <if test="realName != null and realName != '' ">
+ and nick_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="payChannel != null and payChannel != '' ">
+ and pay_channel = #{payChannel}
+ </if>
+ <if test="state != null">
+ and order_status = #{state}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+
+ <!--累计充值金额-->
+ <select id="CountChargeSumAmt" resultType="decimal" parameterType="integer">
+ SELECT sum(pay_amt) FROM user_recharge WHERE order_status = #{chargeState}
+ </select>
+
+ <!--今日充值金额-->
+ <select id="CountTotalRechargeAmountByTime" parameterType="integer" resultType="decimal">
+ select sum(IFNULL(pay_amt,0)) pay_amt from user_recharge where order_status = #{chargeState} and TO_DAYS(pay_time) = TO_DAYS(NOW())
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/UserStockSubscribeMapper.xml b/target/classes/mapper/UserStockSubscribeMapper.xml
new file mode 100644
index 0000000..2707b7f
--- /dev/null
+++ b/target/classes/mapper/UserStockSubscribeMapper.xml
@@ -0,0 +1,254 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.nq.dao.UserStockSubscribeMapper">
+
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserStockSubscribe">
+ <result column="id" property="id"/>
+ <result column="order_no" property="orderNo"/>
+ <result column="user_id" property="userId"/>
+ <result column="real_name" property="realName"/>
+ <result column="phone" property="phone"/>
+ <result column="agent_id" property="agentId"/>
+ <result column="agent_name" property="agentName"/>
+ <result column="new_code" property="newCode"/>
+ <result column="new_name" property="newName"/>
+ <result column="new_type" property="newType"/>
+ <result column="bond" property="bond"/>
+ <result column="buy_price" property="buyPrice"/>
+ <result column="apply_nums" property="applyNums"/>
+ <result column="apply_number" property="applyNumber"/>
+ <result column="status" property="status"/>
+ <result column="add_time" property="addTime"/>
+ <result column="submit_time" property="submitTime"/>
+ <result column="end_time" property="endTime"/>
+ <result column="fix_time" property="fixTime"/>
+ <result column="remarks" property="remarks"/>
+ <result column="type" property="type"/>
+ <result column="discount_price" property="discountPrice"/>
+
+ </resultMap>
+
+ <sql id="Base_Column_List">
+ id,
+ order_no,
+ user_id,
+ real_name,
+ phone,
+ agent_id,
+ agent_name,
+ new_code,
+ new_name,
+ new_type,
+ bond,
+ buy_price,
+ apply_nums,
+ apply_number,
+ status,
+ add_time,
+ submit_time,
+ end_time,
+ fix_time,
+ remarks,
+ discount_price,
+ type
+ </sql>
+
+ <insert id="insert1" useGeneratedKeys="true" keyColumn="id" keyProperty="id"
+ parameterType="com.nq.pojo.UserStockSubscribe">
+ INSERT INTO user_stock_subscribe
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test='null != userId'>
+ user_id,
+ </if>
+ <if test='null != realName'>
+ real_name,
+ </if>
+ <if test='null != phone'>
+ phone,
+ </if>
+ <if test='null != agentId'>
+ agent_id,
+ </if>
+ <if test='null != agentName'>
+ agent_name,
+ </if>
+ <if test='null != newCode'>
+ new_code,
+ </if>
+ <if test='null != newName'>
+ new_name,
+ </if>
+ <if test='null != newType'>
+ new_type,
+ </if>
+ <if test='null != bond'>
+ bond,
+
+ </if>
+ <if test='null != buyPrice'>
+ buy_price,
+ </if>
+ <if test='null != applyNums'>
+ apply_nums,
+ </if>
+ <if test='null != applyNumber'>
+ apply_number,
+ </if>
+
+ <if test='null != status'>
+ status,
+ </if>
+ <if test='null != addTime'>
+ add_time,
+ </if>
+ <if test='null != submitTime'>
+ submit_time,
+ </if>
+ <if test='null != endTime'>
+ end_time,
+ </if>
+ <if test='null != fixTime'>
+ fix_time,
+ </if>
+ <if test='null != remarks'>
+ remarks
+ </if>
+ <if test='null != type'>
+ type
+ </if>
+ <if test='null != discountPrice'>
+ discount_price
+ </if>
+
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test='null != userId'>
+ #{userId},
+ </if>
+ <if test='null != realName'>
+ #{realName},
+ </if>
+ <if test='null != phone'>
+ #{phone},
+ </if>
+ <if test='null != agentId'>
+ #{agentId},
+ </if>
+ <if test='null != agentName'>
+ #{agentName},
+ </if>
+ <if test='null != newCode'>
+ #{newCode},
+ </if>
+ <if test='null != newName'>
+ #{newName},
+ </if>
+ <if test='null != newType'>
+ #{newType},
+ </if>
+ <if test='null != bond'>
+ #{bond},
+ </if>
+ <if test='null != buyPrice'>
+ #{buyPrice},
+ </if>
+ <if test='null != applyNums'>
+ #{applyNums},
+ </if>
+ <if test='null != applyNumber'>
+ #{applyNumber},
+ </if>
+
+ <if test='null != status'>
+ #{status},
+ </if>
+ <if test='null != addTime'>
+ #{addTime},
+ </if>
+ <if test='null != submitTime'>
+ #{submitTime},
+ </if>
+ <if test='null != endTime'>
+ #{endTime},
+ </if>
+ <if test='null != fixTime'>
+ #{fixTime},
+ </if>
+ <if test='null != remarks'>
+ #{remarks}
+ </if>
+ <if test='null != type'>
+ #{type}
+ </if>
+ <if test='null != discountPrice'>
+ #{discountPrice}
+ </if>
+
+ </trim>
+ </insert>
+
+ <delete id="delete1">
+ DELETE FROM user_stock_subscribe
+ WHERE id = #{id}
+ </delete>
+
+ <update id="update1" parameterType="com.nq.pojo.UserStockSubscribe">
+ UPDATE user_stock_subscribe
+ <set>
+ <if test='null != userId'>user_id = #{userId},</if>
+ <if test='null != realName'>real_name = #{realName},</if>
+ <if test='null != phone'>phone = #{phone},</if>
+ <if test='null != agentId'>agent_id = #{agentId},</if>
+ <if test='null != agentName'>agent_name = #{agentName},</if>
+ <if test='null != newCode'>new_code = #{newCode},</if>
+ <if test='null != newName'>new_name = #{newName},</if>
+ <if test='null != newType'>new_type = #{newType},</if>
+ <if test='null != bond'>bond = #{bond},</if>
+ <if test='null != buyPrice'>buy_price = #{buyPrice},</if>
+ <if test='null != applyNums'>apply_nums = #{applyNums},</if>
+ <if test='null != applyNumber'>apply_number = #{applyNumber},</if>
+ <if test='null != status'>status = #{status},</if>
+ <if test='null != addTime'>add_time = #{addTime},</if>
+ <if test='null != submitTime'>submit_time = #{submitTime},</if>
+ <if test='null != endTime'>end_time = #{endTime},</if>
+ <if test='null != fixTime'>fix_time = #{fixTime},</if>
+ <if test='null != remarks'>remarks = #{remarks}</if>
+ <if test='null != type'>type = #{type}</if>
+ <if test='null != discountPrice'>type = #{discountPrice}</if>
+ </set>
+ WHERE id = #{id}
+ </update>
+
+
+ <select id="load" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_stock_subscribe
+ WHERE id = #{id}
+ </select>
+
+ <select id="pageList" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_stock_subscribe WHERE `type` IN (1,2)
+ <if test="keyword != null and keyword != ''">
+ and (user_id = #{keyword} or real_name like CONCAT('%',#{keyword},'%') or phone like CONCAT('%',#{keyword},'%'))
+ </if>
+ order by id desc
+ </select>
+
+ <select id="pageListCount" resultType="java.lang.Integer">
+ SELECT count(1)
+ FROM user_stock_subscribe
+ </select>
+
+ <!--查询用户最新新股申购数据-->
+ <select id="getOneSubscribeByUserId" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_stock_subscribe
+ WHERE phone = #{phone} order by id
+ </select>
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mapper/UserWithdrawMapper.xml b/target/classes/mapper/UserWithdrawMapper.xml
new file mode 100644
index 0000000..c4997e9
--- /dev/null
+++ b/target/classes/mapper/UserWithdrawMapper.xml
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.nq.dao.UserWithdrawMapper" >
+ <resultMap id="BaseResultMap" type="com.nq.pojo.UserWithdraw" >
+ <constructor >
+ <idArg column="id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="user_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="nick_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="agent_id" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="with_amt" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="apply_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="trans_time" jdbcType="TIMESTAMP" javaType="java.util.Date" />
+ <arg column="with_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_no" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_name" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="bank_address" jdbcType="VARCHAR" javaType="java.lang.String" />
+ <arg column="with_status" jdbcType="INTEGER" javaType="java.lang.Integer" />
+ <arg column="with_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
+ <arg column="with_msg" jdbcType="VARCHAR" javaType="java.lang.String" />
+ </constructor>
+ </resultMap>
+ <sql id="Base_Column_List" >
+ id, user_id, nick_name, agent_id, with_amt, apply_time, trans_time, with_name, bank_no,
+ bank_name, bank_address, with_status, with_fee, with_msg
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+ select
+ <include refid="Base_Column_List" />
+ from user_withdraw
+ where id = #{id,jdbcType=INTEGER}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+ delete from user_withdraw
+ where id = #{id,jdbcType=INTEGER}
+ </delete>
+ <insert id="insert" parameterType="com.nq.pojo.UserWithdraw" >
+ insert into user_withdraw (id, user_id, nick_name,
+ agent_id, with_amt, apply_time,
+ trans_time, with_name, bank_no,
+ bank_name, bank_address, with_status,
+ with_fee, with_msg)
+ values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR},
+ #{agentId,jdbcType=INTEGER}, #{withAmt,jdbcType=DECIMAL}, #{applyTime,jdbcType=TIMESTAMP},
+ #{transTime,jdbcType=TIMESTAMP}, #{withName,jdbcType=VARCHAR}, #{bankNo,jdbcType=VARCHAR},
+ #{bankName,jdbcType=VARCHAR}, #{bankAddress,jdbcType=VARCHAR}, #{withStatus,jdbcType=INTEGER},
+ #{withFee,jdbcType=DECIMAL}, #{withMsg,jdbcType=VARCHAR})
+ </insert>
+ <insert id="insertSelective" parameterType="com.nq.pojo.UserWithdraw" >
+ insert into user_withdraw
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="userId != null" >
+ user_id,
+ </if>
+ <if test="nickName != null" >
+ nick_name,
+ </if>
+ <if test="agentId != null" >
+ agent_id,
+ </if>
+ <if test="withAmt != null" >
+ with_amt,
+ </if>
+ <if test="applyTime != null" >
+ apply_time,
+ </if>
+ <if test="transTime != null" >
+ trans_time,
+ </if>
+ <if test="withName != null" >
+ with_name,
+ </if>
+ <if test="bankNo != null" >
+ bank_no,
+ </if>
+ <if test="bankName != null" >
+ bank_name,
+ </if>
+ <if test="bankAddress != null" >
+ bank_address,
+ </if>
+ <if test="withStatus != null" >
+ with_status,
+ </if>
+ <if test="withFee != null" >
+ with_fee,
+ </if>
+ <if test="withMsg != null" >
+ with_msg,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=INTEGER},
+ </if>
+ <if test="userId != null" >
+ #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="withAmt != null" >
+ #{withAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="applyTime != null" >
+ #{applyTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="transTime != null" >
+ #{transTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="withName != null" >
+ #{withName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankNo != null" >
+ #{bankNo,jdbcType=VARCHAR},
+ </if>
+ <if test="bankName != null" >
+ #{bankName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankAddress != null" >
+ #{bankAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="withStatus != null" >
+ #{withStatus,jdbcType=INTEGER},
+ </if>
+ <if test="withFee != null" >
+ #{withFee,jdbcType=DECIMAL},
+ </if>
+ <if test="withMsg != null" >
+ #{withMsg,jdbcType=VARCHAR},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.UserWithdraw" >
+ update user_withdraw
+ <set >
+ <if test="userId != null" >
+ user_id = #{userId,jdbcType=INTEGER},
+ </if>
+ <if test="nickName != null" >
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ </if>
+ <if test="agentId != null" >
+ agent_id = #{agentId,jdbcType=INTEGER},
+ </if>
+ <if test="withAmt != null" >
+ with_amt = #{withAmt,jdbcType=DECIMAL},
+ </if>
+ <if test="applyTime != null" >
+ apply_time = #{applyTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="transTime != null" >
+ trans_time = #{transTime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="withName != null" >
+ with_name = #{withName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankNo != null" >
+ bank_no = #{bankNo,jdbcType=VARCHAR},
+ </if>
+ <if test="bankName != null" >
+ bank_name = #{bankName,jdbcType=VARCHAR},
+ </if>
+ <if test="bankAddress != null" >
+ bank_address = #{bankAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="withStatus != null" >
+ with_status = #{withStatus,jdbcType=INTEGER},
+ </if>
+ <if test="withFee != null" >
+ with_fee = #{withFee,jdbcType=DECIMAL},
+ </if>
+ <if test="withMsg != null" >
+ with_msg = #{withMsg,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.nq.pojo.UserWithdraw" >
+ update user_withdraw
+ set user_id = #{userId,jdbcType=INTEGER},
+ nick_name = #{nickName,jdbcType=VARCHAR},
+ agent_id = #{agentId,jdbcType=INTEGER},
+ with_amt = #{withAmt,jdbcType=DECIMAL},
+ apply_time = #{applyTime,jdbcType=TIMESTAMP},
+ trans_time = #{transTime,jdbcType=TIMESTAMP},
+ with_name = #{withName,jdbcType=VARCHAR},
+ bank_no = #{bankNo,jdbcType=VARCHAR},
+ bank_name = #{bankName,jdbcType=VARCHAR},
+ bank_address = #{bankAddress,jdbcType=VARCHAR},
+ with_status = #{withStatus,jdbcType=INTEGER},
+ with_fee = #{withFee,jdbcType=DECIMAL},
+ with_msg = #{withMsg,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+ </update>
+
+
+
+ <select id="findUserWithList" parameterType="map" resultMap="BaseResultMap">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_withdraw
+ <where>
+ user_id = #{uid}
+ <if test="withStatus != null and withStatus != '' ">
+ and with_status = #{withStatus}
+ </if>
+ </where>
+ order by id desc
+ </select>
+
+
+
+
+ <select id="listByAgent" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_withdraw
+ <where>
+ agent_id = #{searchId}
+ <if test="realName != null and realName != '' ">
+ and nick_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="state != null">
+ and with_status = #{state}
+ </if>
+ </where>
+ ORDER BY id DESC
+ </select>
+
+ <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">
+ SELECT
+ <include refid="Base_Column_List"/>
+ FROM user_withdraw
+ where agent_id != 1
+ <if test="agentId != null">
+ and ( agent_id = #{agentId}
+ or agent_id in (
+ select agent_user.id
+ FROM agent_user
+ where parent_id = ${agentId}
+ )
+ )
+ </if>
+ <if test="userId != null">
+ and user_id = #{userId}
+ </if>
+ <if test="realName != null and realName != '' ">
+ and nick_name like CONCAT('%','${realName}','%')
+ </if>
+ <if test="state != null">
+ and with_status = #{state}
+ </if>
+ <if test="beginTime != null and beginTime != '' ">
+ and trans_time <![CDATA[>=]]> #{beginTime}
+ </if>
+ <if test="endTime != null and endTime != '' ">
+ and trans_time <![CDATA[<=]]> #{endTime}
+ </if>
+ ORDER BY id DESC
+ </select>
+
+
+ <!--累计提现金额-->
+ <select id="CountSpWithSumAmtByState" parameterType="integer" resultType="decimal">
+ SELECT sum(with_amt) FROM user_withdraw WHERE with_status = #{withState}
+ </select>
+
+ <!--今日提现金额-->
+ <select id="CountSpWithSumAmTodaytByState" parameterType="integer" resultType="decimal">
+ SELECT sum(with_amt) FROM user_withdraw WHERE with_status = #{withState} and TO_DAYS(trans_time) = TO_DAYS(NOW())
+ </select>
+
+
+ <delete id="deleteByUserId" parameterType="integer">
+ DELETE FROM user_withdraw WHERE user_id = #{userId}
+ </delete>
+
+
+</mapper>
\ No newline at end of file
diff --git a/target/classes/mybatis/mybatis-config.xml b/target/classes/mybatis/mybatis-config.xml
new file mode 100644
index 0000000..ac47c03
--- /dev/null
+++ b/target/classes/mybatis/mybatis-config.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE configuration
+PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-config.dtd">
+<configuration>
+ <!-- 全局参数 -->
+ <settings>
+ <!-- 使全局的映射器启用或禁用缓存 -->
+ <setting name="cacheEnabled" value="true" />
+ <!-- 允许JDBC 支持自动生成主键 -->
+ <setting name="useGeneratedKeys" value="true" />
+ <!-- 配置默认的执行器.SIMPLE就是普通执行器;REUSE执行器会重用预处理语句(prepared statements);BATCH执行器将重用语句并执行批量更新 -->
+ <setting name="defaultExecutorType" value="SIMPLE" />
+ <!-- 指定 MyBatis 所用日志的具体实现 -->
+ <setting name="logImpl" value="SLF4J" />
+ <!-- 使用驼峰命名法转换字段 -->
+ <!-- <setting name="mapUnderscoreToCamelCase" value="true"/> -->
+ </settings>
+
+</configuration>
diff --git a/target/classes/rebel.xml b/target/classes/rebel.xml
new file mode 100644
index 0000000..62dad55
--- /dev/null
+++ b/target/classes/rebel.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ This is the JRebel configuration file. It maps the running application to your IDE workspace, enabling JRebel reloading for this project.
+ Refer to https://manuals.jrebel.com/jrebel/standalone/config.html for more information.
+-->
+<application generated-by="intellij" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_3.xsd">
+
+ <id>stock2c1</id>
+
+ <classpath>
+ <dir name="D:/java/xm/股票v2国盛/stock2c1/target/classes">
+ </dir>
+ </classpath>
+
+</application>
diff --git a/target/classes/templates/1.html b/target/classes/templates/1.html
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/target/classes/templates/1.html
@@ -0,0 +1 @@
+
diff --git "a/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\345\225\206\344\270\232\346\240\270\345\277\203\344\277\241\346\201\257\344\277\235\345\257\206\345\215\217\350\256\256.pdf" "b/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\345\225\206\344\270\232\346\240\270\345\277\203\344\277\241\346\201\257\344\277\235\345\257\206\345\215\217\350\256\256.pdf"
new file mode 100644
index 0000000..eeb1e88
--- /dev/null
+++ "b/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\345\225\206\344\270\232\346\240\270\345\277\203\344\277\241\346\201\257\344\277\235\345\257\206\345\215\217\350\256\256.pdf"
Binary files differ
diff --git "a/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\350\202\241\347\245\250\345\210\206\346\210\220\345\215\217\350\256\256\357\274\210\347\224\265\345\255\220\346\255\243\345\274\217\347\211\210\357\274\211.pdf" "b/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\350\202\241\347\245\250\345\210\206\346\210\220\345\215\217\350\256\256\357\274\210\347\224\265\345\255\220\346\255\243\345\274\217\347\211\210\357\274\211.pdf"
new file mode 100644
index 0000000..d520fc0
--- /dev/null
+++ "b/target/classes/templates/\344\270\255\345\216\237\350\257\201\345\210\270\350\202\241\347\245\250\345\210\206\346\210\220\345\215\217\350\256\256\357\274\210\347\224\265\345\255\220\346\255\243\345\274\217\347\211\210\357\274\211.pdf"
Binary files differ
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
new file mode 100644
index 0000000..f7c03c9
--- /dev/null
+++ b/target/maven-archiver/pom.properties
@@ -0,0 +1,3 @@
+version=0.0.1-SNAPSHOT
+groupId=com.stock
+artifactId=stock
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 0000000..791004c
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1,428 @@
+com\nq\utils\smsUtil\smsUtil.class
+com\nq\service\IAgentDistributionUserService.class
+com\nq\utils\DateTimeUtil.class
+com\nq\service\ISiteAdminService.class
+com\nq\utils\redis\RedisShardedPoolUtils.class
+com\nq\vo\indexposition\IndexPositionVO.class
+com\nq\service\impl\UserStockSubscribeServiceImpl.class
+com\nq\utils\FTPUtil.class
+com\nq\pojo\StockCoin.class
+com\nq\vo\stock\StockVO.class
+com\nq\service\impl\SiteLoginLogServiceImpl.class
+com\nq\pojo\SitePay.class
+com\nq\dao\SiteAdminIndexMapper.class
+com\nq\service\ConvertBondApplyService.class
+com\nq\service\SiteAdminIndexService.class
+com\nq\dao\StockMapper.class
+com\nq\controller\backend\AdminSiteFuturesSettingController.class
+com\nq\service\impl\SiteAdminServiceImpl.class
+com\nq\pojo\FundsApply.class
+com\nq\service\IUserIndexPositionService.class
+com\nq\pojo\AgentAgencyFee.class
+com\nq\security\xss\HandlerExecutionChainWrapper$ControllerXssInterceptor.class
+com\nq\dao\FundsSettingMapper.class
+com\nq\utils\sms\ali\AliyunSmsConst.class
+com\nq\utils\StockListVO.class
+com\nq\service\ISiteInfoService.class
+com\nq\vo\agent\AgentAgencyFeeVO.class
+com\nq\service\impl\FundsLeverServiceImpl.class
+com\nq\utils\TradeFeeUtil.class
+com\nq\vo\pay\OcocnPayVO.class
+com\nq\pojo\SiteAmtTransLog.class
+com\nq\vo\indexposition\AgentIndexPositionVO.class
+com\nq\utils\stock\qq\QqStockApi$1.class
+com\nq\dao\SiteLoginLogMapper.class
+com\nq\config\MyBatisConfig.class
+com\nq\service\impl\SiteSmsLogServiceImpl.class
+com\nq\controller\backend\AdminStockSubscribeController.class
+com\nq\vo\position\AgentPositionVO.class
+com\nq\controller\SmsApiController.class
+com\nq\controller\backend\AdminNewStockController.class
+com\nq\vo\stock\MarketVO.class
+com\nq\utils\task\user\UserAssetAuditTask.class
+com\nq\vo\pay\GuoPayVO.class
+com\nq\vo\user\UserBankInfoVO.class
+com\nq\utils\stock\sina\vo\SinaStockMinData.class
+com\nq\utils\KeyUtils.class
+com\nq\pojo\SiteSettingExample$GeneratedCriteria.class
+com\nq\utils\smsUtil\support\TecentYunSMSProvider.class
+com\nq\vo\stock\StockListVO.class
+com\nq\controller\SiteApiController.class
+com\nq\controller\agent\AgentIndexPositionController.class
+com\nq\vo\stock\k\echarts\EchartsDataVO.class
+com\nq\utils\ip\IpUtils.class
+com\nq\utils\stock\sina\SinaStockApi$2.class
+com\nq\pojo\SiteFuturesSetting.class
+com\nq\vo\agent\AgentSecondInfoVO.class
+com\nq\service\impl\ConvertBondServiceImpl.class
+com\nq\utils\stock\lide\LideRankDataVo.class
+com\nq\dao\FundsSecuritiesInfoMapper.class
+com\nq\controller\agent\AgentFuturesPositionController.class
+com\nq\utils\HolidayUtil.class
+com\nq\controller\protol\UserCashDetailController.class
+com\nq\controller\backend\AdminFundsApplyController.class
+com\nq\service\ISiteFuturesSettingService.class
+com\nq\vo\futuresposition\FuturesPositionProfitVO.class
+com\nq\config\StockTask.class
+com\nq\vo\indexposition\AdminIndexPositionVO.class
+com\nq\utils\redis\CookieUtils.class
+com\nq\controller\SiteNewsController.class
+com\nq\dao\SiteInfoMapper.class
+com\nq\pojo\UserExample$Criterion.class
+com\nq\config\MyCorsFilter.class
+com\nq\utils\task\stock\NewStockTask.class
+com\nq\controller\backend\AdminFuturesPositionController.class
+com\nq\service\impl\SitePayServiceImpl.class
+com\nq\common\converter\MyJsonMapper.class
+com\nq\utils\stock\lide\LideDataVo.class
+com\nq\vo\stock\ChartCellVO.class
+com\nq\vo\stockfutures\FuturesVO.class
+com\nq\utils\ip\JuheIpApi.class
+com\nq\pojo\FundsDealerInstitutions.class
+com\nq\utils\sms\ali\AliyunSms.class
+com\nq\service\impl\FundsApplyServiceImpl.class
+com\nq\pojo\UserCashDetail.class
+com\nq\common\interceptor\ApiUserAuthorityInterceptor.class
+com\nq\dao\ContractImageMapper.class
+com\nq\vo\user\UserLoginResultVO.class
+com\nq\utils\BigDecimalUtil.class
+com\nq\utils\stock\lide\LiDeDataUtils.class
+com\nq\service\impl\SiteNewsServiceImpl.class
+com\nq\security\xss\HandlerExecutionChainWrapper$ControllerXssInterceptor$2.class
+com\nq\security\xss\HandlerExecutionChainWrapper.class
+com\nq\service\ISiteBannerService.class
+com\nq\service\impl\SiteBannerServiceImpl.class
+com\nq\service\IUserWithdrawService.class
+com\nq\dao\UserRechargeMapper.class
+com\nq\config\ScheduleConfig.class
+com\nq\pojo\AgentDistributionUser.class
+com\nq\service\IStockIndexService.class
+com\nq\controller\protol\UserPayController.class
+com\nq\utils\smsUtil\support\AliyunSMSProvider.class
+com\nq\pojo\SiteAdminIndex.class
+com\nq\service\impl\SiteAdminIndexServiceImpl.class
+com\nq\dao\ConvertBondMapper.class
+com\nq\vo\agent\AgentIncomeVO.class
+com\nq\dao\SiteSpreadMapper.class
+com\nq\controller\protol\UserWithdrawController.class
+com\nq\service\impl\SiteInfoServiceImpl.class
+com\nq\service\ISiteIndexSettingService.class
+com\nq\utils\ip\juhe\AddressResultsVo.class
+com\nq\utils\CurrencyUtils.class
+com\nq\vo\stockfutures\FuturesAdminListVO.class
+com\nq\controller\AgentApiController.class
+com\nq\vo\stock\k\MinDataVO.class
+com\nq\service\IUserFundsPositionService.class
+com\nq\vo\agent\AgentLoginResultVO.class
+com\nq\utils\PdfToImageUtil.class
+com\nq\controller\protol\UserFundsController.class
+com\nq\dao\AgentUserMapper.class
+com\nq\service\StockDzService.class
+com\nq\common\ResponseCode.class
+com\nq\service\impl\StockDzServiceImpl.class
+com\nq\dao\SiteNewsMapper.class
+com\nq\dao\UserStockSubscribeMapper.class
+com\nq\pojo\SiteInfo.class
+com\nq\service\ISiteTaskLogService.class
+com\nq\dao\FundsAppendMapper.class
+com\nq\dao\StockIndexMapper.class
+com\nq\controller\protol\UserBankController.class
+com\nq\service\IUserAgreementService.class
+com\nq\service\impl\RealTimeServiceImpl.class
+com\nq\common\interceptor\ApiAgentAuthorityInterceptor.class
+com\nq\service\RealTimeService.class
+com\nq\controller\ArticleApiController.class
+com\nq\utils\task\futures\ForceSellFuturesTask.class
+com\nq\dao\SiteSettingMapper.class
+com\nq\controller\UserApiController.class
+com\nq\pojo\UserIndexPosition.class
+com\nq\vo\position\PositionVO.class
+com\nq\vo\futuresposition\UserFuturesPositionVO.class
+com\nq\controller\protol\UserFuturesPositionController.class
+com\nq\pojo\ContractImage.class
+com\nq\pojo\UserFundsPosition.class
+com\nq\controller\backend\AdminSiteBannerController.class
+com\nq\pojo\UserExample$Criteria.class
+com\nq\dao\UserBankMapper.class
+com\nq\dao\UserFundsPositionMapper.class
+com\nq\controller\backend\AdminSiteIndexSettingController.class
+com\nq\pojo\StockMarketsDay.class
+com\nq\utils\redis\RedisConst.class
+com\nq\pojo\SiteArticle.class
+com\nq\utils\MarketUtils.class
+com\nq\controller\protol\UserPositionController.class
+com\nq\utils\task\stock\StockListTask.class
+com\nq\vo\stockfutures\CoinAdminListVO.class
+com\nq\common\PayConst.class
+com\nq\pojo\SiteIndexSetting.class
+com\nq\service\impl\AgentAgencyFeeServiceImpl.class
+com\nq\common\filter\ExceptionResolver.class
+com\nq\utils\smsUtil\SMSProvider.class
+com\nq\pojo\RealTime.class
+com\nq\service\ConvertBondService.class
+com\nq\utils\CacheUtil$CacheUtilBean.class
+com\nq\utils\task\stock\RealTimeTask.class
+com\nq\controller\AdminApiController.class
+com\nq\pojo\SiteSpread.class
+com\nq\controller\backend\AdminRechargeController.class
+com\nq\dao\SiteFuturesSettingMapper.class
+com\nq\pojo\FundsSetting.class
+com\nq\vo\position\PositionProfitVO.class
+com\nq\vo\stock\StockAdminListVO.class
+com\nq\controller\backend\AdminSiteInfoController.class
+com\nq\dao\UserMapper.class
+com\nq\pojo\User.class
+com\nq\service\impl\FileUploadServiceImpl.class
+com\nq\service\IAgentUserService.class
+com\nq\controller\backend\AdminFundsDealerInstitutionsController.class
+com\nq\dao\StockMarketsDayMapper.class
+com\nq\pojo\SiteTaskLog.class
+com\nq\service\IStockFuturesService.class
+com\nq\pojo\SiteLoginLog.class
+com\nq\utils\redis\JsonUtil.class
+com\nq\service\IFundsSecuritiesInfoService.class
+com\nq\service\IStockService.class
+com\nq\common\StockIndexConst.class
+com\nq\service\impl\FundsSecuritiesInfoServiceImpl.class
+com\nq\service\impl\UserIndexPositionServiceImpl.class
+com\nq\pojo\StockSubscribe.class
+com\nq\utils\pay\CmcPayTool.class
+com\nq\dao\SiteTaskLogMapper.class
+com\nq\dao\UserWithdrawMapper.class
+com\nq\service\IStockSubscribeService.class
+com\nq\pojo\UserRecharge.class
+com\nq\utils\ip\juhe\AddressResult.class
+com\nq\utils\task\stock\StockTask.class
+com\nq\controller\StockFuturesApiController.class
+com\nq\pojo\FundsLever.class
+com\nq\service\IFundsAppendService.class
+com\nq\service\IUserRechargeService.class
+com\nq\dao\StockDzMapper.class
+com\nq\service\impl\UserRechargeServiceImpl.class
+com\nq\service\impl\StockCoinServiceImpl.class
+com\nq\dao\RealTimeMapper.class
+com\nq\service\impl\StockFuturesServiceImpl.class
+com\nq\pojo\SiteBanner.class
+com\nq\pojo\SiteSettingExample$Criteria.class
+com\nq\pojo\FundsTradingAccount.class
+com\nq\service\impl\SiteSettingServiceImpl.class
+com\nq\dao\SitePayMapper.class
+com\nq\controller\backend\AdminStockCoinController.class
+com\nq\vo\user\UserWithdrawVO.class
+com\nq\service\UserPendingorderService.class
+com\nq\controller\backend\AdminLogsController.class
+com\nq\service\impl\UserPositionServiceImpl.class
+com\nq\vo\indexposition\UserIndexPositionVO.class
+com\nq\service\IUserCashDetailService.class
+com\nq\service\impl\StockIndexServiceImpl.class
+com\nq\vo\stockindex\StockIndexVO.class
+com\nq\controller\backend\AdminCashDetailController.class
+com\nq\utils\task\stock\StockShTask.class
+com\nq\controller\protol\UserOptionController.class
+com\nq\utils\SymmetricCryptoUtil.class
+com\nq\service\IStockOptionService.class
+com\nq\service\impl\AgentDistributionUserServiceImpl.class
+com\nq\service\IUserService.class
+com\nq\controller\backend\AdminSitePayController.class
+com\nq\vo\stockfutures\StockFuturesListVO.class
+com\nq\service\impl\SmsServiceImpl.class
+com\nq\dao\SiteSmsLogMapper.class
+com\nq\utils\stock\pinyin\GetPyByChinese.class
+com\nq\security\xss\HandlerExecutionChainWrapper$ControllerXssInterceptor$1.class
+com\nq\service\IPayService.class
+com\nq\controller\backend\AdminUserController.class
+com\nq\service\IFundsTradingAccountService.class
+com\nq\service\impl\ConvertBondApplyServiceImpl.class
+com\nq\dao\UserPositionMapper.class
+com\nq\config\StockPoll.class
+com\nq\controller\backend\AdminAgentController.class
+com\nq\annotation\SameUrlData.class
+com\nq\controller\agent\AgentController.class
+com\nq\service\impl\FundsAppendServiceImpl.class
+com\nq\service\ISiteAmtTransLogService.class
+com\nq\controller\protol\UserRechargeController.class
+com\nq\utils\task\news\NewsTask.class
+com\nq\utils\task\stock\ForceSellTask.class
+com\nq\service\impl\AgentUserServiceImpl.class
+com\nq\utils\pay\CmcPayOuterRequestUtil.class
+com\nq\utils\PropertiesUtil.class
+com\nq\controller\agent\AgentCashDetailController.class
+com\nq\utils\email\MailSender.class
+com\nq\pojo\StockOption.class
+com\nq\utils\stock\BuyAndSellUtils.class
+com\nq\dao\UserPendingorderMapper.class
+com\nq\pojo\UserExample$GeneratedCriteria.class
+com\nq\utils\stock\sina\SinaStockApi$1.class
+com\nq\controller\agent\AgentRechargeController.class
+com\nq\controller\backend\AdminController.class
+com\nq\controller\VerifyCodeController.class
+com\nq\controller\backend\AdminIndexPositionController.class
+com\nq\pojo\ConvertBond.class
+com\nq\service\impl\FundsTradingAccountServiceImpl.class
+com\nq\service\impl\StockServiceImpl.class
+com\nq\StockApplication.class
+com\nq\controller\backend\AdminSiteProductController.class
+com\nq\pojo\SiteSmsLog.class
+com\nq\utils\stock\GetStayDays.class
+com\nq\utils\CacheUtil.class
+com\nq\security\xss\DispatcherServletWrapper.class
+com\nq\controller\backend\AdminWithDrawController.class
+com\nq\dao\UserCashDetailMapper.class
+com\nq\service\ISiteProductService.class
+com\nq\dao\SiteIndexSettingMapper.class
+com\nq\service\IFundsDealerInstitutionsService.class
+com\nq\pojo\UserStockSubscribe.class
+com\nq\pojo\DailyRecord.class
+com\nq\service\ISiteLoginLogService.class
+com\nq\vo\futuresposition\AgentFuturesPositionVO.class
+com\nq\common\interceptor\ApiAdminAuthorityInterceptor.class
+com\nq\service\impl\StockMarketsDayServiceImpl.class
+com\nq\dao\SiteArticleMapper.class
+com\nq\vo\position\UserPositionVO.class
+com\nq\common\StockFuturesConst.class
+com\nq\dao\FundsDealerInstitutionsMapper.class
+com\nq\service\ISiteMessageService.class
+com\nq\service\IStockCoinService.class
+com\nq\utils\stock\qq\QqStockApi.class
+com\nq\utils\redis\RedisShardedPool.class
+com\nq\vo\user\UserInfoVO.class
+com\nq\dao\StockCoinMapper.class
+com\nq\pojo\FundsAppend.class
+com\nq\service\impl\SiteIndexSettingServiceImpl.class
+com\nq\service\IStockMarketsDayService.class
+com\nq\dao\SiteMessageMapper.class
+com\nq\controller\backend\AdminStockController.class
+com\nq\utils\ip\Mandate.class
+com\nq\vo\admin\AdminCountVO.class
+com\nq\controller\PayApiController.class
+com\nq\pojo\StockMarket.class
+com\nq\pojo\UserPosition.class
+com\nq\controller\backend\AdminStockFuturesController.class
+com\nq\service\impl\FundsDealerInstitutionsServiceImpl.class
+com\nq\pojo\SiteProduct.class
+com\nq\utils\stock\sina\SinaStockApi$4.class
+com\nq\service\IFundsSettingService.class
+com\nq\service\impl\UserAgreementServiceImpl.class
+com\nq\dao\AgentDistributionUserMapper.class
+com\nq\service\impl\PayServiceImpl.class
+com\nq\service\impl\UserCashDetailServiceImpl.class
+com\nq\utils\HttpRequest.class
+com\nq\utils\Pager.class
+com\nq\utils\stock\sina\SinaStockApi$3.class
+com\nq\service\ISiteNewsService.class
+com\nq\utils\stock\WithDrawUtils.class
+com\nq\utils\task\index\ForceSellIndexTask.class
+com\nq\controller\agent\AgentNewStockController.class
+com\nq\pojo\SiteMessage.class
+com\nq\dao\UserIndexPositionMapper.class
+com\nq\utils\Md5Utils.class
+com\nq\controller\backend\AdminStockDz.class
+com\nq\dao\UserFuturesPositionMapper.class
+com\nq\service\impl\UserFundsPositionServiceImpl.class
+com\nq\service\ISiteArticleService.class
+com\nq\controller\backend\AdminSiteArticleController.class
+com\nq\service\IFundsLeverService.class
+com\nq\service\IUserFuturesPositionService.class
+com\nq\pojo\UserFuturesPosition.class
+com\nq\service\impl\GoogleAuthenticator.class
+com\nq\pojo\StockDz.class
+com\nq\vo\agent\AgentUserListVO.class
+com\nq\pojo\SiteNews.class
+com\nq\dao\AgentAgencyFeeMapper.class
+com\nq\service\impl\UserFuturesPositionServiceImpl.class
+com\nq\pojo\SiteSetting.class
+com\nq\service\ISiteSpreadService.class
+com\nq\service\IUserPositionService.class
+com\nq\config\WebMvcConfig.class
+com\nq\service\IFileUploadService.class
+com\nq\service\ISiteSmsLogService.class
+com\nq\controller\agent\AgentWithdrawController.class
+com\nq\dao\SiteAdminMapper.class
+com\nq\vo\stock\MarketVOResult.class
+com\nq\dao\StockFuturesMapper.class
+com\nq\service\impl\StockSubscribeServiceImpl.class
+com\nq\utils\pay\OcocnPayUtil.class
+com\nq\service\impl\SiteProductServiceImpl.class
+com\nq\vo\stock\StockOptionListVO.class
+com\nq\pojo\StockIndex.class
+com\nq\dao\FundsTradingAccountMapper.class
+com\nq\utils\sms\ali\SmsDemo.class
+com\nq\dao\SiteProductMapper.class
+com\nq\vo\pay\PayInfo.class
+com\nq\controller\backend\AdminStockIndexController.class
+com\nq\vo\foreigncurrency\ExchangeVO.class
+com\nq\pojo\UserExample.class
+com\nq\service\impl\UserWithdrawServiceImpl.class
+com\nq\controller\protol\UserController.class
+com\nq\utils\email\MailSender$Builder.class
+com\nq\utils\translate\GoogleTranslateUtil.class
+com\nq\utils\redis\RedisPoolUtil.class
+com\nq\utils\StringUtils.class
+com\nq\pojo\AgentUser.class
+com\nq\pojo\UserBank.class
+com\nq\vo\stock\StockUsVO.class
+com\nq\utils\stock\sina\SinaStockApi.class
+com\nq\vo\agent\AgentInfoVO.class
+com\nq\controller\backend\AdminSiteSettingController.class
+com\nq\pojo\StockFutures.class
+com\nq\pojo\SiteSettingExample$Criterion.class
+com\nq\service\impl\SiteArticleServiceImpl.class
+com\nq\controller\ImageController.class
+com\nq\pojo\Stock.class
+com\nq\controller\agent\AgentPositionController.class
+com\nq\config\GoogleCodeConfig.class
+com\nq\controller\protol\UserIndexPositionController.class
+com\nq\dao\FundsLeverMapper.class
+com\nq\vo\futuresposition\AdminFuturesPositionVO.class
+com\nq\vo\stock\StockDzVo.class
+com\nq\utils\task\stock\ClosingStayTask.class
+com\nq\vo\pay\FlyPayVO.class
+com\nq\utils\stock\SerializeUtil.class
+com\nq\service\impl\FundsSettingServiceImpl.class
+com\nq\dao\StockOptionMapper.class
+com\nq\common\CmcPayConfig.class
+com\nq\controller\RealTimeController.class
+com\nq\vo\position\UserPendingorderVO.class
+com\nq\service\ISmsService.class
+com\nq\vo\position\AdminPositionVO.class
+com\nq\controller\backend\AdminFundsSettingController.class
+com\nq\dao\ConvertBondApplyMapper.class
+com\nq\utils\task\stock\StockOthersTask.class
+com\nq\utils\HttpClientRequest.class
+com\nq\service\impl\StockOptionServiceImpl.class
+com\nq\pojo\SiteSettingExample.class
+com\nq\dao\SiteAmtTransLogMapper.class
+com\nq\service\IAgentAgencyFeeService.class
+com\nq\dao\FundsApplyMapper.class
+com\nq\pojo\ConvertBondApply.class
+com\nq\controller\StockIndexApiController.class
+com\nq\controller\StockApiController.class
+com\nq\utils\stock\GeneratePosition.class
+com\nq\service\impl\UserPendingorderServiceImpl.class
+com\nq\service\impl\SiteTaskLogServiceImpl.class
+com\nq\service\impl\SiteFuturesSettingServiceImpl.class
+com\nq\service\ISiteSettingService.class
+com\nq\common\Const.class
+com\nq\utils\email\SendHTMLMail.class
+com\nq\service\impl\SiteAmtTransLogServiceImpl.class
+com\nq\vo\indexposition\IndexPositionProfitVO.class
+com\nq\dao\StockSubscribeMapper.class
+com\nq\pojo\UserWithdraw.class
+com\nq\service\IUserBankService.class
+com\nq\common\ServerResponse.class
+com\nq\service\impl\SiteSpreadServiceImpl.class
+com\nq\dao\SiteBannerMapper.class
+com\nq\service\impl\SiteMessageServiceImpl.class
+com\nq\pojo\UserPendingorder.class
+com\nq\controller\backend\AdminPositionController.class
+com\nq\vo\futuresposition\FuturesPositionVO.class
+com\nq\pojo\FundsSecuritiesInfo.class
+com\nq\service\impl\UserBankServiceImpl.class
+com\nq\service\IFundsApplyService.class
+com\nq\service\impl\UserServiceImpl.class
+com\nq\utils\task\stock\SaveDayMarketsTask.class
+com\nq\pojo\SiteAdmin.class
+com\nq\utils\email\MailSender$1.class
+com\nq\controller\agent\AgentUserController.class
+com\nq\service\ISitePayService.class
+com\nq\service\IUserStockSubscribeService.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 0000000..2a83054
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1,413 @@
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteInfoService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\RedisShardedPool.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\AdminApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsAppendService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\admin\AdminCountVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\StockDzService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteProductMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminFundsDealerInstitutionsController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteArticle.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\sms\ali\SmsDemo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IAgentUserService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\GoogleCodeConfig.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteAmtTransLogService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\SiteAdminIndexService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\sms\ali\AliyunSms.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteAdminServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\StockFuturesApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockMarket.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentRechargeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteInfoMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\RedisShardedPoolUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\ServerResponse.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\RedisConst.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\Md5Utils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteSettingMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteSettingService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteFuturesSetting.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockFuturesServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\PayApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\AgentDistributionUserMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserWithdrawService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockCoinService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsDealerInstitutionsMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\PositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\user\UserInfoVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\SymmetricCryptoUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteSmsLogServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteLoginLog.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteSettingController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\user\UserLoginResultVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsDealerInstitutionsService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteFuturesSettingService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\sms\ali\AliyunSmsConst.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFileUploadService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\StockShTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsSettingMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserIndexPositionMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\StockListTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\news\NewsTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\SiteApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockSubscribe.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\AgentAgencyFeeMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteAdminIndex.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\UserPendingorderService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteInfoController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsAppend.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\index\ForceSellIndexTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\ContractImageMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsLeverServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\CurrencyUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\pay\OcocnPayVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\UserPendingorderVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSitePayController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\smsUtil\support\AliyunSMSProvider.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserFuturesPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentIncomeVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockFutures.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\ip\juhe\AddressResultsVo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminWithDrawController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteSetting.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockIndexController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteFuturesSettingMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteAmtTransLogMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SitePayMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentCashDetailController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminFuturesPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockSubscribeServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\RealTimeMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentIndexPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentInfoVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\ip\juhe\AddressResult.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserBankMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteBannerController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SitePayServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SmsServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteMessageMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockMarketsDayMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\smsUtil\support\TecentYunSMSProvider.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentSecondInfoVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\interceptor\ApiUserAuthorityInterceptor.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\pay\GuoPayVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsSecuritiesInfoService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsApplyServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stockfutures\FuturesVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\RealTimeServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteMessageServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\BigDecimalUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserRecharge.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsSettingServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\translate\GoogleTranslateUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockUsVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserRechargeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\pinyin\GetPyByChinese.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\RealTime.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteAdminIndexServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteSpreadService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteNewsMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\ScheduleConfig.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockSubscribeMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\foreigncurrency\ExchangeVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteFuturesSettingController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\email\SendHTMLMail.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserWithdraw.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\SaveDayMarketsTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\UserApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\UserPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteBannerService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteProductService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserExample.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\MarketVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteTaskLogMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockMarketsDayService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentLoginResultVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsDealerInstitutions.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\indexposition\IndexPositionProfitVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteSpreadServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteNewsService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockOptionServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\HttpRequest.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserWithdrawController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stockfutures\CoinAdminListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminIndexPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\sina\vo\SinaStockMinData.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\PayServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserPendingorderServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteTaskLogServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISmsService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\StockFuturesConst.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\ForceSellTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserRechargeMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\annotation\SameUrlData.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserStockSubscribeMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockDzVo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminUserController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserRechargeService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\futures\ForceSellFuturesTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteTaskLogService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\AgentApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserPosition.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteAmtTransLog.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\filter\ExceptionResolver.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\sina\SinaStockApi.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\VerifyCodeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsSecuritiesInfoMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\PropertiesUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsTradingAccountMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IAgentDistributionUserService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\RealTimeTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\FTPUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserIndexPositionService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsLever.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockSubscribeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\email\MailSender.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\CookieUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\security\xss\DispatcherServletWrapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteArticleMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteSpreadMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserIndexPosition.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\PdfToImageUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\User.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteSmsLogService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\GetStayDays.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\Const.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteIndexSettingController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserAgreementServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockAdminListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockDzServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\TradeFeeUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminLogsController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\ConvertBondApplyMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\user\UserBankInfoVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\DailyRecord.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsTradingAccountService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsLeverMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserCashDetail.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteLoginLogServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsAppendServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\AgentPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteBannerServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminFundsApplyController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteNews.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockFuturesService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\ConvertBondApply.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockOptionMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteIndexSetting.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockDz.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\lide\LiDeDataUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\ConvertBondMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\SmsApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\ip\IpUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockOptionListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserPendingorderMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteAmtTransLogServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserFundsPositionService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockIndexServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockIndexService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\ip\Mandate.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ConvertBondApplyService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stockfutures\StockFuturesListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\StockOthersTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\StockIndexApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserIndexPositionServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\StockTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\GoogleAuthenticator.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\ImageController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\futuresposition\AgentFuturesPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserOptionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteSpread.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserWithdrawMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\pay\FlyPayVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserPositionMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockMarketsDayServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\user\UserAssetAuditTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\AgentUser.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\AgentDistributionUserServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\DateTimeUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserCashDetailMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserStockSubscribe.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockFuturesController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\StockTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISitePayService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentUserController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\converter\MyJsonMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\futuresposition\UserFuturesPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserFuturesPositionServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserFuturesPositionService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SitePay.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserFundsPosition.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ConvertBondService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsTradingAccount.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\smsUtil\SMSProvider.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\k\echarts\EchartsDataVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\k\MinDataVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\JsonUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteInfo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsApply.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\PayConst.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\StockApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\ConvertBond.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserBankServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminRechargeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteBannerMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\pay\OcocnPayUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsApplyService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockDzMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\AgentUserServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\MarketVOResult.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\AdminPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\StringUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\futuresposition\FuturesPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteMessage.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\indexposition\AdminIndexPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteIndexSettingServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\SerializeUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentFuturesPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\smsUtil\smsUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteSettingExample.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stockindex\StockIndexVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteLoginLogService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteLoginLogMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsSettingService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteAdmin.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\indexposition\IndexPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\ArticleApiController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\indexposition\UserIndexPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserCashDetailController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsSecuritiesInfoServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockOptionService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\indexposition\AgentIndexPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteMessageService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IStockSubscribeService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserFundsPositionMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\StockCoinServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteNewsServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminFundsSettingController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteSettingServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserBankService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IAgentAgencyFeeService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\pay\CmcPayTool.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\position\PositionProfitVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\AgentUserMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminStockCoinController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\interceptor\MyResponseBodyAdvice.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserCashDetailServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\RealTimeService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\interceptor\ApiAgentAuthorityInterceptor.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminAgentController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\WebMvcConfig.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\ip\JuheIpApi.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserCashDetailService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\HolidayUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentUserListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\MarketUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserFundsController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserPayController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stockfutures\FuturesAdminListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\StockPoll.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteArticleServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\CmcPayConfig.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\GeneratePosition.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteInfoServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsAppendMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\ConvertBondApplyServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\AgentAgencyFeeServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\interceptor\ApiAdminAuthorityInterceptor.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserFuturesPosition.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockOption.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsSetting.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\filter\SessionExpireFilter.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockDz.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\ResponseCode.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteArticleController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\qq\QqStockApi.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserBankController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteBanner.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockMarketsDay.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteSmsLogMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminNewStockController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\MyBatisConfig.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserPendingorder.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminCashDetailController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteTaskLog.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserFundsPositionServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteProduct.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\futuresposition\AdminFuturesPositionVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsDealerInstitutionsServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteAdminService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\lide\LideRankDataVo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\futuresposition\FuturesPositionProfitVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\HttpClientRequest.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserRechargeServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\WithDrawUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteIndexSettingMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteFuturesSettingServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\ConvertBondServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentNewStockController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\SiteSmsLog.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\Stock.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\ContractImage.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockIndex.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserPositionServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\ChartCellVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\lide\LideDataVo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\ClosingStayTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IFundsLeverService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\stock\BuyAndSellUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\Pager.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FileUploadServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\UserBank.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\pay\PayInfo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteArticleService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\SiteNewsController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\backend\AdminSiteProductController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\ISiteIndexSettingService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\StockListVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\agent\AgentAgencyFeeVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserStockSubscribeService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\config\MyCorsFilter.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\task\stock\NewStockTask.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\FundsTradingAccountServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\security\xss\HandlerExecutionChainWrapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockIndexMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteAdminIndexMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IPayService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserPositionService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\stock\StockVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserStockSubscribeServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\FundsApplyMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\CacheUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\AgentAgencyFee.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\AgentDistributionUser.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\KeyUtils.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\UserFuturesPositionMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\StockCoin.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserService.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockFuturesMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\StockApplication.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\common\StockIndexConst.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\StockCoinMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\redis\RedisPoolUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\UserWithdrawServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\RealTimeController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\protol\UserIndexPositionController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\vo\user\UserWithdrawVO.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\pojo\FundsSecuritiesInfo.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\impl\SiteProductServiceImpl.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\dao\SiteAdminMapper.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\controller\agent\AgentWithdrawController.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\utils\pay\CmcPayOuterRequestUtil.java
+D:\ZyaProject\A前端\A-stock\src\main\java\com\nq\service\IUserAgreementService.java
diff --git a/target/stock-0.0.1-SNAPSHOT.jar b/target/stock-0.0.1-SNAPSHOT.jar
new file mode 100644
index 0000000..d952b14
--- /dev/null
+++ b/target/stock-0.0.1-SNAPSHOT.jar
Binary files differ
diff --git a/target/stock-0.0.1-SNAPSHOT.jar.original b/target/stock-0.0.1-SNAPSHOT.jar.original
new file mode 100644
index 0000000..2643316
--- /dev/null
+++ b/target/stock-0.0.1-SNAPSHOT.jar.original
Binary files differ
--
Gitblit v1.9.3