Merge remote-tracking branch 'origin/master'

This commit is contained in:
齐天大圣 2024-03-13 16:43:59 +08:00
commit f16f8ff79a
2 changed files with 6 additions and 0 deletions

View File

@ -228,6 +228,9 @@ public class CardFuelDieselController extends BaseController {
}
activeApplet.setPoints(cardFuelDiesel.getPoints());
if (cardFuelDiesel.getActiveStatus().equals("1")) activeApplet.setActiveStatus("2");
if (cardFuelDiesel.getActiveStatus().equals("0")) activeApplet.setActiveStatus("1");
activeApplet.setIsonline((cardFuelDiesel.getActiveStatus().equals("1")) ? "0" : "1");
activeAppletService.updateById(activeApplet);
return getSuccessResult(this.cardFuelDieselService.updateById(cardFuelDiesel));
}

View File

@ -2,6 +2,8 @@ package com.fuint.business.marketingActivity.cardFule.entity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fuint.repository.model.base.BaseEntity;
import lombok.Data;
@ -18,6 +20,7 @@ public class CardFuelRecord extends BaseEntity {
/**
* 主键id
*/
@TableId(type = IdType.AUTO)
private Integer id;
private Integer oilNumberId;