From b96a251fd84b5dac537a7e93f6df4bafcddb68a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=9F=A9=E9=B9=8F=E8=BE=89?= <18322780655@163.com>
Date: Thu, 21 Mar 2024 10:17:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 262 +++++
.../system/cashierservice/Shell.java | 55 ++
.../cashierservice/annotation/OpLog.java | 32 +
.../cashierservice/annotation/ResultCode.java | 41 +
.../cashierservice/cache/DataCache.java | 176 ++++
.../controller/CloudPrinterController.java | 48 +
.../controller/LoginContoller.java | 46 +
.../controller/MemberController.java | 91 ++
.../controller/NotifyController.java | 27 +
.../controller/OrderController.java | 117 +++
.../controller/PayController.java | 134 +++
.../controller/ProductController.java | 69 ++
.../controller/ShopInfoController.java | 62 ++
.../dao/CodeColumnConfigMapper.java | 17 +
.../dao/CodeGenConfigMapper.java | 17 +
.../cashierservice/dao/GUserSetMapper.java | 17 +
.../cashierservice/dao/MntAppMapper.java | 17 +
.../cashierservice/dao/MntDatabaseMapper.java | 17 +
.../dao/MntDeployHistoryMapper.java | 17 +
.../cashierservice/dao/MntDeployMapper.java | 17 +
.../dao/MntDeployServerMapper.java | 11 +
.../cashierservice/dao/MntServerMapper.java | 17 +
.../dao/ShopUserDutyDetailMapper.java | 29 +
.../dao/ShopUserDutyMapper.java | 35 +
.../dao/ShopUserDutyPayMapper.java | 24 +
.../cashierservice/dao/SysDeptMapper.java | 17 +
.../dao/SysDictDetailMapper.java | 17 +
.../cashierservice/dao/SysDictMapper.java | 17 +
.../cashierservice/dao/SysJobMapper.java | 17 +
.../cashierservice/dao/SysLogMapper.java | 20 +
.../cashierservice/dao/SysMenuMapper.java | 17 +
.../dao/SysQuartzJobMapper.java | 17 +
.../dao/SysQuartzLogMapper.java | 19 +
.../cashierservice/dao/SysRoleMapper.java | 17 +
.../dao/SysRolesDeptsMapper.java | 11 +
.../dao/SysRolesMenusMapper.java | 11 +
.../cashierservice/dao/SysUserMapper.java | 17 +
.../dao/SysUsersJobsMapper.java | 11 +
.../dao/SysUsersRolesMapper.java | 11 +
.../dao/TbCashierCartMapper.java | 62 ++
.../dao/TbDeviceOperateInfoMapper.java | 17 +
.../dao/TbDeviceStockMapper.java | 17 +
.../cashierservice/dao/TbMemberInMapper.java | 21 +
.../dao/TbMerchantRegisterMapper.java | 17 +
.../dao/TbMerchantThirdApplyMapper.java | 23 +
.../dao/TbOrderDetailMapper.java | 44 +
.../dao/TbOrderExtendMapper.java | 20 +
.../cashierservice/dao/TbOrderInfoMapper.java | 33 +
.../dao/TbOrderPaymentMapper.java | 23 +
.../dao/TbPlussDeviceGoodsMapper.java | 19 +
.../dao/TbPlussShopStaffMapper.java | 23 +
.../dao/TbPrintMachineMapper.java | 28 +
.../dao/TbProductGroupMapper.java | 19 +
.../cashierservice/dao/TbProductMapper.java | 39 +
.../dao/TbProductSkuMapper.java | 30 +
.../dao/TbProductSkuResultMapper.java | 23 +
.../dao/TbProductSpecMapper.java | 25 +
.../dao/TbProductStockDetailMapper.java | 19 +
.../dao/TbProductStockOperateMapper.java | 19 +
.../dao/TbReceiptSalesMapper.java | 17 +
.../dao/TbRenewalsPayLogMapper.java | 17 +
.../cashierservice/dao/TbShopAreaMapper.java | 27 +
.../dao/TbShopCashSpreadMapper.java | 20 +
.../dao/TbShopCategoryMapper.java | 25 +
.../dao/TbShopCurrencyMapper.java | 20 +
.../cashierservice/dao/TbShopInfoMapper.java | 29 +
.../dao/TbShopOnlineMapper.java | 21 +
.../dao/TbShopPayTypeMapper.java | 30 +
.../dao/TbShopPurveyorMapper.java | 17 +
.../dao/TbShopPurveyorTransactMapper.java | 17 +
.../cashierservice/dao/TbShopTableMapper.java | 26 +
.../cashierservice/dao/TbShopUnitMapper.java | 17 +
.../dao/TbShopUserFlowMapper.java | 26 +
.../cashierservice/dao/TbShopUserMapper.java | 26 +
.../cashierservice/dao/TbTokenMapper.java | 23 +
.../cashierservice/dao/TbUserInfoMapper.java | 17 +
.../dao/TbmerchantAccountMapper.java | 26 +
.../dao/ToolAlipayConfigMapper.java | 20 +
.../dao/ToolEmailConfigMapper.java | 17 +
.../dao/ToolLocalStorageMapper.java | 17 +
.../dao/ToolQiniuConfigMapper.java | 20 +
.../dao/ToolQiniuContentMapper.java | 17 +
.../entity/CodeColumnConfig.java | 147 +++
.../cashierservice/entity/CodeGenConfig.java | 107 ++
.../cashierservice/entity/GUserSet.java | 128 +++
.../system/cashierservice/entity/MntApp.java | 128 +++
.../cashierservice/entity/MntDatabase.java | 98 ++
.../cashierservice/entity/MntDeploy.java | 68 ++
.../entity/MntDeployHistory.java | 68 ++
.../entity/MntDeployServerKey.java | 27 +
.../cashierservice/entity/MntServer.java | 108 +++
.../system/cashierservice/entity/OrderVo.java | 15 +
.../cashierservice/entity/ShopUserDuty.java | 66 ++
.../entity/ShopUserDutyDetail.java | 88 ++
.../entity/ShopUserDutyPay.java | 48 +
.../system/cashierservice/entity/SysDept.java | 108 +++
.../system/cashierservice/entity/SysDict.java | 78 ++
.../cashierservice/entity/SysDictDetail.java | 98 ++
.../system/cashierservice/entity/SysJob.java | 88 ++
.../system/cashierservice/entity/SysLog.java | 108 +++
.../entity/SysLogWithBLOBs.java | 27 +
.../system/cashierservice/entity/SysMenu.java | 198 ++++
.../cashierservice/entity/SysQuartzJob.java | 168 ++++
.../cashierservice/entity/SysQuartzLog.java | 108 +++
.../system/cashierservice/entity/SysRole.java | 98 ++
.../entity/SysRolesDeptsKey.java | 27 +
.../entity/SysRolesMenusKey.java | 27 +
.../system/cashierservice/entity/SysUser.java | 178 ++++
.../entity/SysUsersJobsKey.java | 27 +
.../entity/SysUsersRolesKey.java | 27 +
.../cashierservice/entity/TbCashierCart.java | 63 ++
.../entity/TbDeviceOperateInfo.java | 68 ++
.../cashierservice/entity/TbDeviceStock.java | 249 +++++
.../cashierservice/entity/TbMemberIn.java | 109 +++
.../entity/TbMerchantRegister.java | 198 ++++
.../entity/TbMerchantThirdApply.java | 107 ++
.../cashierservice/entity/TbOrderDetail.java | 42 +
.../cashierservice/entity/TbOrderExtend.java | 97 ++
.../entity/TbOrderExtendWithBLOBs.java | 27 +
.../cashierservice/entity/TbOrderInfo.java | 165 ++++
.../cashierservice/entity/TbOrderPayment.java | 198 ++++
.../entity/TbPlussDeviceGoods.java | 128 +++
.../entity/TbPlussShopStaff.java | 128 +++
.../cashierservice/entity/TbPrintMachine.java | 167 ++++
.../entity/TbPrintMachineWithBLOBs.java | 27 +
.../cashierservice/entity/TbProduct.java | 645 ++++++++++++
.../cashierservice/entity/TbProductGroup.java | 127 +++
.../cashierservice/entity/TbProductSku.java | 53 +
.../entity/TbProductSkuResult.java | 67 ++
.../entity/TbProductSkuWithBLOBs.java | 27 +
.../cashierservice/entity/TbProductSpec.java | 97 ++
.../entity/TbProductStockDetail.java | 268 +++++
.../entity/TbProductStockOperate.java | 147 +++
.../entity/TbProductWithBLOBs.java | 67 ++
.../cashierservice/entity/TbReceiptSales.java | 207 ++++
.../entity/TbRenewalsPayLog.java | 148 +++
.../cashierservice/entity/TbShopArea.java | 97 ++
.../entity/TbShopCashSpread.java | 37 +
.../entity/TbShopCashSpreadWithBLOBs.java | 57 ++
.../cashierservice/entity/TbShopCategory.java | 157 +++
.../cashierservice/entity/TbShopCurrency.java | 208 ++++
.../entity/TbShopCurrencyWithBLOBs.java | 27 +
.../cashierservice/entity/TbShopInfo.java | 448 +++++++++
.../cashierservice/entity/TbShopOnline.java | 68 ++
.../cashierservice/entity/TbShopPayType.java | 147 +++
.../cashierservice/entity/TbShopPurveyor.java | 137 +++
.../entity/TbShopPurveyorTransact.java | 138 +++
.../cashierservice/entity/TbShopTable.java | 158 +++
.../cashierservice/entity/TbShopUnit.java | 107 ++
.../cashierservice/entity/TbShopUser.java | 288 ++++++
.../cashierservice/entity/TbShopUserFlow.java | 79 ++
.../system/cashierservice/entity/TbToken.java | 108 +++
.../cashierservice/entity/TbUserInfo.java | 458 +++++++++
.../entity/TbmerchantAccount.java | 217 +++++
.../entity/ToolAlipayConfig.java | 97 ++
.../entity/ToolAlipayConfigWithBLOBs.java | 27 +
.../entity/ToolEmailConfig.java | 67 ++
.../entity/ToolLocalStorage.java | 118 +++
.../entity/ToolQiniuConfig.java | 57 ++
.../entity/ToolQiniuConfigWithBLOBs.java | 27 +
.../entity/ToolQiniuContent.java | 88 ++
.../cashierservice/entity/po/CartPo.java | 15 +
.../entity/po/OrderDetailPo.java | 16 +
.../cashierservice/entity/po/OrderPo.java | 25 +
.../cashierservice/entity/po/QueryCartPo.java | 13 +
.../cashierservice/entity/vo/CartVo.java | 18 +
.../exception/MsgException.java | 102 ++
.../interceptor/CustomFilter.java | 39 +
.../interceptor/CustomGenerator.java | 12 +
.../interceptor/GlobalCorsConfig.java | 30 +
.../interceptor/RequestWrapper.java | 84 ++
.../interceptor/SignInterceptor.java | 119 +++
.../interceptor/WebAppConfigurer.java | 23 +
.../system/cashierservice/model/BaseReq.java | 12 +
.../cashierservice/model/BaseRequest.java | 16 +
.../cashierservice/model/CategoryInfo.java | 23 +
.../cashierservice/model/HandoverInfo.java | 72 ++
.../system/cashierservice/model/LoginReq.java | 14 +
.../cashierservice/model/OrderDetailPO.java | 70 ++
.../system/cashierservice/model/PayReq.java | 51 +
.../cashierservice/model/ReturnOrderReq.java | 38 +
.../cashierservice/model/ReturnWTZInfo.java | 57 ++
.../cashierservice/model/ScanPayReq.java | 40 +
.../cashierservice/model/TradeQueryReq.java | 11 +
.../cashierservice/rabbit/DutyConsumer.java | 273 ++++++
.../rabbit/PrintMechineConsumer.java | 332 +++++++
.../cashierservice/rabbit/RabbitConfig.java | 99 ++
.../rabbit/RabbitConstants.java | 22 +
.../cashierservice/rabbit/RabbitProducer.java | 48 +
.../service/CloudPrinterService.java | 348 +++++++
.../cashierservice/service/LoginService.java | 176 ++++
.../cashierservice/service/MemberService.java | 373 +++++++
.../cashierservice/service/OrderService.java | 626 ++++++++++++
.../cashierservice/service/PayService.java | 636 ++++++++++++
.../service/ProductService.java | 88 ++
.../service/ShopInfoService.java | 89 ++
.../system/cashierservice/sign/CodeEnum.java | 122 +++
.../system/cashierservice/sign/Result.java | 154 +++
.../system/cashierservice/sign/SginAnot.java | 14 +
.../system/cashierservice/sign/SignEnum.java | 16 +
.../system/cashierservice/task/OrderTask.java | 135 +++
.../task/ShopInfoStatusTask.java | 101 ++
.../system/cashierservice/util/AESUtil.java | 62 ++
.../system/cashierservice/util/BeanUtil.java | 205 ++++
.../system/cashierservice/util/DESUtil.java | 73 ++
.../system/cashierservice/util/DateUtils.java | 354 +++++++
.../cashierservice/util/FeieyunPrintUtil.java | 143 +++
.../cashierservice/util/HttpClientUtil.java | 134 +++
.../system/cashierservice/util/IpUtil.java | 80 ++
.../system/cashierservice/util/JSONUtil.java | 210 ++++
.../system/cashierservice/util/MD5Util.java | 158 +++
.../system/cashierservice/util/N.java | 57 ++
.../cashierservice/util/PrinterUtils.java | 298 ++++++
.../system/cashierservice/util/RSAUtils.java | 202 ++++
.../cashierservice/util/RedisConfig.java | 83 ++
.../system/cashierservice/util/RedisCst.java | 16 +
.../system/cashierservice/util/RedisUtil.java | 580 +++++++++++
.../system/cashierservice/util/SHA1Util.java | 85 ++
.../system/cashierservice/util/SignUtils.java | 137 +++
.../cashierservice/util/SnowFlakeUtil.java | 48 +
.../system/cashierservice/util/TokenUtil.java | 109 +++
src/main/resources/application-dev.yml | 56 ++
src/main/resources/application-hph.yml | 59 ++
src/main/resources/application-prod.yml | 57 ++
src/main/resources/application-test.yml | 56 ++
src/main/resources/application.yml | 42 +
.../generator-mapper/generatorConfig.xml | 64 ++
.../mapper/CodeColumnConfigMapper.xml | 199 ++++
.../resources/mapper/CodeGenConfigMapper.xml | 153 +++
src/main/resources/mapper/GUserSetMapper.xml | 177 ++++
src/main/resources/mapper/MntAppMapper.xml | 177 ++++
.../resources/mapper/MntDatabaseMapper.xml | 141 +++
.../mapper/MntDeployHistoryMapper.xml | 106 ++
src/main/resources/mapper/MntDeployMapper.xml | 106 ++
.../mapper/MntDeployServerMapper.xml | 36 +
src/main/resources/mapper/MntServerMapper.xml | 153 +++
.../mapper/ShopUserDutyDetailMapper.xml | 147 +++
.../resources/mapper/ShopUserDutyMapper.xml | 223 +++++
.../mapper/ShopUserDutyPayMapper.xml | 86 ++
src/main/resources/mapper/SysDeptMapper.xml | 153 +++
.../resources/mapper/SysDictDetailMapper.xml | 141 +++
src/main/resources/mapper/SysDictMapper.xml | 117 +++
src/main/resources/mapper/SysJobMapper.xml | 128 +++
src/main/resources/mapper/SysLogMapper.xml | 197 ++++
src/main/resources/mapper/SysMenuMapper.xml | 258 +++++
.../resources/mapper/SysQuartzJobMapper.xml | 224 +++++
.../resources/mapper/SysQuartzLogMapper.xml | 172 ++++
src/main/resources/mapper/SysRoleMapper.xml | 142 +++
.../resources/mapper/SysRolesDeptsMapper.xml | 36 +
.../resources/mapper/SysRolesMenusMapper.xml | 36 +
src/main/resources/mapper/SysUserMapper.xml | 234 +++++
.../resources/mapper/SysUsersJobsMapper.xml | 36 +
.../resources/mapper/SysUsersRolesMapper.xml | 36 +
.../resources/mapper/TbCashierCartMapper.xml | 388 ++++++++
.../mapper/TbDeviceOperateInfoMapper.xml | 106 ++
.../resources/mapper/TbDeviceStockMapper.xml | 318 ++++++
.../resources/mapper/TbMemberInMapper.xml | 153 +++
.../mapper/TbMerchantRegisterMapper.xml | 259 +++++
.../mapper/TbMerchantThirdApplyMapper.xml | 172 ++++
.../resources/mapper/TbOrderDetailMapper.xml | 241 +++++
.../resources/mapper/TbOrderExtendMapper.xml | 183 ++++
.../resources/mapper/TbOrderInfoMapper.xml | 540 +++++++++++
.../resources/mapper/TbOrderPaymentMapper.xml | 263 +++++
.../mapper/TbPlussDeviceGoodsMapper.xml | 198 ++++
.../mapper/TbPlussShopStaffMapper.xml | 181 ++++
.../resources/mapper/TbPrintMachineMapper.xml | 277 ++++++
.../resources/mapper/TbProductGroupMapper.xml | 197 ++++
src/main/resources/mapper/TbProductMapper.xml | 918 ++++++++++++++++++
.../resources/mapper/TbProductSkuMapper.xml | 349 +++++++
.../mapper/TbProductSkuResultMapper.xml | 121 +++
.../resources/mapper/TbProductSpecMapper.xml | 160 +++
.../mapper/TbProductStockDetailMapper.xml | 375 +++++++
.../mapper/TbProductStockOperateMapper.xml | 222 +++++
.../resources/mapper/TbReceiptSalesMapper.xml | 271 ++++++
.../mapper/TbRenewalsPayLogMapper.xml | 199 ++++
.../resources/mapper/TbShopAreaMapper.xml | 163 ++++
.../mapper/TbShopCashSpreadMapper.xml | 143 +++
.../resources/mapper/TbShopCategoryMapper.xml | 223 +++++
.../resources/mapper/TbShopCurrencyMapper.xml | 325 +++++++
.../resources/mapper/TbShopInfoMapper.xml | 625 ++++++++++++
.../resources/mapper/TbShopOnlineMapper.xml | 106 ++
.../resources/mapper/TbShopPayTypeMapper.xml | 208 ++++
.../resources/mapper/TbShopPurveyorMapper.xml | 188 ++++
.../mapper/TbShopPurveyorTransactMapper.xml | 188 ++++
.../resources/mapper/TbShopTableMapper.xml | 230 +++++
.../resources/mapper/TbShopUnitMapper.xml | 153 +++
.../resources/mapper/TbShopUserFlowMapper.xml | 127 +++
.../resources/mapper/TbShopUserMapper.xml | 376 +++++++
src/main/resources/mapper/TbTokenMapper.xml | 144 +++
.../resources/mapper/TbUserInfoMapper.xml | 567 +++++++++++
.../mapper/TbmerchantAccountMapper.xml | 315 ++++++
.../mapper/ToolAlipayConfigMapper.xml | 183 ++++
.../mapper/ToolEmailConfigMapper.xml | 104 ++
.../mapper/ToolLocalStorageMapper.xml | 164 ++++
.../mapper/ToolQiniuConfigMapper.xml | 132 +++
.../mapper/ToolQiniuContentMapper.xml | 128 +++
296 files changed, 34548 insertions(+)
create mode 100644 pom.xml
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/Shell.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/annotation/OpLog.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/annotation/ResultCode.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/cache/DataCache.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/CloudPrinterController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/LoginContoller.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/MemberController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/NotifyController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/OrderController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/PayController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/ProductController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/ShopInfoController.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeColumnConfigMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeGenConfigMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/GUserSetMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntAppMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDatabaseMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployHistoryMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployServerMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/MntServerMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyDetailMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyPayMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDeptMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictDetailMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysJobMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysLogMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysMenuMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzJobMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzLogMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRoleMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesDeptsMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesMenusMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUserMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersJobsMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersRolesMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbCashierCartMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceOperateInfoMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceStockMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMemberInMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantRegisterMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantThirdApplyMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderDetailMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderExtendMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderInfoMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderPaymentMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussDeviceGoodsMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussShopStaffMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPrintMachineMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductGroupMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuResultMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSpecMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockDetailMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockOperateMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbReceiptSalesMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbRenewalsPayLogMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopAreaMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCashSpreadMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCategoryMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCurrencyMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopInfoMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopOnlineMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPayTypeMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorTransactMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopTableMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUnitMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUserFlowMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUserMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbTokenMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbUserInfoMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/TbmerchantAccountMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ToolAlipayConfigMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ToolEmailConfigMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ToolLocalStorageMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ToolQiniuConfigMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/dao/ToolQiniuContentMapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/CodeColumnConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/CodeGenConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/GUserSet.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntApp.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntDatabase.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntDeploy.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntDeployHistory.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntDeployServerKey.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/MntServer.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/OrderVo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ShopUserDuty.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ShopUserDutyDetail.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ShopUserDutyPay.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysDept.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysDict.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysDictDetail.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysJob.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysLog.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysLogWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysMenu.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysQuartzJob.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysQuartzLog.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysRole.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysRolesDeptsKey.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysRolesMenusKey.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysUser.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysUsersJobsKey.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/SysUsersRolesKey.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbCashierCart.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbDeviceOperateInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbDeviceStock.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbMemberIn.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbMerchantRegister.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbMerchantThirdApply.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbOrderDetail.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbOrderExtend.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbOrderExtendWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbOrderInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbOrderPayment.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbPlussDeviceGoods.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbPlussShopStaff.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbPrintMachine.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbPrintMachineWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProduct.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductGroup.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSku.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSkuResult.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSkuWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSpec.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductStockDetail.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductStockOperate.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbReceiptSales.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbRenewalsPayLog.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopArea.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopCashSpread.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopCashSpreadWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopCategory.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopCurrency.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopCurrencyWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopOnline.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopPayType.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopPurveyor.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopPurveyorTransact.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopTable.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopUnit.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopUser.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbShopUserFlow.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbToken.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbUserInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/TbmerchantAccount.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolAlipayConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolAlipayConfigWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolEmailConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolLocalStorage.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolQiniuConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolQiniuConfigWithBLOBs.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/ToolQiniuContent.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/po/CartPo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/po/OrderDetailPo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/po/OrderPo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/po/QueryCartPo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/entity/vo/CartVo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/exception/MsgException.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/CustomFilter.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/CustomGenerator.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/GlobalCorsConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/RequestWrapper.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/SignInterceptor.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/interceptor/WebAppConfigurer.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/BaseReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/BaseRequest.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/CategoryInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/HandoverInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/LoginReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/OrderDetailPO.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/PayReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/ReturnOrderReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/ReturnWTZInfo.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/ScanPayReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/model/TradeQueryReq.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/rabbit/DutyConsumer.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/rabbit/PrintMechineConsumer.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/rabbit/RabbitConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/rabbit/RabbitConstants.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/rabbit/RabbitProducer.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/CloudPrinterService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/LoginService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/MemberService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/OrderService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/ProductService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/service/ShopInfoService.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/sign/CodeEnum.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/sign/Result.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/sign/SginAnot.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/sign/SignEnum.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/task/OrderTask.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/task/ShopInfoStatusTask.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/AESUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/BeanUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/DESUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/DateUtils.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/FeieyunPrintUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/HttpClientUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/IpUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/JSONUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/MD5Util.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/N.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/PrinterUtils.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/RSAUtils.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/RedisConfig.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/RedisCst.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/RedisUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/SHA1Util.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/SignUtils.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/SnowFlakeUtil.java
create mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/util/TokenUtil.java
create mode 100644 src/main/resources/application-dev.yml
create mode 100644 src/main/resources/application-hph.yml
create mode 100644 src/main/resources/application-prod.yml
create mode 100644 src/main/resources/application-test.yml
create mode 100644 src/main/resources/application.yml
create mode 100644 src/main/resources/generator-mapper/generatorConfig.xml
create mode 100644 src/main/resources/mapper/CodeColumnConfigMapper.xml
create mode 100644 src/main/resources/mapper/CodeGenConfigMapper.xml
create mode 100644 src/main/resources/mapper/GUserSetMapper.xml
create mode 100644 src/main/resources/mapper/MntAppMapper.xml
create mode 100644 src/main/resources/mapper/MntDatabaseMapper.xml
create mode 100644 src/main/resources/mapper/MntDeployHistoryMapper.xml
create mode 100644 src/main/resources/mapper/MntDeployMapper.xml
create mode 100644 src/main/resources/mapper/MntDeployServerMapper.xml
create mode 100644 src/main/resources/mapper/MntServerMapper.xml
create mode 100644 src/main/resources/mapper/ShopUserDutyDetailMapper.xml
create mode 100644 src/main/resources/mapper/ShopUserDutyMapper.xml
create mode 100644 src/main/resources/mapper/ShopUserDutyPayMapper.xml
create mode 100644 src/main/resources/mapper/SysDeptMapper.xml
create mode 100644 src/main/resources/mapper/SysDictDetailMapper.xml
create mode 100644 src/main/resources/mapper/SysDictMapper.xml
create mode 100644 src/main/resources/mapper/SysJobMapper.xml
create mode 100644 src/main/resources/mapper/SysLogMapper.xml
create mode 100644 src/main/resources/mapper/SysMenuMapper.xml
create mode 100644 src/main/resources/mapper/SysQuartzJobMapper.xml
create mode 100644 src/main/resources/mapper/SysQuartzLogMapper.xml
create mode 100644 src/main/resources/mapper/SysRoleMapper.xml
create mode 100644 src/main/resources/mapper/SysRolesDeptsMapper.xml
create mode 100644 src/main/resources/mapper/SysRolesMenusMapper.xml
create mode 100644 src/main/resources/mapper/SysUserMapper.xml
create mode 100644 src/main/resources/mapper/SysUsersJobsMapper.xml
create mode 100644 src/main/resources/mapper/SysUsersRolesMapper.xml
create mode 100644 src/main/resources/mapper/TbCashierCartMapper.xml
create mode 100644 src/main/resources/mapper/TbDeviceOperateInfoMapper.xml
create mode 100644 src/main/resources/mapper/TbDeviceStockMapper.xml
create mode 100644 src/main/resources/mapper/TbMemberInMapper.xml
create mode 100644 src/main/resources/mapper/TbMerchantRegisterMapper.xml
create mode 100644 src/main/resources/mapper/TbMerchantThirdApplyMapper.xml
create mode 100644 src/main/resources/mapper/TbOrderDetailMapper.xml
create mode 100644 src/main/resources/mapper/TbOrderExtendMapper.xml
create mode 100644 src/main/resources/mapper/TbOrderInfoMapper.xml
create mode 100644 src/main/resources/mapper/TbOrderPaymentMapper.xml
create mode 100644 src/main/resources/mapper/TbPlussDeviceGoodsMapper.xml
create mode 100644 src/main/resources/mapper/TbPlussShopStaffMapper.xml
create mode 100644 src/main/resources/mapper/TbPrintMachineMapper.xml
create mode 100644 src/main/resources/mapper/TbProductGroupMapper.xml
create mode 100644 src/main/resources/mapper/TbProductMapper.xml
create mode 100644 src/main/resources/mapper/TbProductSkuMapper.xml
create mode 100644 src/main/resources/mapper/TbProductSkuResultMapper.xml
create mode 100644 src/main/resources/mapper/TbProductSpecMapper.xml
create mode 100644 src/main/resources/mapper/TbProductStockDetailMapper.xml
create mode 100644 src/main/resources/mapper/TbProductStockOperateMapper.xml
create mode 100644 src/main/resources/mapper/TbReceiptSalesMapper.xml
create mode 100644 src/main/resources/mapper/TbRenewalsPayLogMapper.xml
create mode 100644 src/main/resources/mapper/TbShopAreaMapper.xml
create mode 100644 src/main/resources/mapper/TbShopCashSpreadMapper.xml
create mode 100644 src/main/resources/mapper/TbShopCategoryMapper.xml
create mode 100644 src/main/resources/mapper/TbShopCurrencyMapper.xml
create mode 100644 src/main/resources/mapper/TbShopInfoMapper.xml
create mode 100644 src/main/resources/mapper/TbShopOnlineMapper.xml
create mode 100644 src/main/resources/mapper/TbShopPayTypeMapper.xml
create mode 100644 src/main/resources/mapper/TbShopPurveyorMapper.xml
create mode 100644 src/main/resources/mapper/TbShopPurveyorTransactMapper.xml
create mode 100644 src/main/resources/mapper/TbShopTableMapper.xml
create mode 100644 src/main/resources/mapper/TbShopUnitMapper.xml
create mode 100644 src/main/resources/mapper/TbShopUserFlowMapper.xml
create mode 100644 src/main/resources/mapper/TbShopUserMapper.xml
create mode 100644 src/main/resources/mapper/TbTokenMapper.xml
create mode 100644 src/main/resources/mapper/TbUserInfoMapper.xml
create mode 100644 src/main/resources/mapper/TbmerchantAccountMapper.xml
create mode 100644 src/main/resources/mapper/ToolAlipayConfigMapper.xml
create mode 100644 src/main/resources/mapper/ToolEmailConfigMapper.xml
create mode 100644 src/main/resources/mapper/ToolLocalStorageMapper.xml
create mode 100644 src/main/resources/mapper/ToolQiniuConfigMapper.xml
create mode 100644 src/main/resources/mapper/ToolQiniuContentMapper.xml
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..35555bf
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,262 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.3
+
+
+ com.chaozhangui.system.cashservice
+ cashier-client
+ 1.0.0
+
+
+ 8
+ 8
+ UTF-8
+
+
+
+
+
+ org.apache.commons
+ commons-lang3
+
+
+
+ commons-io
+ commons-io
+ 2.4
+
+
+
+
+ org.apache.httpcomponents
+ httpclient
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ 2.4.0
+
+
+ cn.hutool
+ hutool-all
+ 4.5.18
+
+
+ com.alibaba
+ fastjson
+ 1.2.9
+
+
+ org.projectlombok
+ lombok
+
+
+
+ org.apache.commons
+ commons-lang3
+
+
+
+ commons-beanutils
+ commons-beanutils
+ 1.9.4
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.1
+
+
+ org.mybatis.generator
+ mybatis-generator-core
+ 1.3.5
+
+
+
+ org.springframework.boot
+ spring-boot-starter-validation
+
+
+ mysql
+ mysql-connector-java
+ runtime
+
+
+
+
+ org.apache.commons
+ commons-lang3
+ 3.5
+
+
+
+ org.aspectj
+ aspectjweaver
+ 1.9.5
+
+
+
+ org.springframework.boot
+ spring-boot-starter-webflux
+
+
+
+ io.jsonwebtoken
+ jjwt
+ 0.9.1
+
+
+
+ org.springframework.boot
+ spring-boot-starter-redis
+ 1.4.7.RELEASE
+
+
+
+ redis.clients
+ jedis
+
+
+ org.springframework.data
+ spring-data-redis
+
+
+
+
+ com.google.guava
+ guava
+ 20.0
+
+
+
+ org.apache.commons
+ commons-lang3
+ 3.6
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.5.2
+
+
+
+ org.apache.httpcomponents
+ httpmime
+ 4.5.2
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.48
+
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.5.2
+
+
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.2.5
+
+
+ org.springframework.boot
+ spring-boot-starter-amqp
+ 1.5.2.RELEASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.7.0
+
+ UTF-8
+ 1.8
+ 1.8
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 1.4.2.RELEASE
+
+ com.chaozhanggui.system.cashierservice.Shell
+ ./
+ true
+ true
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.7
+
+
+ false
+
+ false
+
+ src/main/resources/generator-mapper/generatorConfig.xml
+
+
+
+ mysql
+ mysql-connector-java
+ 8.0.17
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/Shell.java b/src/main/java/com/chaozhanggui/system/cashierservice/Shell.java
new file mode 100644
index 0000000..12c43be
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/Shell.java
@@ -0,0 +1,55 @@
+package com.chaozhanggui.system.cashierservice;
+
+
+import lombok.extern.slf4j.Slf4j;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.domain.EntityScan;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.CommandLineRunner;
+import org.springframework.context.ApplicationContext;
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.context.annotation.EnableAspectJAutoProxy;
+import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
+import org.springframework.scheduling.annotation.EnableScheduling;
+import org.springframework.web.client.RestTemplate;
+
+@SpringBootApplication
+@EnableScheduling
+@EntityScan(basePackageClasses = {Shell.class})
+@MapperScan(basePackageClasses ={Shell.class} )
+@ComponentScan(basePackageClasses ={Shell.class})
+@EnableAspectJAutoProxy(proxyTargetClass = true)
+@Slf4j
+public class Shell {
+
+ private static Logger logger = LoggerFactory.getLogger(Shell.class);
+
+ public static void main(String[] args) {
+ SpringApplication springApplication = new SpringApplication(Shell.class);
+ springApplication.run(args);
+ }
+ @Bean
+ RestTemplate restTemplate(){
+ return new RestTemplate();
+ }
+
+ @Bean
+ public CommandLineRunner commandLineRunner(ApplicationContext ctx) {
+ return (args) -> {
+ logger.info("=========================启动完成==========================");
+ };
+ }
+
+
+ @Bean
+ public static PropertySourcesPlaceholderConfigurer placeholderConfigurer() {
+ PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer = new PropertySourcesPlaceholderConfigurer();
+ propertySourcesPlaceholderConfigurer.setIgnoreUnresolvablePlaceholders(true);
+ return propertySourcesPlaceholderConfigurer;
+ }
+
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/annotation/OpLog.java b/src/main/java/com/chaozhanggui/system/cashierservice/annotation/OpLog.java
new file mode 100644
index 0000000..1d443bb
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/annotation/OpLog.java
@@ -0,0 +1,32 @@
+package com.chaozhanggui.system.cashierservice.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * @author DJH
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface OpLog {
+
+ /**
+ * 操作日志code
+ * @return 操作code
+ */
+ String opCode() default "";
+
+ /**
+ * 操作日志-详情
+ * @return 操作详情
+ */
+ String opDetail() default "";
+
+ /**
+ * 操作日志名称
+ * @return 操作名称
+ */
+ String opName() default "";
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/annotation/ResultCode.java b/src/main/java/com/chaozhanggui/system/cashierservice/annotation/ResultCode.java
new file mode 100644
index 0000000..b54f9b3
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/annotation/ResultCode.java
@@ -0,0 +1,41 @@
+package com.chaozhanggui.system.cashierservice.annotation;
+
+/**
+ * 响应码枚举,参考HTTP状态码的语义
+ */
+public enum ResultCode {
+ //成功
+ SUCCESS(200),
+ //失败
+ FAIL(400),
+ //未认证(签名错误)
+ UNAUTHORIZED(401),
+ //未认证(签名错误)
+ PARAM_ERROR(422),
+ // 403
+ FORBIDDEN(403),
+ //接口不存在
+ NOT_FOUND(404),
+ //服务器内部错误
+ INTERNAL_SERVER_ERROR(500),
+ // 服务不可达
+ SERVICE_UNAVAILABLE(503),
+ //未认证(签名错误)
+ NOT_TOKEN(401),
+ //无数据
+ UNDEFINDE(201),
+ /**
+ * 交易未知 查询交易结果
+ */
+ TRANSUNKNOW(202);
+
+ private final int code;
+
+ ResultCode(int code) {
+ this.code = code;
+ }
+
+ public int code() {
+ return code;
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/cache/DataCache.java b/src/main/java/com/chaozhanggui/system/cashierservice/cache/DataCache.java
new file mode 100644
index 0000000..daedf69
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/cache/DataCache.java
@@ -0,0 +1,176 @@
+package com.chaozhanggui.system.cashierservice.cache;
+
+import cn.hutool.core.util.ObjectUtil;
+import com.chaozhanggui.system.cashierservice.dao.TbShopInfoMapper;
+import com.chaozhanggui.system.cashierservice.dao.TbShopOnlineMapper;
+import com.chaozhanggui.system.cashierservice.entity.TbShopInfo;
+import com.chaozhanggui.system.cashierservice.entity.TbShopOnline;
+import com.chaozhanggui.system.cashierservice.util.DateUtils;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Bean;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+
+import java.text.ParseException;
+import java.util.Date;
+import java.util.List;
+import java.util.Objects;
+import java.util.concurrent.ConcurrentHashMap;
+
+@Component
+@Slf4j
+public class DataCache {
+
+
+
+
+
+ @Autowired
+ private TbShopInfoMapper tbShopInfoMapper;
+
+ @Autowired
+ TbShopOnlineMapper tbShopOnlineMapper;
+
+
+
+ public static ConcurrentHashMap concurrentHashMap=new ConcurrentHashMap<>();
+
+
+
+ @Bean
+ public void init(){
+ log.info("加载店铺信息");
+ shopInfo();
+ }
+
+
+ public void shopInfo(){
+ List tbShopInfos= tbShopInfoMapper.selectAll();
+ if(ObjectUtil.isNotEmpty(tbShopInfos)&&tbShopInfos.size()>0){
+ tbShopInfos.parallelStream().forEach(it->{
+ TbShopOnline online= tbShopOnlineMapper.selectByPrimaryKey(it.getId());
+ if(ObjectUtil.isEmpty(online)){
+ online=new TbShopOnline();
+
+ online.setShopId(it.getId());
+ if(it.getBusinessTime()!=null&&ObjectUtil.isNotEmpty(it.getBusinessTime())&&it.getBusinessTime().contains("-")){
+ String[] times=it.getBusinessTime().split("-");
+ String startTimestr=times[0];
+ String entTimestr=times[1];
+
+ Date startTime= DateUtils.fomatDateTime(DateUtils.getDay().concat(" ").concat(startTimestr).concat(":00"));
+ Date entTime= DateUtils.fomatDateTime(DateUtils.getDay().concat(" ").concat(entTimestr).concat(":00"));
+
+ if(entTime.getTime() tbShopInfos=tbShopInfoMapper.selectAllByCreateTime();
+ if(ObjectUtil.isNotEmpty(tbShopInfos)&&tbShopInfos.size()>0){
+ tbShopInfos.parallelStream().forEach(it->{
+ TbShopOnline online= tbShopOnlineMapper.selectByPrimaryKey(it.getId());
+ if(ObjectUtil.isEmpty(online)){
+ online=new TbShopOnline();
+
+ online.setShopId(it.getId());
+ if(it.getBusinessTime()!=null&&ObjectUtil.isNotEmpty(it.getBusinessTime())&&it.getBusinessTime().contains("-")){
+ String[] times=it.getBusinessTime().split("-");
+ String startTimestr=times[0];
+ String entTimestr=times[1];
+
+ Date startTime= DateUtils.fomatDateTime(DateUtils.getDay().concat(" ").concat(startTimestr).concat(":00"));
+ Date entTime= DateUtils.fomatDateTime(DateUtils.getDay().concat(" ").concat(entTimestr).concat(":00"));
+
+ if(entTime.getTime() map
+ ){
+ return memberService.createMember(map);
+ }
+
+
+ @RequestMapping("memberScanPay")
+ public Result memberScanPay(
+ @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestBody Map map
+
+ ){
+ return memberService.memberScanPay(map);
+ }
+
+
+
+ @GetMapping("queryScanPay")
+ public Result queryScanPay(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("flowId") String flowId
+ ){
+ return memberService.queryScanPay(flowId);
+ }
+
+
+
+ @RequestMapping("accountPay")
+ public Result accountPay( @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestBody Map map
+ ){
+ return memberService.memberAccountPay(map);
+ }
+
+
+ @GetMapping("queryMemberAccount")
+ public Result queryMemberAccount(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("memberId") String memberId,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+
+ ){
+ return memberService.queryMemberAccount(memberId,page,pageSize);
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/NotifyController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/NotifyController.java
new file mode 100644
index 0000000..7cfcf74
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/controller/NotifyController.java
@@ -0,0 +1,27 @@
+package com.chaozhanggui.system.cashierservice.controller;
+
+
+import com.alibaba.fastjson.JSON;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.Map;
+
+@CrossOrigin(origins = "*")
+@RestController
+@Slf4j
+@RequestMapping("notify")
+public class NotifyController {
+
+
+
+ @RequestMapping("notifyPay")
+ public String notifyPay(@RequestBody Map map){
+ log.info("notifyPay:{}", JSON.toJSONString(map));
+ return null;
+ }
+
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/OrderController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/OrderController.java
new file mode 100644
index 0000000..216dbcd
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/controller/OrderController.java
@@ -0,0 +1,117 @@
+package com.chaozhanggui.system.cashierservice.controller;
+
+import com.alibaba.fastjson.JSONObject;
+import com.chaozhanggui.system.cashierservice.entity.OrderVo;
+import com.chaozhanggui.system.cashierservice.entity.vo.CartVo;
+import com.chaozhanggui.system.cashierservice.service.OrderService;
+import com.chaozhanggui.system.cashierservice.sign.Result;
+import com.chaozhanggui.system.cashierservice.util.TokenUtil;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+@CrossOrigin(origins = "*")
+@RestController
+@Slf4j
+@RequestMapping("order")
+public class OrderController {
+
+
+ @Autowired
+ private OrderService orderService;
+
+ @PostMapping("/createCart")
+ public Result createCart(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestBody CartVo cartVo
+ ){
+ JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
+ String userId = jsonObject.getString("accountId");
+ return orderService.createCart(cartVo.getMasterId(),cartVo.getProductId(),cartVo.getShopId(),
+ cartVo.getSkuId(),cartVo.getNumber(),userId,clientType,cartVo.getCartId(),cartVo.getIsGift(),
+ cartVo.getIsPack(),cartVo.getUuid(),cartVo.getType());
+ }
+ @GetMapping("/queryCart")
+ public Result queryCart(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("masterId") String masterId,
+ @RequestParam("shopId") String shopId
+ ){
+ return orderService.queryCart(masterId,shopId);
+ }
+ @GetMapping("/delCart")
+ public Result delCart(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("masterId") String masterId,
+ @RequestParam("cartId") Integer cartId
+ ){
+ return orderService.delCart(masterId,cartId);
+ }
+ @GetMapping("/createCode")
+ public Result createCode(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId,
+ String type
+ ){
+ JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
+ String userId = jsonObject.getString("accountId");
+ return orderService.createCode(shopId,clientType,userId,type);
+ }
+ @GetMapping("/getCartList")
+ public Result getCart(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestParam("shopId") Integer shopId){
+ return orderService.getCartList(shopId);
+ }
+ @GetMapping("/getCartPrductSpec")
+ public Result getCartPrductSpec(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestParam("cartId") Integer cartId){
+ return orderService.getCartPrductSpec(cartId);
+ }
+ @PostMapping("/cartStatus")
+ public Result cartStatus(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestBody CartVo cartVo){
+ JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
+ String userId = jsonObject.getString("accountId");
+ String code = jsonObject.getString("code");
+ return orderService.cartStatus(Integer.valueOf(cartVo.getShopId()),cartVo.getMasterId(),cartVo.getStatus(),userId,cartVo.getUuid(),clientType);
+ }
+ @PostMapping("/createOrder")
+ public Result createOrder(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestBody OrderVo orderVo){
+ JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
+ String userId = jsonObject.getString("accountId");
+ orderVo.setMerchantId(Integer.valueOf(userId));
+ orderVo.setUserId(jsonObject.getString("staffId"));
+ return orderService.createOrder(orderVo,clientType,token);
+ }
+ @PostMapping("/packall")
+ public Result packall(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestBody CartVo cartVo){
+ JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
+ String userId = jsonObject.getString("accountId");
+ return orderService.packall(cartVo);
+ }
+ @PostMapping("/clearCart")
+ public Result clearCart(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestBody CartVo cartVo){
+ return orderService.clearCart(cartVo);
+ }
+
+ @GetMapping("/findOrder")
+ public Result findOrder(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestParam("shopId") Integer shopId,
+ @RequestParam("status") String status,@RequestParam("orderNo") String orderNo,@RequestParam(value = "page", required = false, defaultValue = "1") Integer page,
+ @RequestParam(value = "size", required = false, defaultValue = "1") Integer size){
+ return orderService.findOrder(shopId,status,page,size,orderNo);
+ }
+ @GetMapping("/orderDetail")
+ public Result orderDetail(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType, @RequestParam("shopId") Integer shopId,
+ @RequestParam("id") Integer id){
+ return orderService.orderDetail(shopId,id);
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/PayController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/PayController.java
new file mode 100644
index 0000000..ca10c88
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/controller/PayController.java
@@ -0,0 +1,134 @@
+package com.chaozhanggui.system.cashierservice.controller;
+
+import com.chaozhanggui.system.cashierservice.entity.TbOrderDetail;
+import com.chaozhanggui.system.cashierservice.service.PayService;
+import com.chaozhanggui.system.cashierservice.sign.Result;
+import com.chaozhanggui.system.cashierservice.util.IpUtil;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.util.List;
+
+@CrossOrigin(origins = "*")
+@RestController
+@Slf4j
+@RequestMapping("pay")
+public class PayController {
+
+
+ @Autowired
+ PayService payService;
+
+
+
+ @RequestMapping("queryPayType")
+ public Result queryPayType( @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId
+
+ ){
+ return payService.queryPayType(shopId);
+ }
+
+
+ /**
+ * 扫码支付
+ * @param request
+ * @param token
+ * @param loginName
+ * @param clientType
+ * @param orderId
+ * @param authCode
+ * @return
+ */
+ @RequestMapping("scanpay")
+ public Result scanpay(HttpServletRequest request,
+ @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("orderId") String orderId,
+ @RequestParam("authCode") String authCode
+
+ ) {
+ return payService.scanPay(orderId,authCode, IpUtil.getIpAddr(request),token);
+ }
+
+
+ /**
+ * 储值卡支付
+ * @param token
+ * @param loginName
+ * @param clientType
+ * @param orderId
+ * @param memberId
+ * @return
+ */
+ @GetMapping("accountPay")
+ public Result accountPay(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("orderId") String orderId,
+ @RequestParam("memberId") String memberId
+ ){
+ return payService.accountPay(orderId,memberId,token);
+ }
+
+ /**
+ * 现金支付
+ * @param token
+ * @param loginName
+ * @param clientType
+ * @param orderId
+ * @return
+ */
+ @GetMapping("cashPay")
+ public Result cashPay(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("orderId") String orderId){
+ return payService.cashPay(orderId,token);
+ }
+
+
+
+
+ /**
+ * 银行卡支付
+ * @param token
+ * @param loginName
+ * @param clientType
+ * @param orderId
+ * @return
+ */
+ @GetMapping("bankPay")
+ public Result bankPay(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("orderId") String orderId){
+ return payService.bankPay(orderId,token);
+ }
+
+
+
+ @RequestMapping("returnOrder")
+ public Result returnOrder(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestBody List list
+ ){
+ return payService.returnOrder(list,token);
+ }
+
+
+ @GetMapping("queryOrder")
+ public Result queryOrder(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("orderId") String orderId){
+ return payService.queryOrder(orderId,token);
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/ProductController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/ProductController.java
new file mode 100644
index 0000000..21f80f3
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/controller/ProductController.java
@@ -0,0 +1,69 @@
+package com.chaozhanggui.system.cashierservice.controller;
+
+
+import com.chaozhanggui.system.cashierservice.service.ProductService;
+import com.chaozhanggui.system.cashierservice.sign.Result;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Map;
+
+@CrossOrigin(origins = "*")
+@RestController
+@Slf4j
+@RequestMapping("product")
+public class ProductController {
+
+
+ @Autowired
+ private ProductService productService;
+
+
+ @GetMapping(value = "queryCommodityInfo")
+ public Result queryCommodityInfo(
+ @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId,
+ @RequestParam("categoryId") String categoryId,
+ @RequestParam("commdityName") String commdityName,
+ @RequestParam("masterId") String masterId,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+ ){
+
+ return productService.queryCommodityInfo(shopId,categoryId,commdityName,page,pageSize,masterId);
+ }
+
+
+
+
+
+
+
+ @GetMapping(value = "queryCategory")
+ public Result queryCategory( @RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+ ){
+
+ return productService.queryCategory(shopId,page,pageSize);
+ }
+
+
+ @GetMapping("queryProductSku")
+ public Result queryProductSku(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId,
+ @RequestParam("productId") String productId,
+ @RequestParam("spec_tag") String spec_tag
+ ){
+ return productService.queryProductSku(shopId,productId,spec_tag);
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/ShopInfoController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/ShopInfoController.java
new file mode 100644
index 0000000..e8d688e
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/controller/ShopInfoController.java
@@ -0,0 +1,62 @@
+package com.chaozhanggui.system.cashierservice.controller;
+
+
+import com.chaozhanggui.system.cashierservice.service.ShopInfoService;
+import com.chaozhanggui.system.cashierservice.sign.Result;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+@CrossOrigin(origins = "*")
+@RestController
+@Slf4j
+@RequestMapping("shopInfo")
+public class ShopInfoController {
+
+
+ @Autowired
+ ShopInfoService shopInfoService;
+
+ @GetMapping("queryShopArea")
+ public Result queryShopArea(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId
+ ) {
+
+ return shopInfoService.queryShopArea(shopId);
+ }
+
+
+ @GetMapping("queryShopTable")
+ public Result queryShopTable(@RequestHeader("token") String token,
+ @RequestHeader("loginName") String loginName,
+ @RequestHeader("clientType") String clientType,
+ @RequestParam("shopId") String shopId,
+ @RequestParam("areaId") String areaId,
+ @RequestParam("status") String status,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+
+ ) {
+ return shopInfoService.queryShopTable(shopId, areaId, status, page, pageSize);
+ }
+
+ @GetMapping("queryDuty")
+ public Result queryDuty(@RequestHeader("token") String token,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+
+ ) {
+ return shopInfoService.queryDuty(token, page, pageSize);
+ }
+ @GetMapping("queryDutyFlow")
+ public Result queryDutyFlow(@RequestHeader("token") String token,
+ @RequestParam("shopId") String shopId,
+ @RequestParam("page") int page,
+ @RequestParam("pageSize") int pageSize
+
+ ) {
+ return shopInfoService.queryDutyFlow(token, shopId, page,pageSize);
+ }
+}
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeColumnConfigMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeColumnConfigMapper.java
new file mode 100644
index 0000000..51d02ad
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeColumnConfigMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.CodeColumnConfig;
+
+public interface CodeColumnConfigMapper {
+ int deleteByPrimaryKey(Long columnId);
+
+ int insert(CodeColumnConfig record);
+
+ int insertSelective(CodeColumnConfig record);
+
+ CodeColumnConfig selectByPrimaryKey(Long columnId);
+
+ int updateByPrimaryKeySelective(CodeColumnConfig record);
+
+ int updateByPrimaryKey(CodeColumnConfig record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeGenConfigMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeGenConfigMapper.java
new file mode 100644
index 0000000..2474703
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/CodeGenConfigMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.CodeGenConfig;
+
+public interface CodeGenConfigMapper {
+ int deleteByPrimaryKey(Long configId);
+
+ int insert(CodeGenConfig record);
+
+ int insertSelective(CodeGenConfig record);
+
+ CodeGenConfig selectByPrimaryKey(Long configId);
+
+ int updateByPrimaryKeySelective(CodeGenConfig record);
+
+ int updateByPrimaryKey(CodeGenConfig record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/GUserSetMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/GUserSetMapper.java
new file mode 100644
index 0000000..a2ab6a0
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/GUserSetMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.GUserSet;
+
+public interface GUserSetMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(GUserSet record);
+
+ int insertSelective(GUserSet record);
+
+ GUserSet selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(GUserSet record);
+
+ int updateByPrimaryKey(GUserSet record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntAppMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntAppMapper.java
new file mode 100644
index 0000000..9d90e61
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntAppMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntApp;
+
+public interface MntAppMapper {
+ int deleteByPrimaryKey(Long appId);
+
+ int insert(MntApp record);
+
+ int insertSelective(MntApp record);
+
+ MntApp selectByPrimaryKey(Long appId);
+
+ int updateByPrimaryKeySelective(MntApp record);
+
+ int updateByPrimaryKey(MntApp record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDatabaseMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDatabaseMapper.java
new file mode 100644
index 0000000..c927c24
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDatabaseMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntDatabase;
+
+public interface MntDatabaseMapper {
+ int deleteByPrimaryKey(String dbId);
+
+ int insert(MntDatabase record);
+
+ int insertSelective(MntDatabase record);
+
+ MntDatabase selectByPrimaryKey(String dbId);
+
+ int updateByPrimaryKeySelective(MntDatabase record);
+
+ int updateByPrimaryKey(MntDatabase record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployHistoryMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployHistoryMapper.java
new file mode 100644
index 0000000..da8402f
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployHistoryMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntDeployHistory;
+
+public interface MntDeployHistoryMapper {
+ int deleteByPrimaryKey(String historyId);
+
+ int insert(MntDeployHistory record);
+
+ int insertSelective(MntDeployHistory record);
+
+ MntDeployHistory selectByPrimaryKey(String historyId);
+
+ int updateByPrimaryKeySelective(MntDeployHistory record);
+
+ int updateByPrimaryKey(MntDeployHistory record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployMapper.java
new file mode 100644
index 0000000..8bb916c
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntDeploy;
+
+public interface MntDeployMapper {
+ int deleteByPrimaryKey(Long deployId);
+
+ int insert(MntDeploy record);
+
+ int insertSelective(MntDeploy record);
+
+ MntDeploy selectByPrimaryKey(Long deployId);
+
+ int updateByPrimaryKeySelective(MntDeploy record);
+
+ int updateByPrimaryKey(MntDeploy record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployServerMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployServerMapper.java
new file mode 100644
index 0000000..f55230a
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntDeployServerMapper.java
@@ -0,0 +1,11 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntDeployServerKey;
+
+public interface MntDeployServerMapper {
+ int deleteByPrimaryKey(MntDeployServerKey key);
+
+ int insert(MntDeployServerKey record);
+
+ int insertSelective(MntDeployServerKey record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntServerMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntServerMapper.java
new file mode 100644
index 0000000..71f8043
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/MntServerMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.MntServer;
+
+public interface MntServerMapper {
+ int deleteByPrimaryKey(Long serverId);
+
+ int insert(MntServer record);
+
+ int insertSelective(MntServer record);
+
+ MntServer selectByPrimaryKey(Long serverId);
+
+ int updateByPrimaryKeySelective(MntServer record);
+
+ int updateByPrimaryKey(MntServer record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyDetailMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyDetailMapper.java
new file mode 100644
index 0000000..3e1f51f
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyDetailMapper.java
@@ -0,0 +1,29 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.ShopUserDutyDetail;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Mapper
+@Component
+public interface ShopUserDutyDetailMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ShopUserDutyDetail record);
+
+ int insertSelective(ShopUserDutyDetail record);
+
+ ShopUserDutyDetail selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ShopUserDutyDetail record);
+
+ int updateByPrimaryKey(ShopUserDutyDetail record);
+ int batchInsert(@Param("list") List list);
+
+ List selectByDuctId(@Param("id") Integer id, @Param("list") List list);
+
+ List selectAllByDuctId(@Param("id") Integer id);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyMapper.java
new file mode 100644
index 0000000..7146a3e
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyMapper.java
@@ -0,0 +1,35 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.ShopUserDuty;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.math.BigDecimal;
+import java.util.List;
+
+@Component
+@Mapper
+public interface ShopUserDutyMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ShopUserDuty record);
+
+ int insertSelective(ShopUserDuty record);
+
+ ShopUserDuty selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ShopUserDuty record);
+
+ int updateByPrimaryKey(ShopUserDuty record);
+
+ ShopUserDuty selectByTokenId(@Param("tokenId") Integer tokenId);
+
+ void updateStatusByTokenId(@Param("tokenId") Integer tokenId);
+
+ List selectByShopId(@Param("shopId") String shopId);
+
+ BigDecimal selectSumAmount(@Param("shopId") String shopId);
+
+ ShopUserDuty selectByTokenIdAndTradeDay(@Param("tokenId") int tokenId, @Param("day") String day,@Param("shopId") String shopId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyPayMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyPayMapper.java
new file mode 100644
index 0000000..38f8ffc
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/ShopUserDutyPayMapper.java
@@ -0,0 +1,24 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.ShopUserDutyPay;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface ShopUserDutyPayMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ShopUserDutyPay record);
+
+ int insertSelective(ShopUserDutyPay record);
+
+ ShopUserDutyPay selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ShopUserDutyPay record);
+
+ int updateByPrimaryKey(ShopUserDutyPay record);
+
+ ShopUserDutyPay selectByDuctIdAndType(@Param("dutyId") Integer dutyId,@Param("payType") String payType);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDeptMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDeptMapper.java
new file mode 100644
index 0000000..b71b326
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDeptMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysDept;
+
+public interface SysDeptMapper {
+ int deleteByPrimaryKey(Long deptId);
+
+ int insert(SysDept record);
+
+ int insertSelective(SysDept record);
+
+ SysDept selectByPrimaryKey(Long deptId);
+
+ int updateByPrimaryKeySelective(SysDept record);
+
+ int updateByPrimaryKey(SysDept record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictDetailMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictDetailMapper.java
new file mode 100644
index 0000000..db7547e
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictDetailMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysDictDetail;
+
+public interface SysDictDetailMapper {
+ int deleteByPrimaryKey(Long detailId);
+
+ int insert(SysDictDetail record);
+
+ int insertSelective(SysDictDetail record);
+
+ SysDictDetail selectByPrimaryKey(Long detailId);
+
+ int updateByPrimaryKeySelective(SysDictDetail record);
+
+ int updateByPrimaryKey(SysDictDetail record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictMapper.java
new file mode 100644
index 0000000..7204534
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysDictMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysDict;
+
+public interface SysDictMapper {
+ int deleteByPrimaryKey(Long dictId);
+
+ int insert(SysDict record);
+
+ int insertSelective(SysDict record);
+
+ SysDict selectByPrimaryKey(Long dictId);
+
+ int updateByPrimaryKeySelective(SysDict record);
+
+ int updateByPrimaryKey(SysDict record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysJobMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysJobMapper.java
new file mode 100644
index 0000000..2be374c
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysJobMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysJob;
+
+public interface SysJobMapper {
+ int deleteByPrimaryKey(Long jobId);
+
+ int insert(SysJob record);
+
+ int insertSelective(SysJob record);
+
+ SysJob selectByPrimaryKey(Long jobId);
+
+ int updateByPrimaryKeySelective(SysJob record);
+
+ int updateByPrimaryKey(SysJob record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysLogMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysLogMapper.java
new file mode 100644
index 0000000..575629b
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysLogMapper.java
@@ -0,0 +1,20 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysLog;
+import com.chaozhanggui.system.cashierservice.entity.SysLogWithBLOBs;
+
+public interface SysLogMapper {
+ int deleteByPrimaryKey(Long logId);
+
+ int insert(SysLogWithBLOBs record);
+
+ int insertSelective(SysLogWithBLOBs record);
+
+ SysLogWithBLOBs selectByPrimaryKey(Long logId);
+
+ int updateByPrimaryKeySelective(SysLogWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(SysLogWithBLOBs record);
+
+ int updateByPrimaryKey(SysLog record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysMenuMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysMenuMapper.java
new file mode 100644
index 0000000..8220af9
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysMenuMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysMenu;
+
+public interface SysMenuMapper {
+ int deleteByPrimaryKey(Long menuId);
+
+ int insert(SysMenu record);
+
+ int insertSelective(SysMenu record);
+
+ SysMenu selectByPrimaryKey(Long menuId);
+
+ int updateByPrimaryKeySelective(SysMenu record);
+
+ int updateByPrimaryKey(SysMenu record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzJobMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzJobMapper.java
new file mode 100644
index 0000000..db12f33
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzJobMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysQuartzJob;
+
+public interface SysQuartzJobMapper {
+ int deleteByPrimaryKey(Long jobId);
+
+ int insert(SysQuartzJob record);
+
+ int insertSelective(SysQuartzJob record);
+
+ SysQuartzJob selectByPrimaryKey(Long jobId);
+
+ int updateByPrimaryKeySelective(SysQuartzJob record);
+
+ int updateByPrimaryKey(SysQuartzJob record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzLogMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzLogMapper.java
new file mode 100644
index 0000000..01fe704
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysQuartzLogMapper.java
@@ -0,0 +1,19 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysQuartzLog;
+
+public interface SysQuartzLogMapper {
+ int deleteByPrimaryKey(Long logId);
+
+ int insert(SysQuartzLog record);
+
+ int insertSelective(SysQuartzLog record);
+
+ SysQuartzLog selectByPrimaryKey(Long logId);
+
+ int updateByPrimaryKeySelective(SysQuartzLog record);
+
+ int updateByPrimaryKeyWithBLOBs(SysQuartzLog record);
+
+ int updateByPrimaryKey(SysQuartzLog record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRoleMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRoleMapper.java
new file mode 100644
index 0000000..05e5c34
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRoleMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysRole;
+
+public interface SysRoleMapper {
+ int deleteByPrimaryKey(Long roleId);
+
+ int insert(SysRole record);
+
+ int insertSelective(SysRole record);
+
+ SysRole selectByPrimaryKey(Long roleId);
+
+ int updateByPrimaryKeySelective(SysRole record);
+
+ int updateByPrimaryKey(SysRole record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesDeptsMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesDeptsMapper.java
new file mode 100644
index 0000000..d76f3c2
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesDeptsMapper.java
@@ -0,0 +1,11 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysRolesDeptsKey;
+
+public interface SysRolesDeptsMapper {
+ int deleteByPrimaryKey(SysRolesDeptsKey key);
+
+ int insert(SysRolesDeptsKey record);
+
+ int insertSelective(SysRolesDeptsKey record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesMenusMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesMenusMapper.java
new file mode 100644
index 0000000..d4afdf6
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysRolesMenusMapper.java
@@ -0,0 +1,11 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysRolesMenusKey;
+
+public interface SysRolesMenusMapper {
+ int deleteByPrimaryKey(SysRolesMenusKey key);
+
+ int insert(SysRolesMenusKey record);
+
+ int insertSelective(SysRolesMenusKey record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUserMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUserMapper.java
new file mode 100644
index 0000000..0def8a3
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUserMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysUser;
+
+public interface SysUserMapper {
+ int deleteByPrimaryKey(Long userId);
+
+ int insert(SysUser record);
+
+ int insertSelective(SysUser record);
+
+ SysUser selectByPrimaryKey(Long userId);
+
+ int updateByPrimaryKeySelective(SysUser record);
+
+ int updateByPrimaryKey(SysUser record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersJobsMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersJobsMapper.java
new file mode 100644
index 0000000..7ff4a5a
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersJobsMapper.java
@@ -0,0 +1,11 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysUsersJobsKey;
+
+public interface SysUsersJobsMapper {
+ int deleteByPrimaryKey(SysUsersJobsKey key);
+
+ int insert(SysUsersJobsKey record);
+
+ int insertSelective(SysUsersJobsKey record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersRolesMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersRolesMapper.java
new file mode 100644
index 0000000..d9f4ab5
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/SysUsersRolesMapper.java
@@ -0,0 +1,11 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.SysUsersRolesKey;
+
+public interface SysUsersRolesMapper {
+ int deleteByPrimaryKey(SysUsersRolesKey key);
+
+ int insert(SysUsersRolesKey record);
+
+ int insertSelective(SysUsersRolesKey record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbCashierCartMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbCashierCartMapper.java
new file mode 100644
index 0000000..9815a23
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbCashierCartMapper.java
@@ -0,0 +1,62 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbCashierCart;
+import com.chaozhanggui.system.cashierservice.entity.po.CartPo;
+import com.chaozhanggui.system.cashierservice.entity.po.QueryCartPo;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbCashierCartMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbCashierCart record);
+
+ int insertSelective(TbCashierCart record);
+
+ TbCashierCart selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbCashierCart record);
+
+ int updateByPrimaryKey(TbCashierCart record);
+
+
+ List selectALlByMasterId(@Param("masterId") String masterId,@Param("status") String status);
+
+ TbCashierCart selectByDetail(@Param("masterId") String masterId, @Param("productId") String productId,
+ @Param("shopId") String shopId, @Param("skuId") String skuId, @Param("day") String day,@Param("uuid") String uuid);
+
+ List selectByMaskerId(@Param("masterId")String masterId, @Param("shopId")Integer shopId,@Param("status") String status);
+
+ void deleteByCartId(@Param("masterId") String masterId, @Param("cartId")Integer cartId);
+
+ void updateStatus(@Param("masterId") Integer id,@Param("status") String status);
+
+ List selectCartList( @Param("shopId") Integer shopId);
+
+ void updateStatusByMaster(@Param("shopId") Integer shopId, @Param("masterId") String masterId,
+ @Param("status") String status, @Param("day") String day, @Param("uuid") String uuid);
+
+ List selectAllCreateOrder(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
+ @Param("day") String day, @Param("status") String status,@Param("uuid") String uuid);
+ List selectCartList( @Param("cartId") String shopId);
+
+ int updateByOrderId(@Param("orderId") String orderId,@Param("status") String status);
+
+ QueryCartPo selectProductNumByMarketId(@Param("day") String day, @Param("shopId") String shopId, @Param("masterId") String masterId);
+
+ void updateIsGift(@Param("maskerId")String maskerId,@Param("status")String status,@Param("shopId") Integer shopId,@Param("day") String day);
+
+ int selectqgList(@Param("shopId") String shopId);
+
+ void deleteBymasterId(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
+ @Param("day") String day,@Param("status") String status,@Param("uuid") String uuid);
+
+
+
+ List selectByOrderId(@Param("orderId") String orderId,@Param("status") String status);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceOperateInfoMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceOperateInfoMapper.java
new file mode 100644
index 0000000..38b0c4d
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceOperateInfoMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbDeviceOperateInfo;
+
+public interface TbDeviceOperateInfoMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbDeviceOperateInfo record);
+
+ int insertSelective(TbDeviceOperateInfo record);
+
+ TbDeviceOperateInfo selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbDeviceOperateInfo record);
+
+ int updateByPrimaryKey(TbDeviceOperateInfo record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceStockMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceStockMapper.java
new file mode 100644
index 0000000..88b0e55
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbDeviceStockMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbDeviceStock;
+
+public interface TbDeviceStockMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbDeviceStock record);
+
+ int insertSelective(TbDeviceStock record);
+
+ TbDeviceStock selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbDeviceStock record);
+
+ int updateByPrimaryKey(TbDeviceStock record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMemberInMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMemberInMapper.java
new file mode 100644
index 0000000..91a7c39
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMemberInMapper.java
@@ -0,0 +1,21 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbMemberIn;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbMemberInMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbMemberIn record);
+
+ int insertSelective(TbMemberIn record);
+
+ TbMemberIn selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbMemberIn record);
+
+ int updateByPrimaryKey(TbMemberIn record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantRegisterMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantRegisterMapper.java
new file mode 100644
index 0000000..6b3a888
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantRegisterMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbMerchantRegister;
+
+public interface TbMerchantRegisterMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbMerchantRegister record);
+
+ int insertSelective(TbMerchantRegister record);
+
+ TbMerchantRegister selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbMerchantRegister record);
+
+ int updateByPrimaryKey(TbMerchantRegister record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantThirdApplyMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantThirdApplyMapper.java
new file mode 100644
index 0000000..53707ad
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbMerchantThirdApplyMapper.java
@@ -0,0 +1,23 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbMerchantThirdApply;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbMerchantThirdApplyMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbMerchantThirdApply record);
+
+ int insertSelective(TbMerchantThirdApply record);
+
+ TbMerchantThirdApply selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbMerchantThirdApply record);
+
+ int updateByPrimaryKeyWithBLOBs(TbMerchantThirdApply record);
+
+ int updateByPrimaryKey(TbMerchantThirdApply record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderDetailMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderDetailMapper.java
new file mode 100644
index 0000000..7499f13
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderDetailMapper.java
@@ -0,0 +1,44 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbOrderDetail;
+import com.chaozhanggui.system.cashierservice.entity.po.OrderDetailPo;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.math.BigDecimal;
+import java.util.List;
+
+@Mapper
+@Component
+public interface TbOrderDetailMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbOrderDetail record);
+
+ int insertSelective(TbOrderDetail record);
+
+ TbOrderDetail selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbOrderDetail record);
+
+ int updateByPrimaryKey(TbOrderDetail record);
+
+ void updateStatusByOrderId(@Param("orderId") int orderId,@Param("status") String status);
+
+ void updateStatusByOrderIdAndStatus(@Param("orderId") int orderId,@Param("status") String status);
+ void deleteByOUrderId(@Param("orderId") int orderId);
+
+ List selectAllByOrderId(@Param("id") Integer id);
+
+ int updateBatchOrderDetail(@Param("list")List list);
+
+
+
+ List selectAllByOrderIdAndStatus(@Param("list") List list, @Param("orderId") String orderId);
+
+ BigDecimal selectByOrderId(String orderId);
+
+ int batchInsert(@Param("list") List list,@Param("orderId") String orderId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderExtendMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderExtendMapper.java
new file mode 100644
index 0000000..018c1da
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderExtendMapper.java
@@ -0,0 +1,20 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbOrderExtend;
+import com.chaozhanggui.system.cashierservice.entity.TbOrderExtendWithBLOBs;
+
+public interface TbOrderExtendMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbOrderExtendWithBLOBs record);
+
+ int insertSelective(TbOrderExtendWithBLOBs record);
+
+ TbOrderExtendWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbOrderExtendWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbOrderExtendWithBLOBs record);
+
+ int updateByPrimaryKey(TbOrderExtend record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderInfoMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderInfoMapper.java
new file mode 100644
index 0000000..3eaac2a
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderInfoMapper.java
@@ -0,0 +1,33 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbOrderInfo;
+import com.chaozhanggui.system.cashierservice.entity.po.OrderPo;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbOrderInfoMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbOrderInfo record);
+
+ int insertSelective(TbOrderInfo record);
+
+ TbOrderInfo selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbOrderInfo record);
+
+ int updateByPrimaryKey(TbOrderInfo record);
+
+ void updateStatusById(@Param("orderId") int orderId,@Param("status") String status);
+
+
+ List selectAllByStatus(String status);
+
+ List selectAllByShop(@Param("shopId") Integer shopId, @Param("orderType") String orderType,
+ @Param("day") String day, @Param("orderNo") String orderNo);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderPaymentMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderPaymentMapper.java
new file mode 100644
index 0000000..5d13fdc
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbOrderPaymentMapper.java
@@ -0,0 +1,23 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbOrderPayment;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbOrderPaymentMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbOrderPayment record);
+
+ int insertSelective(TbOrderPayment record);
+
+ TbOrderPayment selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbOrderPayment record);
+
+ int updateByPrimaryKey(TbOrderPayment record);
+
+ TbOrderPayment selectByOrderId(String orderId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussDeviceGoodsMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussDeviceGoodsMapper.java
new file mode 100644
index 0000000..c97cc2d
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussDeviceGoodsMapper.java
@@ -0,0 +1,19 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbPlussDeviceGoods;
+
+public interface TbPlussDeviceGoodsMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbPlussDeviceGoods record);
+
+ int insertSelective(TbPlussDeviceGoods record);
+
+ TbPlussDeviceGoods selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbPlussDeviceGoods record);
+
+ int updateByPrimaryKeyWithBLOBs(TbPlussDeviceGoods record);
+
+ int updateByPrimaryKey(TbPlussDeviceGoods record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussShopStaffMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussShopStaffMapper.java
new file mode 100644
index 0000000..dec7561
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPlussShopStaffMapper.java
@@ -0,0 +1,23 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbPlussShopStaff;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbPlussShopStaffMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbPlussShopStaff record);
+
+ int insertSelective(TbPlussShopStaff record);
+
+ TbPlussShopStaff selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbPlussShopStaff record);
+
+ int updateByPrimaryKey(TbPlussShopStaff record);
+
+ TbPlussShopStaff selectByAccount(String account);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPrintMachineMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPrintMachineMapper.java
new file mode 100644
index 0000000..98984f8
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbPrintMachineMapper.java
@@ -0,0 +1,28 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbPrintMachine;
+import com.chaozhanggui.system.cashierservice.entity.TbPrintMachineWithBLOBs;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbPrintMachineMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbPrintMachineWithBLOBs record);
+
+ int insertSelective(TbPrintMachineWithBLOBs record);
+
+ TbPrintMachineWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbPrintMachineWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbPrintMachineWithBLOBs record);
+
+ int updateByPrimaryKey(TbPrintMachine record);
+
+ List selectByShopId(String shopId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductGroupMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductGroupMapper.java
new file mode 100644
index 0000000..5131bab
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductGroupMapper.java
@@ -0,0 +1,19 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductGroup;
+
+public interface TbProductGroupMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductGroup record);
+
+ int insertSelective(TbProductGroup record);
+
+ TbProductGroup selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductGroup record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductGroup record);
+
+ int updateByPrimaryKey(TbProductGroup record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductMapper.java
new file mode 100644
index 0000000..fcc2685
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductMapper.java
@@ -0,0 +1,39 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProduct;
+import com.chaozhanggui.system.cashierservice.entity.TbProductWithBLOBs;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbProductMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductWithBLOBs record);
+
+ int insertSelective(TbProductWithBLOBs record);
+
+ TbProductWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductWithBLOBs record);
+
+ int updateByPrimaryKey(TbProduct record);
+
+
+ List selectByShopId(@Param("shopId") String shopId,@Param("commdityName") String commdityName);
+
+
+
+ List selectByShopIdAndShopType(@Param("shopId") String shopId, @Param("categoryId") String categoryId,@Param("commdityName") String commdityName);
+
+
+
+ Integer countOrderByshopIdAndProductId(@Param("shopId") String shopId, @Param("productId") String productId, @Param("masterId") String masterId);
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuMapper.java
new file mode 100644
index 0000000..e78164f
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuMapper.java
@@ -0,0 +1,30 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductSku;
+import com.chaozhanggui.system.cashierservice.entity.TbProductSkuWithBLOBs;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbProductSkuMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductSkuWithBLOBs record);
+
+ int insertSelective(TbProductSkuWithBLOBs record);
+
+ TbProductSkuWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductSkuWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductSkuWithBLOBs record);
+
+ int updateByPrimaryKey(TbProductSku record);
+
+
+ TbProductSkuWithBLOBs selectByShopIdAndProductIdAndSpec(@Param("shopId") String shopId, @Param("productId") String productId, @Param("spec") String spec);
+
+ TbProductSkuWithBLOBs selectByProduct(@Param("productId") Integer productId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuResultMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuResultMapper.java
new file mode 100644
index 0000000..2f91148
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSkuResultMapper.java
@@ -0,0 +1,23 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductSkuResult;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbProductSkuResultMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductSkuResult record);
+
+ int insertSelective(TbProductSkuResult record);
+
+ TbProductSkuResult selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductSkuResult record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductSkuResult record);
+
+ int updateByPrimaryKey(TbProductSkuResult record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSpecMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSpecMapper.java
new file mode 100644
index 0000000..c63a7e9
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductSpecMapper.java
@@ -0,0 +1,25 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductSpec;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbProductSpecMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductSpec record);
+
+ int insertSelective(TbProductSpec record);
+
+ TbProductSpec selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductSpec record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductSpec record);
+
+ int updateByPrimaryKey(TbProductSpec record);
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockDetailMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockDetailMapper.java
new file mode 100644
index 0000000..e7f0bb9
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockDetailMapper.java
@@ -0,0 +1,19 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductStockDetail;
+
+public interface TbProductStockDetailMapper {
+ int deleteByPrimaryKey(Long id);
+
+ int insert(TbProductStockDetail record);
+
+ int insertSelective(TbProductStockDetail record);
+
+ TbProductStockDetail selectByPrimaryKey(Long id);
+
+ int updateByPrimaryKeySelective(TbProductStockDetail record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductStockDetail record);
+
+ int updateByPrimaryKey(TbProductStockDetail record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockOperateMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockOperateMapper.java
new file mode 100644
index 0000000..0f057e1
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbProductStockOperateMapper.java
@@ -0,0 +1,19 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbProductStockOperate;
+
+public interface TbProductStockOperateMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbProductStockOperate record);
+
+ int insertSelective(TbProductStockOperate record);
+
+ TbProductStockOperate selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbProductStockOperate record);
+
+ int updateByPrimaryKeyWithBLOBs(TbProductStockOperate record);
+
+ int updateByPrimaryKey(TbProductStockOperate record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbReceiptSalesMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbReceiptSalesMapper.java
new file mode 100644
index 0000000..51af334
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbReceiptSalesMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbReceiptSales;
+
+public interface TbReceiptSalesMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbReceiptSales record);
+
+ int insertSelective(TbReceiptSales record);
+
+ TbReceiptSales selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbReceiptSales record);
+
+ int updateByPrimaryKey(TbReceiptSales record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbRenewalsPayLogMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbRenewalsPayLogMapper.java
new file mode 100644
index 0000000..0f317e8
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbRenewalsPayLogMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbRenewalsPayLog;
+
+public interface TbRenewalsPayLogMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbRenewalsPayLog record);
+
+ int insertSelective(TbRenewalsPayLog record);
+
+ TbRenewalsPayLog selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbRenewalsPayLog record);
+
+ int updateByPrimaryKey(TbRenewalsPayLog record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopAreaMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopAreaMapper.java
new file mode 100644
index 0000000..18ae5bc
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopAreaMapper.java
@@ -0,0 +1,27 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopArea;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbShopAreaMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopArea record);
+
+ int insertSelective(TbShopArea record);
+
+ TbShopArea selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopArea record);
+
+ int updateByPrimaryKeyWithBLOBs(TbShopArea record);
+
+ int updateByPrimaryKey(TbShopArea record);
+
+ List selectByShopId(String shopId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCashSpreadMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCashSpreadMapper.java
new file mode 100644
index 0000000..ddcc1bd
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCashSpreadMapper.java
@@ -0,0 +1,20 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopCashSpread;
+import com.chaozhanggui.system.cashierservice.entity.TbShopCashSpreadWithBLOBs;
+
+public interface TbShopCashSpreadMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopCashSpreadWithBLOBs record);
+
+ int insertSelective(TbShopCashSpreadWithBLOBs record);
+
+ TbShopCashSpreadWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopCashSpreadWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbShopCashSpreadWithBLOBs record);
+
+ int updateByPrimaryKey(TbShopCashSpread record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCategoryMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCategoryMapper.java
new file mode 100644
index 0000000..80ff571
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCategoryMapper.java
@@ -0,0 +1,25 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopCategory;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbShopCategoryMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopCategory record);
+
+ int insertSelective(TbShopCategory record);
+
+ TbShopCategory selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopCategory record);
+
+ int updateByPrimaryKey(TbShopCategory record);
+
+ List selectByAll(String shopId);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCurrencyMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCurrencyMapper.java
new file mode 100644
index 0000000..8dbcb5b
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopCurrencyMapper.java
@@ -0,0 +1,20 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopCurrency;
+import com.chaozhanggui.system.cashierservice.entity.TbShopCurrencyWithBLOBs;
+
+public interface TbShopCurrencyMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopCurrencyWithBLOBs record);
+
+ int insertSelective(TbShopCurrencyWithBLOBs record);
+
+ TbShopCurrencyWithBLOBs selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopCurrencyWithBLOBs record);
+
+ int updateByPrimaryKeyWithBLOBs(TbShopCurrencyWithBLOBs record);
+
+ int updateByPrimaryKey(TbShopCurrency record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopInfoMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopInfoMapper.java
new file mode 100644
index 0000000..a267801
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopInfoMapper.java
@@ -0,0 +1,29 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopInfo;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbShopInfoMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopInfo record);
+
+ int insertSelective(TbShopInfo record);
+
+ TbShopInfo selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopInfo record);
+
+ int updateByPrimaryKeyWithBLOBs(TbShopInfo record);
+
+ int updateByPrimaryKey(TbShopInfo record);
+
+ List selectAll();
+
+ List selectAllByCreateTime();
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopOnlineMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopOnlineMapper.java
new file mode 100644
index 0000000..da44176
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopOnlineMapper.java
@@ -0,0 +1,21 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopOnline;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+@Component
+@Mapper
+public interface TbShopOnlineMapper {
+ int deleteByPrimaryKey(Integer shopId);
+
+ int insert(TbShopOnline record);
+
+ int insertSelective(TbShopOnline record);
+
+ TbShopOnline selectByPrimaryKey(Integer shopId);
+
+ int updateByPrimaryKeySelective(TbShopOnline record);
+
+ int updateByPrimaryKey(TbShopOnline record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPayTypeMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPayTypeMapper.java
new file mode 100644
index 0000000..17393a4
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPayTypeMapper.java
@@ -0,0 +1,30 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopPayType;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbShopPayTypeMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopPayType record);
+
+ int insertSelective(TbShopPayType record);
+
+ TbShopPayType selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopPayType record);
+
+ int updateByPrimaryKey(TbShopPayType record);
+
+ List selectByShopId(String shopId);
+
+ int countSelectByShopIdAndPayType(@Param("shopId") String shopId, @Param("payType") String payType );
+
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorMapper.java
new file mode 100644
index 0000000..edaa45b
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopPurveyor;
+
+public interface TbShopPurveyorMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopPurveyor record);
+
+ int insertSelective(TbShopPurveyor record);
+
+ TbShopPurveyor selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopPurveyor record);
+
+ int updateByPrimaryKey(TbShopPurveyor record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorTransactMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorTransactMapper.java
new file mode 100644
index 0000000..f5d20a0
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopPurveyorTransactMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopPurveyorTransact;
+
+public interface TbShopPurveyorTransactMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopPurveyorTransact record);
+
+ int insertSelective(TbShopPurveyorTransact record);
+
+ TbShopPurveyorTransact selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopPurveyorTransact record);
+
+ int updateByPrimaryKey(TbShopPurveyorTransact record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopTableMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopTableMapper.java
new file mode 100644
index 0000000..c686b5e
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopTableMapper.java
@@ -0,0 +1,26 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopTable;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+@Component
+@Mapper
+public interface TbShopTableMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopTable record);
+
+ int insertSelective(TbShopTable record);
+
+ TbShopTable selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopTable record);
+
+ int updateByPrimaryKey(TbShopTable record);
+
+ List selectByShopIdAndStatus(@Param("shopId") String shopId,@Param("areaId") String areaId,@Param("status") String status);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUnitMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUnitMapper.java
new file mode 100644
index 0000000..920048c
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUnitMapper.java
@@ -0,0 +1,17 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopUnit;
+
+public interface TbShopUnitMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopUnit record);
+
+ int insertSelective(TbShopUnit record);
+
+ TbShopUnit selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopUnit record);
+
+ int updateByPrimaryKey(TbShopUnit record);
+}
\ No newline at end of file
diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUserFlowMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUserFlowMapper.java
new file mode 100644
index 0000000..7cf0c32
--- /dev/null
+++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbShopUserFlowMapper.java
@@ -0,0 +1,26 @@
+package com.chaozhanggui.system.cashierservice.dao;
+
+import com.chaozhanggui.system.cashierservice.entity.TbShopUserFlow;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+import java.util.Map;
+
+@Component
+@Mapper
+public interface TbShopUserFlowMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(TbShopUserFlow record);
+
+ int insertSelective(TbShopUserFlow record);
+
+ TbShopUserFlow selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(TbShopUserFlow record);
+
+ int updateByPrimaryKey(TbShopUserFlow record);
+
+ List