| | |
| | | ",payUserAdviserName = #{m.payUserAdviserName},payUserShopId = #{m.payUserShopId},payUserShopNo = #{m.payUserShopNo},payUserShopName = #{m.payUserShopName}" + |
| | | ",inviteeType = #{m.inviteeType},inviteeId = #{m.inviteeId},inviteeName = #{m.inviteeName},userBelongingType = #{m.userBelongingType}" + |
| | | " where id =#{m.id} and status in (0,1,5)"); |
| | | commonService.updateWhere(OrdersTotalMapper.class,sqlSentence);//更新总订单 |
| | | //更新总订单 |
| | | if(commonService.updateWhere(OrdersTotalMapper.class,sqlSentence)!=1){ |
| | | throw new TipsException("请勿重复结账!"); |
| | | } |
| | | //记录结账订单日志 |
| | | commonService.insert(OrderLogMapper.class,ApiOrderUtil.setOrderLog(ordersTotal,null,operator.get("operatorId"),operator.get("operatorName"),"",3, OrderLogConstants.LOG_TYPE_PAY)); |
| | | //更新现金总金额 |
| | |
| | | spring.redis.timeout=1000 |
| | | # set database |
| | | spring.redis.database= 9 |
| | | # redis\u591A\u5E93 |
| | | redissondb.host=101.200.173.220 |
| | | redissondb.port=6379 |
| | | redissondb.password= cjh8899 |
| | | # \u8981\u4F7F\u7528\u7684\u5E93\uFF0C\u4F1A\u6839\u636E\u6B64\u5904\u586B\u5199\u7684\u5E93\u751F\u6210redisTemplate |
| | | redissondb.db1 = 1,7 |
| | | redissondb.databases = ${redissondb.db1} |
| | | redissondb.timeout= 60s |
| | | redissondb.lettuce.pool.max-active= 500 |
| | | redissondb.lettuce.pool.max-wait= 10000ms |
| | | redissondb.lettuce.pool.max-idle= 400 |
| | | redissondb.lettuce.pool.min-idle= 0 |
| | | |
| | | platform.pattern = test |
| | | |
| | |
| | | |
| | | #\u5458\u5DE5\u54A8\u8BE2\u5E08 |
| | | common.emp.ygzxs.id = 47589bf8000711ecbbe230d0422e31b5,3bdf9ccb0b2b11ecb06bb8599f4cafbe |
| | | |
| | | process.notify.user.room.url = 123 |