fix: 关闭物流公司无效问题
This commit is contained in:
parent
25f8b103bf
commit
da28859398
@ -82,7 +82,7 @@ public class LogisticsStoreController {
|
|||||||
@DeleteMapping(value = "/{id}")
|
@DeleteMapping(value = "/{id}")
|
||||||
public ResultMessage<Object> cancel(@PathVariable String id) {
|
public ResultMessage<Object> cancel(@PathVariable String id) {
|
||||||
String storeId = Objects.requireNonNull(UserContext.getCurrentUser()).getStoreId();
|
String storeId = Objects.requireNonNull(UserContext.getCurrentUser()).getStoreId();
|
||||||
boolean remove = storeLogisticsService.remove(new LambdaQueryWrapper<StoreLogistics>().eq(StoreLogistics::getId, id).eq(StoreLogistics::getStoreId, storeId));
|
boolean remove = storeLogisticsService.remove(new LambdaQueryWrapper<StoreLogistics>().eq(StoreLogistics::getLogisticsId, id).eq(StoreLogistics::getStoreId, storeId));
|
||||||
return ResultUtil.data(remove);
|
return ResultUtil.data(remove);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user