更新10.11

This commit is contained in:
许允枞 2024-10-11 14:11:06 +08:00
parent 9a0095d202
commit 6651516ee7

View File

@ -10,6 +10,7 @@ import com.fuint.business.marketingActivity.activePrice.mapper.ActivePriceMapper
import com.fuint.business.marketingActivity.activePrice.mapper.ActivePriceRecordMapper;
import com.fuint.business.marketingActivity.activePrice.mapper.ActivePriceRuleMapper;
import com.fuint.business.marketingActivity.activePrice.service.ActivePriceRecordService;
import com.fuint.common.util.TokenUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -104,6 +105,9 @@ public class ActivePriceRecordServiceImpl extends ServiceImpl<ActivePriceRecordM
activePriceRecord.setDisAmount(disAmount);
activePriceRecord.setActName(activePrice.getTitle());
activePriceRecord.setActType(activePrice.getActiveType());
activePriceRecord.setCreateTime(activePrice.getCreateTime());
activePriceRecord.setUserId(userId);
activePriceRecord.setCreateBy(TokenUtil.getNowAccountInfo().getId().toString());
//查询活动规则
ActivePriceRule activePriceRule = activePriceRuleMapper.selectOne(new LambdaQueryWrapper<ActivePriceRule>()
.eq(ActivePriceRule::getId, ruleId));