| | |
| | | private RedisClient redisClient; |
| | | |
| | | private Long companyId = 35L; |
| | | private Long shopId = 38L; |
| | | private Long shopId = 60L; |
| | | |
| | | public List<Map<String, Object>> dataMove() { |
| | | return jdbcTemplate.queryForList("select * from sys_vip_info limit 10"); |
| | |
| | | } else { |
| | | shoppingGoods.setIsOnce("1"); |
| | | } |
| | | |
| | | if ("否".equals(shoppingGoods.getIsPresent())) { |
| | | shoppingGoods.setIsPresent("0"); |
| | | } else { |
| | | shoppingGoods.setIsPresent("1"); |
| | | |
| | | if (StrUtil.isNotBlank(shoppingGoods.getIsPresent())) { |
| | | if ("否".equals(shoppingGoods.getIsPresent())) { |
| | | shoppingGoods.setIsPresent("0"); |
| | | } else { |
| | | shoppingGoods.setIsPresent("1"); |
| | | } |
| | | } |
| | | |
| | | Long oldId = shoppingGoods.getId(); |
| | |
| | | assembleGood.getShoppingGoods().setIsOnce("1"); |
| | | } |
| | | |
| | | if ("否".equals(assembleGood.getShoppingGoods().getIsPresent())) { |
| | | assembleGood.getShoppingGoods().setIsPresent("0"); |
| | | } else { |
| | | assembleGood.getShoppingGoods().setIsPresent("1"); |
| | | if (StrUtil.isNotBlank(assembleGood.getShoppingGoods().getIsPresent())) { |
| | | if ("否".equals(assembleGood.getShoppingGoods().getIsPresent())) { |
| | | assembleGood.getShoppingGoods().setIsPresent("0"); |
| | | } else { |
| | | assembleGood.getShoppingGoods().setIsPresent("1"); |
| | | } |
| | | } |
| | | |
| | | assembleGood.getShoppingGoods().setId(null); |
| | |
| | | shoppingGoods.setIsOnce("1"); |
| | | } |
| | | |
| | | if ("否".equals(shoppingGoods.getIsPresent())) { |
| | | shoppingGoods.setIsPresent("0"); |
| | | } else { |
| | | shoppingGoods.setIsPresent("1"); |
| | | if (StrUtil.isNotBlank(shoppingGoods.getIsPresent())) { |
| | | if ("否".equals(shoppingGoods.getIsPresent())) { |
| | | shoppingGoods.setIsPresent("0"); |
| | | } else { |
| | | shoppingGoods.setIsPresent("1"); |
| | | } |
| | | } |
| | | |
| | | Long oldId = shoppingGoods.getId(); |