| | |
| | | operationRecord.setContent(content); |
| | | operationRecord.create(SecurityUtils.getUserId()); |
| | | operationRecord.setStatus("success"); |
| | | operationRecord.setModule("markup_s_p"); |
| | | operationRecord.setModule("markup_s_p_cg"); |
| | | operationRecord.setIpAddress(IpUtil.getIpAddress(request)); |
| | | operationRecordMapper.insert(operationRecord); |
| | | } |
| | |
| | | sp.create(SecurityUtils.getUserId()); |
| | | spMapper.insert(sp); |
| | | content = "新增商品加价:商品id:【" + dto.getFlowerId() + "】,合伙人id:【"+dto.getPartnerId()+"】,金额:【" + dto.getFee() + "】"; |
| | | operationRecord.setFunction("新增商品分类加价"); |
| | | operationRecord.setFunction("新增商品加价"); |
| | | } else { |
| | | sp.setFee(dto.getFee()); |
| | | sp.update(SecurityUtils.getUserId()); |
| | | spMapper.updateById(sp); |
| | | content = "修改商品加价:id:【"+sp.getId()+"】,商品id:【" + dto.getFlowerId() + "】,合伙人id:【"+dto.getPartnerId()+"】,金额:【" + dto.getFee() + "】"; |
| | | |
| | | operationRecord.setFunction("修改商品加价"); |
| | | } |
| | | |
| | | markupCacheClient.addMarkupPsSp(dto.getPartnerId(), dto.getFlowerId(), sp); |
| | | operationRecord.create(SecurityUtils.getUserId()); |
| | | operationRecord.setStatus("success"); |
| | | operationRecord.setModule("markup_s_p"); |
| | | |
| | | operationRecord.setContent(content); |
| | | operationRecord.setIpAddress(IpUtil.getIpAddress(request)); |
| | | operationRecordMapper.insert(operationRecord); |