|
@@ -990,6 +990,11 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
|
|
|
@Override
|
|
|
public void updateActualFee(String id, BigDecimal actualFee) {
|
|
|
+ Preparation preparation = mapper.selectByPrimaryKey(id);
|
|
|
+ String userId = SecurityUtils.getUserInfo().getUserId();
|
|
|
+ if(!userId.equals(preparation.getRepairUserId())){
|
|
|
+ throw new DeniedException("非执行人不可以修改实际费用");
|
|
|
+ }
|
|
|
Preparation updInfo = new Preparation();
|
|
|
updInfo.setId(id);
|
|
|
updInfo.setActualFee(actualFee);
|