| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project version="4"> |
| | | <component name="ExternalStorageConfigurationManager" enabled="true" /> |
| | | <component name="JavaScriptSettings"> |
| | |
| | | </component> |
| | | <component name="ChangeListManager"> |
| | | <list default="true" id="cb08d02f-fd4f-4fa2-85fe-abd508fa83ac" name="Default Changelist" comment="10.8。1"> |
| | | <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/course/mapper/StoreMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/course/mapper/StoreMapper.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TCoursePackageController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TCoursePackageController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/competition/DeductionCompetitionsClient.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/competition/DeductionCompetitionsClient.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/course/CoursePackageClient.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/course/CoursePackageClient.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/SiteClient.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/SiteClient.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/util/PayMoneyUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/util/PayMoneyUtil.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/util/httpClinet/HttpClientUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-account/src/main/java/com/dsh/account/util/httpClinet/HttpClientUtil.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/controller/CompetitionController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/controller/CompetitionController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/mapper/PaymentCompetitionMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/mapper/PaymentCompetitionMapper.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/service/IPaymentCompetitionService.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/service/IPaymentCompetitionService.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackageController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/mapper/TCoursePackagePaymentMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/mapper/TCoursePackagePaymentMapper.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/service/TCoursePackagePaymentService.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/service/TCoursePackagePaymentService.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackagePaymentServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/service/impl/TCoursePackagePaymentServiceImpl.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TSiteController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TSiteController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/IStoreService.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/IStoreService.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/StoreServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/StoreServiceImpl.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/model/TGameConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/model/TGameConfig.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_edit.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_edit.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/yuyue.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/yuyue.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/yuyue_add.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/yuyue_add.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage_add.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage_add.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage_edit.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage_edit.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetition/TCompetition_add.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetition/TCompetition_add.html" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/coursePackage.js" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/coursePackage.js" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/resources/mapper/GameMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/resources/mapper/GameMapper.xml" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/mapper/SiteBookingMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/mapper/SiteBookingMapper.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/service/ISiteBookingService.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/service/ISiteBookingService.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteBookingServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteBookingServiceImpl.java" afterDir="false" /> |
| | | <change beforePath="$PROJECT_DIR$/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-other/src/main/resources/mapper/SiteBookingMapper.xml" afterDir="false" /> |
| | | </list> |
| | | <option name="SHOW_DIALOG" value="false" /> |
| | | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
| | |
| | | <component name="MavenImportPreferences"> |
| | | <option name="generalSettings"> |
| | | <MavenGeneralSettings> |
| | | <option name="mavenHome" value="使用 Maven 包装器" /> |
| | | <option name="localRepository" value="C:\Users\45438\.m2\repository" /> |
| | | <option name="mavenHome" value="$PROJECT_DIR$/../../apache-maven-3.9.3" /> |
| | | <option name="userSettingsFile" value="C:\Users\45438\.m2\settings.xml" /> |
| | | </MavenGeneralSettings> |
| | | </option> |
| | | </component> |
| | |
| | | <component name="ProblemsViewState"> |
| | | <option name="selectedTabId" value="ProjectErrors" /> |
| | | </component> |
| | | <component name="ProjectColorInfo">{ |
| | | "associatedIndex": 2 |
| | | }</component> |
| | | <component name="ProjectId" id="2T0poWYlZShlnPso29uxjn4gQQo" /> |
| | | <component name="ProjectLevelVcsManager" settingsEditedManually="true"> |
| | | <ConfirmationsSetting value="1" id="Add" /> |
| | |
| | | <option name="hideEmptyMiddlePackages" value="true" /> |
| | | <option name="showLibraryContents" value="true" /> |
| | | </component> |
| | | <component name="PropertiesComponent"><![CDATA[{ |
| | | "keyToString": { |
| | | "DefaultHtmlFileTemplate": "HTML File", |
| | | "RequestMappingsPanelOrder0": "0", |
| | | "RequestMappingsPanelOrder1": "1", |
| | | "RequestMappingsPanelWidth0": "75", |
| | | "RequestMappingsPanelWidth1": "75", |
| | | "RunOnceActivity.OpenProjectViewOnStart": "true", |
| | | "RunOnceActivity.ShowReadmeOnStart": "true", |
| | | "WebServerToolWindowFactoryState": "false", |
| | | "git-widget-placeholder": "master", |
| | | "ignore.virus.scanning.warn.message": "true", |
| | | "last_opened_file_path": "D:/Javaproject/PlayPay/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball", |
| | | "node.js.detected.package.eslint": "true", |
| | | "node.js.detected.package.tslint": "true", |
| | | "node.js.selected.package.eslint": "(autodetect)", |
| | | "node.js.selected.package.tslint": "(autodetect)", |
| | | "nodejs_package_manager_path": "npm", |
| | | "project.structure.last.edited": "模块", |
| | | "project.structure.proportion": "0.15", |
| | | "project.structure.side.proportion": "0.54367816", |
| | | "service.view.auto.scroll.to.source": "true", |
| | | "settings.editor.selected.configurable": "preferences.lookFeel", |
| | | "spring.configuration.checksum": "6e27eb92c8707375af194da5aa857bbc", |
| | | "vue.rearranger.settings.migration": "true" |
| | | <component name="PropertiesComponent">{ |
| | | "keyToString": { |
| | | "DefaultHtmlFileTemplate": "HTML File", |
| | | "RequestMappingsPanelOrder0": "0", |
| | | "RequestMappingsPanelOrder1": "1", |
| | | "RequestMappingsPanelWidth0": "75", |
| | | "RequestMappingsPanelWidth1": "75", |
| | | "RunOnceActivity.OpenProjectViewOnStart": "true", |
| | | "RunOnceActivity.ShowReadmeOnStart": "true", |
| | | "WebServerToolWindowFactoryState": "false", |
| | | "git-widget-placeholder": "master", |
| | | "ignore.virus.scanning.warn.message": "true", |
| | | "last_opened_file_path": "D:/jdk", |
| | | "node.js.detected.package.eslint": "true", |
| | | "node.js.detected.package.tslint": "true", |
| | | "node.js.selected.package.eslint": "(autodetect)", |
| | | "node.js.selected.package.tslint": "(autodetect)", |
| | | "nodejs_package_manager_path": "npm", |
| | | "project.structure.last.edited": "项目", |
| | | "project.structure.proportion": "0.15", |
| | | "project.structure.side.proportion": "0.54367816", |
| | | "service.view.auto.scroll.to.source": "true", |
| | | "settings.editor.selected.configurable": "preferences.pluginManager", |
| | | "spring.configuration.checksum": "6e27eb92c8707375af194da5aa857bbc", |
| | | "vue.rearranger.settings.migration": "true" |
| | | } |
| | | }]]></component> |
| | | }</component> |
| | | <component name="ReactorSettings"> |
| | | <option name="notificationShown" value="true" /> |
| | | </component> |
| | | <component name="RecentsManager"> |
| | | <key name="CopyFile.RECENT_KEYS"> |
| | | <recent name="D:\javaproject\play\cloud-server-parent" /> |
| | | <recent name="D:\Javaproject\PlayPay\cloud-server-management\src\main\webapp\WEB-INF\view\system\ball" /> |
| | | <recent name="D:\Javaproject\PlayPay\cloud-server-account\src\test\java\com\dsh" /> |
| | | <recent name="D:\Javaproject\PlayPay\cloud-server-management\src\main\webapp\static\modular\system\ball" /> |
| | | <recent name="D:\Javaproject\PlayPay\cloud-server-course\src\main\resources\mapper" /> |
| | | <recent name="D:\ttt\java\PlayPai\cloud-server-management\src\main\webapp\WEB-INF\view\system\ball" /> |
| | | </key> |
| | | <key name="MoveFile.RECENT_KEYS"> |
| | | <recent name="D:\JavaTool\PlayPai1\cloud-server-management\src\main\webapp\static\modular\system\tStudent" /> |
| | |
| | | <recent name="D:\ttt\java\PlayPai\cloud-server-parent" /> |
| | | </key> |
| | | <key name="CopyClassDialog.RECENTS_KEY"> |
| | | <recent name="com.dsh.course.mapper" /> |
| | | <recent name="com.dsh.course.service.impl" /> |
| | | <recent name="com.dsh.course.service" /> |
| | | <recent name="com.dsh.guns.modular.system.service.impl" /> |
| | | <recent name="com.dsh.guns.modular.system.service" /> |
| | | <recent name="com.dsh.other.mapper" /> |
| | | <recent name="com.dsh.other.service.impl" /> |
| | | <recent name="com.dsh.other.service" /> |
| | | </key> |
| | | </component> |
| | | <component name="RunDashboard"> |
| | |
| | | <workItem from="1696462020097" duration="481000" /> |
| | | <workItem from="1696465598653" duration="19850000" /> |
| | | <workItem from="1696639362946" duration="88523000" /> |
| | | <workItem from="1696894655693" duration="923000" /> |
| | | <workItem from="1696895595069" duration="471000" /> |
| | | <workItem from="1696896079395" duration="4306000" /> |
| | | <workItem from="1696900426210" duration="3256000" /> |
| | | <workItem from="1696903826401" duration="164000" /> |
| | | <workItem from="1696904129011" duration="6673000" /> |
| | | <workItem from="1696917635013" duration="5121000" /> |
| | | </task> |
| | | <task id="LOCAL-00001" summary="后台代码删除"> |
| | | <created>1690249807612</created> |
| | |
| | | </line-breakpoint> |
| | | <line-breakpoint type="java-line"> |
| | | <url>file://$PROJECT_DIR$/cloud-server-course/src/main/java/com/dsh/course/controller/CoursePackagePaymentController.java</url> |
| | | <line>1358</line> |
| | | <line>1360</line> |
| | | <option name="timeStamp" value="14" /> |
| | | </line-breakpoint> |
| | | </breakpoints> |
New file |
| | |
| | | package com.dsh.account.dto; |
| | | |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | public class Receivers { |
| | | |
| | | String type; |
| | | String account; |
| | | String name; |
| | | Integer amout; |
| | | String description; |
| | | |
| | | } |
| | |
| | | |
| | | @PostMapping("/base/competition/getPlayPaiFGoldPayRecord") |
| | | List<PaymentCompetition> getPlayPaiFGoldPayRecord(@RequestBody Integer appUserId); |
| | | @PostMapping("/base/competition/queryByCode") |
| | | |
| | | Integer queryByCode(@RequestBody String code); |
| | | } |
| | |
| | | package com.dsh.account.feignclient.course; |
| | | |
| | | import com.dsh.account.feignclient.course.model.CoursePackage; |
| | | import com.dsh.account.feignclient.course.model.TCoursePackagePayment; |
| | | import io.swagger.models.auth.In; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | */ |
| | | @PostMapping("/base/coursePackage/queryCoursePackageById") |
| | | CoursePackage queryCoursePackageById(Integer id); |
| | | @PostMapping("/base/coursePackage/queryByCode") |
| | | Integer queryByCode(String code); |
| | | } |
| | |
| | | |
| | | @PostMapping("/base/site/getNewAddSiteList") |
| | | List<SiteVo> getAppUserSiteList(); |
| | | |
| | | @PostMapping("/base/site/queryByCode") |
| | | Integer queryByCode(@RequestBody String code); |
| | | } |
| | |
| | | import com.alipay.api.domain.AlipayTradeQueryModel; |
| | | import com.alipay.api.request.*; |
| | | import com.alipay.api.response.*; |
| | | import com.dsh.account.dto.Receivers; |
| | | import com.dsh.account.feignclient.competition.DeductionCompetitionsClient; |
| | | import com.dsh.account.feignclient.competition.model.PaymentCompetition; |
| | | import com.dsh.account.feignclient.course.CoursePackageClient; |
| | | import com.dsh.account.feignclient.course.model.TCoursePackagePayment; |
| | | import com.dsh.account.feignclient.other.SiteClient; |
| | | import com.dsh.account.feignclient.other.model.SiteBooking; |
| | | import com.dsh.account.mapper.RechargeRecordsMapper; |
| | | import com.dsh.account.util.httpClinet.HttpClientUtil; |
| | | import org.apache.commons.collections.map.HashedMap; |
| | | import org.apache.http.client.methods.CloseableHttpResponse; |
| | | import org.bouncycastle.jce.provider.BouncyCastleProvider; |
| | | import org.dom4j.Document; |
| | | import org.dom4j.DocumentException; |
| | |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.crypto.BadPaddingException; |
| | | import javax.crypto.Cipher; |
| | | import javax.crypto.IllegalBlockSizeException; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private RechargeRecordsMapper rereMapper; |
| | | |
| | | |
| | | /** |
| | |
| | | map1.put("transaction_id", map.get("transaction_id"));//微信支付订单号 |
| | | String result = "<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>"; |
| | | map1.put("result", result); |
| | | |
| | | |
| | | |
| | | return map1; |
| | | }else{ |
| | | System.err.println(map.get("err_code_des")); |
| | |
| | | e.printStackTrace(); |
| | | } catch (DocumentException e) { |
| | | e.printStackTrace(); |
| | | } catch (Exception e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Resource |
| | | private CoursePackageClient coursePackageClient; |
| | | @Resource |
| | | private DeductionCompetitionsClient competitionsClient; |
| | | |
| | | @Resource |
| | | private SiteClient siteClient; |
| | | //分账 |
| | | public ResultUtil order(String code) throws Exception { |
| | | |
| | | |
| | | |
| | | Integer coursePackagePayments = coursePackageClient.queryByCode(code); |
| | | Integer paymentCompetitions = competitionsClient.queryByCode(code); |
| | | Integer siteBookings = siteClient.queryByCode(code); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // Map<String,String> headers = new HashMap<>(); |
| | | // headers.put("Authorization",map.get("sign")); |
| | | // headers.put("Accept","application/json"); |
| | | // headers.put("Wechatpay-Serial",certPath); |
| | | // |
| | | // List<Receivers> receivers = new ArrayList<>(); |
| | | // |
| | | // Map<String,Object> body = new HashMap<>(); |
| | | // body.put("appid",appid); |
| | | // body.put("transaction_id",map.get("transaction_id")); |
| | | // body.put("out_order_no",map.get("out_trade_no")); |
| | | // body.put("receivers",receivers); |
| | | // body.put("unfreeze_unsplit",true); |
| | | |
| | | //支付分账 |
| | | // String url ="https://api.mch.weixin.qq.com/v3/profitsharing/orders"; |
| | | // CloseableHttpResponse closeableHttpResponse = HttpClientUtil.setPostHttpRequset(url, body, headers, "application/json"); |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 微信扫码收款 |
| | |
| | | * @param url 请求地址 |
| | | * @param params 请求参数 |
| | | */ |
| | | private static CloseableHttpResponse setPostHttpRequset(String url, Map<String, Object> params, Map<String, String> header, String contentType) throws Exception{ |
| | | public static CloseableHttpResponse setPostHttpRequset(String url, Map<String, Object> params, Map<String, String> header, String contentType) throws Exception{ |
| | | HttpPost httpPost = new HttpPost(url); |
| | | httpPost.setConfig(getRequestConfig()); |
| | | if(null != header){ |
| | |
| | | } |
| | | |
| | | |
| | | @PostMapping("/base/competition/queryByCode") |
| | | public Integer queryByCode(@RequestBody String code){ |
| | | |
| | | return paymentCompetitionService.queryByCode(code); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @PostMapping("/base/competition/getCompetitionsDetails") |
| | | public List<PurchaseRecordVo> getStuSourseList(@RequestBody GetStuSourseList sourseList){ |
| | |
| | | |
| | | List<PaymentCompetition> listAll(@Param("query")CompetitionQuery query, @Param("sTime")String sTime, @Param("eTime")String eTime, @Param("amount") BigDecimal amount); |
| | | |
| | | Integer queryBycode(String code); |
| | | } |
| | |
| | | List<BillingRequest> queryCancelDatas(Integer appUserId, String monthStart, String monthEnd); |
| | | |
| | | List<PaymentCompetition> listAll(CompetitionQuery query); |
| | | |
| | | Integer queryByCode(String code); |
| | | } |
| | |
| | | |
| | | return paymentCompetitionMapper.listAll(query,STime,ETime,query.getAmount()); |
| | | } |
| | | |
| | | @Override |
| | | public Integer queryByCode(String code) { |
| | | return this.baseMapper.queryBycode(code); |
| | | } |
| | | } |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="queryBycode" resultType="java.lang.Integer"> |
| | | SELECT cp.storeId |
| | | FROM t_course_package_payment py |
| | | LEFT JOIN t_course_package cp ON py.coursePackageId = cp.id |
| | | WHERE py.code = #{code} |
| | | </select> |
| | | </mapper> |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | @Autowired |
| | | private TCoursePackagePaymentService packagePaymentService; |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/coursePackage/queryByCode") |
| | | public Integer queryByCode(@RequestBody String code){ |
| | | |
| | | |
| | | return packagePaymentService.listStoreId(code); |
| | | } |
| | | /** |
| | | * 根据id获取课包 |
| | | */ |
| | |
| | | |
| | | List<TCoursePackagePayment> listOne(@Param("ids") List<Integer> ids); |
| | | |
| | | Integer queryStore(String code); |
| | | } |
| | |
| | | List<Map<String, Object>> bypac(PacQueryDto pacQueryDto); |
| | | List<TCoursePackagePayment> listOne(List<Integer> ids); |
| | | |
| | | Integer listStoreId(String code); |
| | | } |
| | |
| | | return this.baseMapper.listOne(ids); |
| | | } |
| | | |
| | | @Override |
| | | public Integer listStoreId(String code) { |
| | | return this.baseMapper.queryStore(code); |
| | | } |
| | | |
| | | /** |
| | | * 获取课包购买人数 |
| | | * @param coursePackageId |
| | |
| | | <select id="listOne" resultType="com.dsh.course.entity.TCoursePackagePayment"> |
| | | select * from t_course_package_payment where appUserId in <foreach collection="ids" separator="," open="(" item="id" close=")">#{id}</foreach> |
| | | </select> |
| | | <select id="queryStore" resultType="java.lang.Integer"> |
| | | SELECT |
| | | tc.storeId |
| | | FROM |
| | | t_payment_competition pc |
| | | LEFT JOIN t_competition tc on pc.competitionId = tc.id |
| | | WHERE pc.code=#{code} |
| | | </select> |
| | | |
| | | <update id="updateBytime"> |
| | | update t_course_package_payment |
New file |
| | |
| | | package com.dsh.course.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dsh.guns.modular.system.model.TGameConfig; |
| | | |
| | | |
| | | /** |
| | | * <p> |
| | | * 游戏配置 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author administrator |
| | | * @since 2023-09-18 |
| | | */ |
| | | public interface TGameConfigMapper extends BaseMapper<TGameConfig> { |
| | | |
| | | } |
New file |
| | |
| | | package com.dsh.course.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.dsh.guns.modular.system.model.TGameConfig; |
| | | |
| | | /** |
| | | * <p> |
| | | * 游戏配置 服务类 |
| | | * </p> |
| | | * |
| | | * @author administrator |
| | | * @since 2023-09-18 |
| | | */ |
| | | public interface TGameConfigService extends IService<TGameConfig> { |
| | | |
| | | } |
New file |
| | |
| | | package com.dsh.course.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.course.mapper.TGameConfigMapper; |
| | | import com.dsh.course.service.TGameConfigService; |
| | | import com.dsh.guns.modular.system.model.TGameConfig; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 游戏配置 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author administrator |
| | | * @since 2023-09-18 |
| | | */ |
| | | @Service |
| | | public class TGameConfigServiceImpl extends ServiceImpl<TGameConfigMapper, TGameConfig> implements TGameConfigService { |
| | | |
| | | } |
| | |
| | | import com.dsh.guns.modular.system.service.*; |
| | | import com.dsh.guns.modular.system.util.HttpRequestUtil; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import com.sun.org.apache.regexp.internal.RE; |
| | | |
| | | import groovyjarjarpicocli.CommandLine; |
| | | import net.bytebuddy.asm.Advice; |
| | | import org.aspectj.weaver.ast.Var; |
| | |
| | | import com.dsh.course.feignClient.other.BallClient; |
| | | import com.dsh.course.feignClient.other.SiteClient; |
| | | import com.dsh.course.feignClient.other.model.Site; |
| | | import com.dsh.course.service.TGameConfigService; |
| | | import com.dsh.guns.config.UserExt; |
| | | import com.dsh.guns.core.base.controller.BaseController; |
| | | import com.dsh.guns.modular.system.model.*; |
| | |
| | | import com.sun.org.apache.xerces.internal.impl.io.ASCIIReader; |
| | | import io.netty.util.AsciiString; |
| | | import io.rong.util.HttpUtil; |
| | | import io.swagger.models.auth.In; |
| | | import org.apache.commons.lang.StringEscapeUtils; |
| | | import org.apache.logging.log4j.util.Base64Util; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @RequestMapping("/save") |
| | | @ResponseBody |
| | | public ResultUtil save(String operationId,String red, String blue, String province, String city, Integer site, Integer store |
| | | , String kuacheng, BigDecimal kuachengCoin, BigDecimal kuachengCash,String kuachengImage,BigDecimal kuachengInt,Integer kuachengId |
| | | , String shequ, BigDecimal shequCoin, BigDecimal shequCash,String shequImage,BigDecimal shequInt,Integer shequId |
| | | , String shemen, BigDecimal shemenCoin, BigDecimal shemenCash,String shemenImage,BigDecimal shemenInt,Integer shemenId |
| | | , String sudu, BigDecimal suduCoin, BigDecimal suduCash,String suduImage,BigDecimal suduInt,Integer suduId |
| | | , String fangkuai, BigDecimal fangkuaiCoin, BigDecimal fangkuaiCash,String fangkuaiImage,BigDecimal fangkuaiInt,Integer fangkuaiId |
| | | , String jx, BigDecimal jxCoin, BigDecimal jxCash,String jxImage,BigDecimal jxInt,Integer jxId |
| | | , String sq, BigDecimal sqCoin, BigDecimal sqCash,String sqImage,BigDecimal sqInt,Integer sqId |
| | | , String zs, BigDecimal zsCoin, BigDecimal zsCash,String zsImage,BigDecimal zsInt,Integer zsId |
| | | , String zs2, BigDecimal zs2Coin, BigDecimal zs2Cash,String zs2Image,BigDecimal zs2Int,Integer zs2Id |
| | | , String ly, BigDecimal lyCoin, BigDecimal lyCash,String lyImage,BigDecimal lyInt,Integer lyId |
| | | public ResultUtil save(Integer id, String operationId, String red, String blue, String province, String city, Integer site, Integer store |
| | | , String kuacheng, BigDecimal kuachengCoin, BigDecimal kuachengCash, String kuachengImage, BigDecimal kuachengInt, Integer kuachengId,Integer kcId |
| | | , String shequ, BigDecimal shequCoin, BigDecimal shequCash, String shequImage, BigDecimal shequInt, Integer shequId,Integer shequIId |
| | | , String shemen, BigDecimal shemenCoin, BigDecimal shemenCash, String shemenImage, BigDecimal shemenInt, Integer shemenId,Integer smId |
| | | , String sudu, BigDecimal suduCoin, BigDecimal suduCash, String suduImage, BigDecimal suduInt, Integer suduId,Integer sdId |
| | | , String fangkuai, BigDecimal fangkuaiCoin, BigDecimal fangkuaiCash, String fangkuaiImage, BigDecimal fangkuaiInt, Integer fangkuaiId,Integer fkId |
| | | , String jx, BigDecimal jxCoin, BigDecimal jxCash, String jxImage, BigDecimal jxInt, Integer jxId,Integer jxIId |
| | | , String sq, BigDecimal sqCoin, BigDecimal sqCash, String sqImage, BigDecimal sqInt, Integer sqId,Integer qwId |
| | | , String zs, BigDecimal zsCoin, BigDecimal zsCash, String zsImage, BigDecimal zsInt, Integer zsId,Integer zsIId |
| | | , String zs2, BigDecimal zs2Coin, BigDecimal zs2Cash, String zs2Image, BigDecimal zs2Int, Integer zs2Id,Integer zs2IId |
| | | , String ly, BigDecimal lyCoin, BigDecimal lyCash, String lyImage, BigDecimal lyInt, Integer lyId,Integer lyIId |
| | | |
| | | |
| | | |
| | |
| | | game.setCityCode(city); |
| | | game.setSiteId(site); |
| | | game.setStoreId(store); |
| | | game.setId(id); |
| | | |
| | | |
| | | if (!operationId.equals("平台")){ |
| | |
| | | //玩湃跨城赛 |
| | | |
| | | TGameConfig gameConfigkuacheng = new TGameConfig(); |
| | | gameConfigkuacheng.setId(kcId); |
| | | gameConfigkuacheng.setGameId(kuachengId); |
| | | gameConfigkuacheng.setCash(kuachengCash); |
| | | gameConfigkuacheng.setImg(kuachengImage); |
| | |
| | | //社区冠军赛 |
| | | |
| | | TGameConfig gameConfigshequ = new TGameConfig(); |
| | | gameConfigshequ.setId(shequIId); |
| | | gameConfigshequ.setGameId(shequId); |
| | | gameConfigshequ.setCash(shequCash); |
| | | gameConfigshequ.setImg(shequImage); |
| | | gameConfigshequ.setName(shequ); |
| | | gameConfigshequ.setPlayCoin(shequCoin); |
| | | gameConfigshequ.setIntegral(shequInt); |
| | | gameConfigshequ.setOtherId(shequId); |
| | | gameConfigshequ.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigshequ); |
| | | |
| | | //射门速度-玩湃熊之力 |
| | | TGameConfig gameConfigshemen = new TGameConfig(); |
| | | gameConfigshemen.setGameId(shemenId); |
| | | gameConfigshemen.setId(smId); |
| | | gameConfigshemen.setCash(shemenCash); |
| | | gameConfigshemen.setImg(shemenImage); |
| | | gameConfigshemen.setName(shemen); |
| | | gameConfigshemen.setPlayCoin(shemenCoin); |
| | | gameConfigshemen.setIntegral(shemenInt); |
| | | gameConfigshemen.setOtherId(shemenId); |
| | | gameConfigshemen.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigshemen); |
| | | |
| | | |
| | | //玩湃熊之力-速度 |
| | | TGameConfig gameConfigsudu = new TGameConfig(); |
| | | gameConfigsudu.setGameId(suduId); |
| | | gameConfigsudu.setGameId(suduId);gameConfigsudu.setId(sdId); |
| | | gameConfigsudu.setCash(suduCash); |
| | | gameConfigsudu.setImg(suduImage); |
| | | gameConfigsudu.setName(sudu); |
| | | gameConfigsudu.setPlayCoin(suduCoin); |
| | | gameConfigsudu.setIntegral(suduInt); |
| | | gameConfigsudu.setOtherId(suduId); |
| | | gameConfigsudu.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigsudu); |
| | | |
| | | |
| | | //方块球王 |
| | | TGameConfig gameConfigfangkuai = new TGameConfig(); |
| | | gameConfigfangkuai.setGameId(fangkuaiId); |
| | | gameConfigfangkuai.setId(fkId); |
| | | gameConfigfangkuai.setCash(fangkuaiCash); |
| | | gameConfigfangkuai.setImg(fangkuaiImage); |
| | | gameConfigfangkuai.setName(fangkuai); |
| | | gameConfigfangkuai.setPlayCoin(fangkuaiCoin); |
| | | gameConfigfangkuai.setIntegral(fangkuaiInt); |
| | | gameConfigfangkuai.setOtherId(fangkuaiId); |
| | | gameConfigfangkuai.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigfangkuai); |
| | | |
| | | |
| | | //镜像阵容 |
| | | TGameConfig gameConfigjx = new TGameConfig(); |
| | | gameConfigjx.setGameId(jxId); |
| | | gameConfigjx.setId(jxIId); |
| | | gameConfigjx.setCash(jxCash); |
| | | gameConfigjx.setImg(jxImage); |
| | | gameConfigjx.setName(jx); |
| | | gameConfigjx.setPlayCoin(jxCoin); |
| | | gameConfigjx.setIntegral(jxInt); |
| | | gameConfigjx.setOtherId(jxId); |
| | | gameConfigjx.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigjx); |
| | | |
| | | |
| | | //社区小球王 |
| | | TGameConfig gameConfigsq = new TGameConfig(); |
| | | gameConfigsq.setGameId(sqId); |
| | | gameConfigsq.setId(qwId); |
| | | gameConfigsq.setCash(sqCash); |
| | | gameConfigsq.setImg(sqImage); |
| | | gameConfigsq.setName(sq); |
| | | gameConfigsq.setPlayCoin(sqCoin); |
| | | gameConfigsq.setIntegral(sqInt); |
| | | gameConfigsq.setOtherId(sqId); |
| | | gameConfigsq.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigsq); |
| | | |
| | | |
| | |
| | | //涨姿势 |
| | | TGameConfig gameConfigzs = new TGameConfig(); |
| | | gameConfigzs.setGameId(zsId); |
| | | gameConfigzs.setId(zsIId); |
| | | gameConfigzs.setCash(zsCash); |
| | | gameConfigzs.setImg(zsImage); |
| | | gameConfigzs.setName(zs); |
| | | gameConfigzs.setPlayCoin(zsCoin); |
| | | gameConfigzs.setIntegral(zsInt); |
| | | gameConfigzs.setOtherId(zsId); |
| | | gameConfigzs.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigzs); |
| | | |
| | | //涨姿势2 |
| | | TGameConfig gameConfigzs2 = new TGameConfig(); |
| | | gameConfigzs2.setGameId(zs2Id); |
| | | gameConfigzs2.setGameId(zs2Id);gameConfigzs2.setId(zs2IId); |
| | | gameConfigzs2.setCash(zs2Cash); |
| | | gameConfigzs2.setImg(zs2Image); |
| | | gameConfigzs2.setName(zs2); |
| | | gameConfigzs2.setPlayCoin(zs2Coin); |
| | | gameConfigzs2.setIntegral(zs2Int); |
| | | gameConfigzs2.setOtherId(zs2Id); |
| | | gameConfigzs2.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigzs2); |
| | | |
| | | //绿茵密码 |
| | | TGameConfig gameConfigly = new TGameConfig(); |
| | | gameConfigly.setGameId(lyId); |
| | | gameConfigly.setId(lyIId); |
| | | gameConfigly.setCash(lyCash); |
| | | gameConfigly.setImg(lyImage); |
| | | gameConfigly.setName(ly); |
| | | gameConfigly.setPlayCoin(lyCoin); |
| | | gameConfigly.setIntegral(lyInt); |
| | | gameConfigly.setOtherId(lyId); |
| | | gameConfigly.setOtherId(gameId); |
| | | gameConfigList.add(gameConfigly); |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | private TGameConfigService gameConfigService; |
| | | @RequestMapping("/pre_edit/{id}") |
| | | public String pre_edit(@PathVariable("id") Integer id,Model model) { |
| | | |
| | |
| | | System.out.println("---------game------"+game); |
| | | model.addAttribute("game",game); |
| | | |
| | | |
| | | TGameConfig kc = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 14)); |
| | | model.addAttribute("kc",kc); |
| | | |
| | | |
| | | TGameConfig sq = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 16)); |
| | | model.addAttribute("sq",sq); |
| | | |
| | | |
| | | TGameConfig sm = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 13)); |
| | | model.addAttribute("sm",sm); |
| | | |
| | | TGameConfig sd = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 15)); |
| | | model.addAttribute("sd",sd); |
| | | |
| | | TGameConfig fk = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 1)); |
| | | model.addAttribute("fk",fk); |
| | | |
| | | TGameConfig jx = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 7)); |
| | | model.addAttribute("jx",jx); |
| | | |
| | | TGameConfig qw = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 8)); |
| | | model.addAttribute("qw",qw); |
| | | |
| | | TGameConfig zs = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 10)); |
| | | model.addAttribute("zs",zs); |
| | | |
| | | TGameConfig zs2 = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 11)); |
| | | model.addAttribute("zs2",zs2); |
| | | |
| | | TGameConfig ly = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 5)); |
| | | model.addAttribute("ly",ly); |
| | | |
| | | |
| | | |
| | | return PREFIX+"ball_pre_edit.html"; |
| | | } |
| | | |
| | |
| | | @TableField("gameId") |
| | | private Integer gameId; |
| | | |
| | | |
| | | @TableField("otherId") |
| | | private Integer otherId; |
| | | |
| | | @Override |
| | |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "value":"", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | |
| | | "type": "select", |
| | | "label": "所在市:", |
| | | "name": "city", |
| | | "value":"", |
| | | "id": "u:14bafe37d5f3", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | |
| | | "type": "select", |
| | | "label": "所属门店:", |
| | | "name": "store", |
| | | "value":"", |
| | | "id": "u:576899b1b531", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | |
| | | "type": "select", |
| | | "label": "所属场地:", |
| | | "name": "site", |
| | | "value":"", |
| | | "id": "u:0d288f4bdd8e", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | |
| | | }, |
| | | "value": "", |
| | | "required": true |
| | | |
| | | , |
| | | "value":"" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "clearValueOnHidden": false, |
| | | "hidden": false, |
| | | "required": true |
| | | |
| | | , |
| | | "value":"" |
| | | }, |
| | | { |
| | | "type": "button", |
| | |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | },{ |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "id", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${game.id}` |
| | | } |
| | | , |
| | | { |
| | | "type": "select", |
| | | "label": "", |
| | | "name": "operationId", |
| | |
| | | } |
| | | }, |
| | | "labelField": "value", |
| | | "valueField": "id" |
| | | "valueField": "id", |
| | | "value":`${game.operationId}` |
| | | },{ |
| | | "type": "checkbox", |
| | | "option": "平台", |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${kc.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "玩湃跨城赛" |
| | | },{ |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kcId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${kc.id}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | ,"value" :`${kc.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "kuachengCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value" :`${kc.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "kuachengInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${kc.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sq.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shequImage", |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${sq.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "shequCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "shequCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "shequInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "smId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sm.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shemenImage", |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${sm.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "shemenCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "shemenCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "shemenInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sdId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sd.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${sd.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "suduCoin", |
| | | "id": "u:b6faed384d78", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "suduCash", |
| | | "id": "u:c7181c9b3ded", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "suduInt", |
| | | "id": "u:ee897e373acb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fkId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${fk.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${fk.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "fangkuaiCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${fk.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "fangkuaiCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${fk.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "fangkuaiInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value" :`${fk.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jxIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${jx.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${jx.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "jxCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "jxCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "jxInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "qwId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${qw.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${qw.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "sqCoin", |
| | | "id": "u:a58559426478", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "sqCash", |
| | | "id": "u:e563cc483458", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "sqInt", |
| | | "id": "u:688f4b7c3392", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zsIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${zs.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${zs.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "zsCoin", |
| | | "id": "u:af69b1a1d9cb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "zsCash", |
| | | "id": "u:8ba3c740b10c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "zsInt", |
| | | "id": "u:6d91bb154939", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | }, |
| | | { |
| | | "body": [ |
| | | |
| | | |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2IId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${zs2.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${zs2.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "zs2Coin", |
| | | "id": "u:b29c25f053d9", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "zs2Cash", |
| | | "id": "u:88a44c71abb0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "zs2Int", |
| | | "id": "u:fb82b3cf486c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "lyIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${ly.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | "fixedSize": false, |
| | | "value":`${ly.img}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "id": "u:c4a543b6cda0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区小球王" |
| | | "value": "绿茵密码" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "name": "lyCoin", |
| | | "id": "u:d78d236c5f95", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "lyCash", |
| | | "id": "u:20b24611e53c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "name": "lyInt", |
| | | "id": "u:25e10253effb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | |
| | | |
| | | |
| | | gameService.save(game); |
| | | gameService.saveOrUpdate(game); |
| | | System.out.println("==========="+game); |
| | | return game.getId(); |
| | | } |
| | |
| | | @PostMapping("/saveConfig") |
| | | public void saveConfig(@RequestBody List<TGameConfig> gameConfigList){ |
| | | System.out.println("=======gameConfigList===="+gameConfigList); |
| | | config.saveBatch(gameConfigList); |
| | | config.saveOrUpdateBatch(gameConfigList); |
| | | // return game.getId(); |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/site/queryByCode") |
| | | public Integer queryByCode(@RequestBody String code){ |
| | | |
| | | return siteBookingService.queryByCode(code); |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/site/getNewAddSiteList") |
| | | public List<SiteVo> getAppUserSiteList(){ |
| | | List<SiteVo> siteVos = new ArrayList<>(); |
| | |
| | | |
| | | List<SiteBooking> listAll(@Param("query")SiteBookingQuery query, @Param("sTime")String sTime, @Param("eTime")String eTime, @Param("amount") BigDecimal amount); |
| | | |
| | | Integer queryByCode(String code); |
| | | } |
| | |
| | | List<BillingRequestOfType> queryDatas(Integer appUserId, String monthStart, String monthEnd); |
| | | |
| | | List<SiteBooking> listAll(SiteBookingQuery query); |
| | | |
| | | Integer queryByCode(String code); |
| | | } |
| | |
| | | |
| | | return siteBookingMapper.listAll(query,STime,ETime,query.getAmount()); |
| | | } |
| | | |
| | | @Override |
| | | public Integer queryByCode(String code) { |
| | | return this.baseMapper.queryByCode(code); |
| | | } |
| | | } |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="queryByCode" resultType="java.lang.Integer"> |
| | | SELECT storeId |
| | | from t_site_booking |
| | | WHERE orderNo = #{code} |
| | | |
| | | |
| | | |
| | | |
| | | </select> |
| | | </mapper> |