Authored by mali

现货寄存

... ... @@ -207,6 +207,16 @@ public class DepositController {
return new ApiResponse.ApiResponseBuilder().code(200).data(count).build();
}
/**
* 不可重复调用,新增记录不好防并发
*
* 新增一条现货寄存的虚拟库存
* @param uid
* @param appraiseOrderCode 鉴定订单号
* @param depositStatus 参考com.yohobuy.ufo.model.order.constants.StorageDepositStatusEnum
* 无法鉴定 鉴定为假 质检不通过 传WAITING_OUT 待发货
* @return
*/
@RequestMapping(params = "method=ufo.deposit.insertFakeDeposit")
public int insertFakeDeposit(@RequestParam("uid") Integer uid , @RequestParam(name = "appraiseOrderCode")long appraiseOrderCode) {
LOG.info("method insertFakeDeposit in, uid is {}, appraiseOrderCode is {}", uid, appraiseOrderCode);
... ...
... ... @@ -97,7 +97,7 @@ public interface DepositService {
/**
* 不可重复调用,新增记录不好防并发
*
* 新增一条现货寄存的订单
* 新增一条现货寄存的虚拟库存
* @param uid
* @param appraiseOrderCode 鉴定订单号
* @param depositStatus 参考com.yohobuy.ufo.model.order.constants.StorageDepositStatusEnum
... ...
... ... @@ -670,7 +670,7 @@ public class DepositServiceImpl implements DepositService {
/**
* 不可重复调用,新增记录不好防并发
*
* 新增一条现货寄存的订单
* 新增一条现货寄存的虚拟库存
* @param uid
* @param appraiseOrderCode 鉴定订单号
* @param depositStatus 参考com.yohobuy.ufo.model.order.constants.StorageDepositStatusEnum
... ...