refactor(oa): 修改 withdrawlock 方法名称
- 将 ISysOaWarehouseMasterService 接口中的 updateWithdrawlock 方法重命名为 updateWithdrawLock - 相应地修改了 SysOaWarehouseMasterController 中的映射路径和方法名 - 更新了 SysOaWarehouseMasterServiceImpl 中的实现方法名此修改统一了方法命名风格,提高了代码的可读性和维护性。
This commit is contained in:
@@ -88,5 +88,5 @@ public interface ISysOaWarehouseMasterService {
|
||||
*/
|
||||
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
|
||||
public int updateWithdrawlock(Long masterId, Integer withdrawlock) {
|
||||
public int updateWithdrawLock(Long masterId, Integer withdrawlock) {
|
||||
SysOaWarehouseMaster update = new SysOaWarehouseMaster();
|
||||
update.setMasterId(masterId);
|
||||
update.setReturnType(withdrawlock);
|
||||
|
||||
Reference in New Issue
Block a user