|
@@ -203,7 +203,7 @@ public class FormulaController {
|
|
old.setDev(fa.getDev());
|
|
old.setDev(fa.getDev());
|
|
old.setScale(fa.getScale());
|
|
old.setScale(fa.getScale());
|
|
// this.service.updateById(old);
|
|
// this.service.updateById(old);
|
|
- this.service.update(Wrappers.<Formula>lambdaUpdate().set(Formula::getFormula,fa.getFormula()).set(Formula::getMap,fa.getMap()).set(Formula::getRely,fa.getRely()).set(Formula::getDev,fa.getDev()).set(Formula::getScale,fa.getScale()).eq(Formula::getId,fa.getId()));
|
|
|
|
|
|
+ this.service.update(Wrappers.<Formula>lambdaUpdate().set(Formula::getFormula,fa.getFormula()).set(Formula::getRemark,fa.getRemark()).set(Formula::getMap,fa.getMap()).set(Formula::getRely,fa.getRely()).set(Formula::getDev,fa.getDev()).set(Formula::getScale,fa.getScale()).eq(Formula::getId,fa.getId()));
|
|
return R.data(fa.getId());
|
|
return R.data(fa.getId());
|
|
}
|
|
}
|
|
}
|
|
}
|