rk
2025-12-16 2cfceadff437135a255990ab9698788a48adb636
server/dmmall_service/src/main/java/com/doumee/dao/business/model/Integral.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.utils.Constants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -76,6 +77,8 @@
    @ApiModelProperty(value = "交易单号")
    private String orderCode;
    @ApiModelProperty(value = "用户类型:0=消费者;1=经销商;")
    private Integer userType;
    @ApiModelProperty(value = "用户昵称")
    @ExcelColumn(name="用户",index =1,width = 10)
@@ -109,4 +112,19 @@
    private String strObjType;
//    public static  Integral createIntegral(Integer memberId, Constants.INTEGRAL_TYPE integralType,Integer objId){
//        Integral integral = new Integral();
//        integral.setCreator(memberId);
//        integral.setCreateDate(new Date());
//        integral.setIsdeleted(Constants.ZERO);
//        integral.setMemberId(memberId);
//        integral.setTitle(integralType.getName());
//        integral.setObjId(objId);
//        integral.setObjType(integralType.getKey());
//        integral.setType(integralType.getType());
//
//        return integral;
//    }
}