qiuhongwu 4 months ago
commit 61fc74beaa

@ -69,15 +69,17 @@ public class StorageController {
@Operation(summary = "更新入/出库")
@PreAuthorize("@ss.hasPermission('biz:storage:update')")
public CommonResult<Boolean> updateStorage(@Valid @RequestBody StorageSaveReqVO updateReqVO) {
try {
// try {
// storageService.updateStorage(updateReqVO);
// return success(true);
// }catch (UnexpectedRollbackException ex){
// return success(true);
// }catch (Exception ex){
// throw ex;
//
// }
storageService.updateStorage(updateReqVO);
return success(true);
}catch (UnexpectedRollbackException ex){
return success(true);
}catch (Exception ex){
throw ex;
}
}
@PutMapping("/update-status")
@Operation(summary = "更新入/出库")

Loading…
Cancel
Save