refactor(oa): 修正更新提货锁方法参数命名

- 将 ISysOaWarehouseMasterService 接口中的 updateWithdrawLock 方法参数名从 withdrawlock 改为 withdrawLock
- 更新 SysOaWarehouseMasterController 中的 updateWithdrawlock 方法参数名
- 修改 SysOaWarehouseMasterServiceImpl 中的 updateWithdrawLock 方法实现
This commit is contained in:
2025-08-19 17:33:04 +08:00
parent 3dfb5250ea
commit 9ef24d1227
3 changed files with 5 additions and 5 deletions

View File

@@ -120,8 +120,8 @@ public class SysOaWarehouseMasterController extends BaseController {
}
// 修改withdrawlock
@PutMapping("/withdrawlock")
public R<Void> updateWithdrawlock(@RequestParam Long masterId, @RequestParam Integer withdrawlock) {
return toAjax(iSysOaWarehouseMasterService.updateWithdrawLock(masterId, withdrawlock));
public R<Void> updateWithdrawlock(@RequestParam Long masterId, @RequestParam Integer withdrawLock) {
return toAjax(iSysOaWarehouseMasterService.updateWithdrawLock(masterId, withdrawLock));
}
/**

View File

@@ -89,5 +89,5 @@ public interface ISysOaWarehouseMasterService {
int updateReturnType(Long masterId, Integer returnType);
int updateWithdrawLock(Long masterId, Integer withdrawlock);
int updateWithdrawLock(Long masterId, Integer withdrawLock);
}

View File

@@ -333,10 +333,10 @@ public class SysOaWarehouseMasterServiceImpl implements ISysOaWarehouseMasterSer
return baseMapper.updateById(update);
}
@Override
public int updateWithdrawLock(Long masterId, Integer withdrawlock) {
public int updateWithdrawLock(Long masterId, Integer withdrawLock) {
SysOaWarehouseMaster update = new SysOaWarehouseMaster();
update.setMasterId(masterId);
update.setReturnType(withdrawlock);
update.setWithdrawLock(withdrawLock);
return baseMapper.updateById(update);
}
}