|
@@ -178,7 +178,14 @@ public class BizSupplierController extends BaseController
|
|
|
return AjaxResult.error("供应商编号不能重复");
|
|
|
}
|
|
|
}
|
|
|
- return toAjax(bizSupplierService.updateById(bizSupplier));
|
|
|
+
|
|
|
+ try {
|
|
|
+ bizSupplierService.updateById(bizSupplier);
|
|
|
+ } catch (Exception e) {
|
|
|
+ throw new RuntimeException(e);
|
|
|
+ }
|
|
|
+
|
|
|
+ return success(bizSupplier.getId());
|
|
|
}
|
|
|
|
|
|
/**
|