修改报销类
This commit is contained in:
parent
0508482e0c
commit
ef8ff160ca
@ -1,5 +1,6 @@
|
||||
package com.cpop.oam.business.entity;
|
||||
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import com.cpop.core.base.entity.BaseEntity;
|
||||
@ -48,13 +49,10 @@ public class FinanceReimburseStage extends BaseEntity implements Serializable {
|
||||
*/
|
||||
private LocalDateTime paymentTime;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 逻辑删除(1否0是)
|
||||
*/
|
||||
private Boolean deleted;
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDelete;
|
||||
|
||||
}
|
||||
|
||||
@ -146,6 +146,7 @@ public class FinanceReimburseServiceImpl extends ServiceImpl<FinanceReimburseMap
|
||||
} else {
|
||||
entity.setFinanceReimburseId(item.getId()).setPaymentTime(now).setStageAmount(item.getPrice());
|
||||
}
|
||||
financeReimburseStages.add(entity);
|
||||
item.setStatus(2);
|
||||
});
|
||||
}
|
||||
@ -243,9 +244,7 @@ public class FinanceReimburseServiceImpl extends ServiceImpl<FinanceReimburseMap
|
||||
}
|
||||
}
|
||||
FinanceReimburseStage entity = new FinanceReimburseStage();
|
||||
BeanUtils.copyBeanProp(entity, bo);
|
||||
entity.setFinanceReimburseId(bo.getId())
|
||||
.setId(null);
|
||||
entity.setFinanceReimburseId(bo.getId()).setPaymentTime(bo.getPaymentTime()).setStageAmount(bo.getStageAmount());
|
||||
stageService.save(entity);
|
||||
//更新报销记录
|
||||
this.updateById(financeReimburse);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user