Commit 1d5871eb by jianan

来佣接口30

parent d558ac61
......@@ -242,7 +242,7 @@ public class ApiFortuneController {
// return Result.fail(ErrorCode.NO_AUTH_ERROR.getCode(), ErrorCode.NO_AUTH_ERROR.getMessage());
// }
// 操作数据库
boolean result = fortuneService.removeById(oldFortuneAccount);
boolean result = fortuneAccountService.removeById(oldFortuneAccount);
if (!result) {
return Result.fail(ErrorCode.OPERATION_ERROR.getCode(), ErrorCode.OPERATION_ERROR.getMessage());
}
......
......@@ -76,7 +76,7 @@ public class Commission implements Serializable {
private Date commissionDate;
/**
* 来佣状态 0=未比对 1=已比对
* 来佣状态 0=未比对 1=比对成功 2=比对失败
*/
private String status;
......
package com.yd.csf.service.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.math.BigDecimal;
......@@ -80,6 +77,7 @@ public class FortuneAccount implements Serializable {
/**
* 删除标识: 0-正常, 1-删除
*/
@TableLogic
private Integer isDeleted;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment