Authored by mali

加注释

... ... @@ -92,6 +92,11 @@ public class StorageDepositController {
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);
... ... @@ -106,6 +111,11 @@ public class StorageDepositController {
}
}
/**
* 查询已有的货架号列表
* @param req
* @return
*/
@RequestMapping(value = "/queryByShelfCode")
public ApiResponse queryByShelfCode(StorageDepositReq req) {
LOGGER.info("queryByShelfCode in. param is {}", req);
... ... @@ -116,6 +126,11 @@ public class StorageDepositController {
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.");
... ... @@ -135,6 +150,11 @@ 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();
... ...