Authored by mali

加注释

... ... @@ -91,7 +91,12 @@ public class StorageDepositController {
PageResponseBO<StorageDepositPickRsp> result = storageDepositService.queryDepositPickListByStatus(req);
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
}
/**
* 拣货操作
* @param req
* @return
*/
@RequestMapping(value = "/finishPick")
public ApiResponse finishPick(StorageDepositReq req) {
LOGGER.info("finishPick in. param is {}", req);
... ... @@ -105,7 +110,12 @@ public class StorageDepositController {
return new ApiResponse.ApiResponseBuilder().code(500).data(result).message("拣货失败").build();
}
}
/**
* 查询已有的货架号列表
* @param req
* @return
*/
@RequestMapping(value = "/queryByShelfCode")
public ApiResponse queryByShelfCode(StorageDepositReq req) {
LOGGER.info("queryByShelfCode in. param is {}", req);
... ... @@ -115,7 +125,12 @@ public class StorageDepositController {
List<StorageDepositRsp> result = storageDepositService.queryByShelfCode(req);
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
}
/**
* 导入货架号
* @param file
* @return
*/
@RequestMapping(value = "/saveShelfCode", method = RequestMethod.POST)
public ApiResponse saveShelfCode(@RequestParam("file") MultipartFile file) {
LOGGER.info("saveShelfCode start.");
... ... @@ -134,7 +149,12 @@ public class StorageDepositController {
}
return new ApiResponse.ApiResponseBuilder().code(200).message("操作成功").build();
}
/**
* 查询货架号是否合法
* @param req
* @return
*/
@RequestMapping(value = "/queryIsShelfCodeExist")
public ApiResponse queryIsShelfCodeExist(StorageDepositReq req) {
LOGGER.info("queryIsShelfCodeExist in. param is {}", req);
... ...
... ... @@ -334,7 +334,7 @@ public class StorageDepositServiceImpl implements IStorageDepositService, IBusin
}
}
//更改状态为已入库
//更改状态为待发货
int num = storageDepositMapper.batchUpdateStatusByDepositCodeList(StorageDepositStatusEnum.WAITING_OUT.getCode(), depositCodeList);
int operateType =OperateTypeEnum.DEPOIST_FINISH_PICK.getCode();
... ...