修改税率和费用名称
This commit is contained in:
@ -37,7 +37,7 @@ public class ExpenseNameServiceImpl extends ServiceImpl<LngBFeeMapper, LngBFee>
|
||||
@Override
|
||||
public Long add(UpdateLngBFeeDto dto) {
|
||||
this.checkParams(dto);
|
||||
UpdateLngBFeeDto res = DataLogTools.update(dto);
|
||||
UpdateLngBFeeDto res = DataLogTools.insert(dto);
|
||||
this.addOrUpdateAfter(res.getId());
|
||||
return res.getId();
|
||||
}
|
||||
|
||||
@ -37,7 +37,7 @@ public class TaxRateServiceImpl extends ServiceImpl<LngBTaxMapper, LngBTax> impl
|
||||
@Override
|
||||
public Long add(UpdateLngBTaxDto dto) {
|
||||
this.checkParams(dto);
|
||||
UpdateLngBTaxDto res = DataLogTools.update(dto);
|
||||
UpdateLngBTaxDto res = DataLogTools.insert(dto);
|
||||
this.addOrUpdateAfter(res.getId());
|
||||
return res.getId();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user