|
@@ -63,8 +63,8 @@ public class AmsDispatchSaleOrderController extends BaseRESTfulController {
|
|
|
@ApiOperation(value="抢单/接收订单锁定")
|
|
|
@PostMapping("/lockDispatchSaleOrder")
|
|
|
public RESTfulResult lockDispatchSaleOrder(@RequestParam Integer dispatchId,
|
|
|
- @RequestParam Integer carrierId) {
|
|
|
- int result = amsDispatchSaleOrderService.lockDispatchSaleOrder(new BigDecimal(dispatchId),new BigDecimal(carrierId));
|
|
|
+ @RequestParam String carrierSsoId) {
|
|
|
+ int result = amsDispatchSaleOrderService.lockDispatchSaleOrder(new BigDecimal(dispatchId),carrierSsoId);
|
|
|
return success(result);
|
|
|
}
|
|
|
|
|
@@ -77,11 +77,11 @@ public class AmsDispatchSaleOrderController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- String carrierSSOId){
|
|
|
+ String carrierSsoId){
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- mapValue.put("carrierSSOId",carrierSSOId);
|
|
|
+ mapValue.put("carrierSsoId",carrierSsoId);
|
|
|
List<Map<String, Object>> amsSaleOrder = amsDispatchSaleOrderService.getLockDispatchSaleOrderListForPc(mapValue);
|
|
|
PageHelper.startPage(pageNum,pageSize);
|
|
|
List<Map<String, Object>> amsSaleOrder1 = amsDispatchSaleOrderService.getLockDispatchSaleOrderListForPc(mapValue);
|
|
@@ -99,6 +99,7 @@ public class AmsDispatchSaleOrderController extends BaseRESTfulController {
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer dispatchType,
|
|
|
+ String carrierSsoId,
|
|
|
String con){
|
|
|
if (con != null) {
|
|
|
if(!"undefined".equals(con)){
|
|
@@ -107,8 +108,9 @@ public class AmsDispatchSaleOrderController extends BaseRESTfulController {
|
|
|
}
|
|
|
}
|
|
|
mapValue.put("dispatchType",dispatchType);
|
|
|
+ mapValue.put("carrierSsoId",carrierSsoId);
|
|
|
List<Map<String, Object>> dispatchSaleOrderList = null;
|
|
|
- if (mapValue.size() == 1) {
|
|
|
+ if (mapValue.size() == 2) {
|
|
|
//将查询结果存入索引中
|
|
|
dispatchSaleOrderList = amsDispatchSaleOrderService.getPCDispatchSaleOrderList(mapValue);
|
|
|
Map<String, Object> map1 = new HashMap<>();
|