Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
| | |
| | | if (StrUtil.isNotBlank(addressInfo.getTagName())) { |
| | | address.append(StrUtil.isNotBlank(addressInfo.getHouseName()) ? addressInfo.getHouseName() : ""); |
| | | if (Constants.ADDRESS_TYPE_HOME.equals(addressInfo.getTagName())) { |
| | | address.append(StrUtil.isNotBlank(addressInfo.getHouseNumber()) ? addressInfo.getHouseNumber() : ""); |
| | | address.append(StrUtil.isNotBlank(addressInfo.getUnitName()) ? addressInfo.getUnitName() : ""); |
| | | address.append(StrUtil.isNotBlank(addressInfo.getHouseNumber()) ? addressInfo.getHouseNumber() : ""); |
| | | } |
| | | } |
| | | expressInfo.setAddress(address.toString()); |
| | |
| | | a.is_sale |
| | | </if> |
| | | <if test="namePx != null and namePx != '' and namePx == 4"> |
| | | a.present_price |
| | | a.present_price + 0 |
| | | </if> |
| | | <if test="namePx != null and namePx != '' and namePx == 5"> |
| | | a.original_price |
| | | a.original_price + 0 |
| | | </if> |
| | | <if test="namePx != null and namePx != '' and namePx == 6"> |
| | | stock |
| | |
| | | stringBuffer.append(pointReward); |
| | | redPaperRule.setStatus((short) 0); |
| | | redPaperRule.setRuleName("分销规则"); |
| | | redPaperRule.setRuleType("9"); |
| | | redPaperRule.setSharingProfitType("frist_reward,order_num_frist,regular_point,regular_money_percent,point_reward"); |
| | | redPaperRule.setShareRatio(stringBuffer.toString()); |
| | | redPaperRuleMapper.insert(redPaperRule); |