refactor(oa): 修改 withdrawlock 方法名称
- 将 ISysOaWarehouseMasterService 接口中的 updateWithdrawlock 方法重命名为 updateWithdrawLock - 相应地修改了 SysOaWarehouseMasterController 中的映射路径和方法名 - 更新了 SysOaWarehouseMasterServiceImpl 中的实现方法名此修改统一了方法命名风格,提高了代码的可读性和维护性。
This commit is contained in:
@@ -140,9 +140,9 @@ public class SysOaWarehouseMasterController extends BaseController {
|
|||||||
return toAjax(iSysOaWarehouseMasterService.updateReturnType(masterId, returnType));
|
return toAjax(iSysOaWarehouseMasterService.updateReturnType(masterId, returnType));
|
||||||
}
|
}
|
||||||
// 修改withdrawlock
|
// 修改withdrawlock
|
||||||
@PutMapping("/withdrawlock")
|
@PutMapping("/withdrawLock")
|
||||||
public R<Void> updateWithdrawlock(@RequestParam Long masterId, @RequestParam Integer withdrawlock) {
|
public R<Void> updateWithdrawLock(@RequestParam Long masterId, @RequestParam Integer withdrawlock) {
|
||||||
return toAjax(iSysOaWarehouseMasterService.updateWithdrawlock(masterId, withdrawlock));
|
return toAjax(iSysOaWarehouseMasterService.updateWithdrawLock(masterId, withdrawlock));
|
||||||
}
|
}
|
||||||
// 明细退库
|
// 明细退库
|
||||||
@PostMapping("/returnDetail")
|
@PostMapping("/returnDetail")
|
||||||
|
|||||||
@@ -88,5 +88,5 @@ public interface ISysOaWarehouseMasterService {
|
|||||||
*/
|
*/
|
||||||
Boolean updateRemark(Long masterId, String remark);
|
Boolean updateRemark(Long masterId, String remark);
|
||||||
|
|
||||||
int updateWithdrawlock(Long masterId, Integer withdrawlock);
|
int updateWithdrawLock(Long masterId, Integer withdrawlock);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ public class SysOaWarehouseMasterServiceImpl implements ISysOaWarehouseMasterSer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int updateWithdrawlock(Long masterId, Integer withdrawlock) {
|
public int updateWithdrawLock(Long masterId, Integer withdrawlock) {
|
||||||
SysOaWarehouseMaster update = new SysOaWarehouseMaster();
|
SysOaWarehouseMaster update = new SysOaWarehouseMaster();
|
||||||
update.setMasterId(masterId);
|
update.setMasterId(masterId);
|
||||||
update.setReturnType(withdrawlock);
|
update.setReturnType(withdrawlock);
|
||||||
|
|||||||
Reference in New Issue
Block a user