Commit c3b2d3a1 by zhangxingmin

push

parent ac0ceda5
......@@ -52,6 +52,8 @@ public class CsfMybatisPlusConfig {
//自动注入创建人和创建用户名
this.strictInsertFill(metaObject, "creatorId", String.class, authUserDto.getUserBizId());
this.strictInsertFill(metaObject, "creatorName", String.class, authUserDto.getRealName());
this.strictUpdateFill(metaObject, "updaterId", String.class, authUserDto.getUserBizId());
this.strictUpdateFill(metaObject, "updaterName", String.class, authUserDto.getRealName());
}
}
......
......@@ -168,6 +168,12 @@ public class Commission implements Serializable {
private String updaterId;
/**
* 更新人名称
*/
@TableField(value = "updater_name", fill = FieldFill.INSERT_UPDATE)
private String updaterName;
/**
* 创建时间
*/
private Date createTime;
......
......@@ -350,7 +350,7 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
vo.setRealAmount(commission.getAmount());
vo.setRealCurrentCommissionRatio(commission.getCurrentCommissionRatio());
vo.setRealUpdateTime(commission.getUpdateTime());
vo.setRealUpdaterName(commission.getUpdaterId());
vo.setRealUpdaterName(commission.getUpdaterName());
vo.setRealRemark(commission.getRemark());
vo.setCommissionDate(commission.getCommissionDate());
......
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