更新10.11
This commit is contained in:
parent
9a0095d202
commit
6651516ee7
@ -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.ActivePriceRecordMapper;
|
||||||
import com.fuint.business.marketingActivity.activePrice.mapper.ActivePriceRuleMapper;
|
import com.fuint.business.marketingActivity.activePrice.mapper.ActivePriceRuleMapper;
|
||||||
import com.fuint.business.marketingActivity.activePrice.service.ActivePriceRecordService;
|
import com.fuint.business.marketingActivity.activePrice.service.ActivePriceRecordService;
|
||||||
|
import com.fuint.common.util.TokenUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@ -104,6 +105,9 @@ public class ActivePriceRecordServiceImpl extends ServiceImpl<ActivePriceRecordM
|
|||||||
activePriceRecord.setDisAmount(disAmount);
|
activePriceRecord.setDisAmount(disAmount);
|
||||||
activePriceRecord.setActName(activePrice.getTitle());
|
activePriceRecord.setActName(activePrice.getTitle());
|
||||||
activePriceRecord.setActType(activePrice.getActiveType());
|
activePriceRecord.setActType(activePrice.getActiveType());
|
||||||
|
activePriceRecord.setCreateTime(activePrice.getCreateTime());
|
||||||
|
activePriceRecord.setUserId(userId);
|
||||||
|
activePriceRecord.setCreateBy(TokenUtil.getNowAccountInfo().getId().toString());
|
||||||
//查询活动规则
|
//查询活动规则
|
||||||
ActivePriceRule activePriceRule = activePriceRuleMapper.selectOne(new LambdaQueryWrapper<ActivePriceRule>()
|
ActivePriceRule activePriceRule = activePriceRuleMapper.selectOne(new LambdaQueryWrapper<ActivePriceRule>()
|
||||||
.eq(ActivePriceRule::getId, ruleId));
|
.eq(ActivePriceRule::getId, ruleId));
|
||||||
|
Loading…
Reference in New Issue
Block a user