...
|
...
|
@@ -542,7 +542,7 @@ public static void main(String[] args) { |
|
|
}
|
|
|
int n = productMapper.updateStatusByPrimaryKey(bo.getId(), bo.getStatus());
|
|
|
if (n == 1) {
|
|
|
return new ApiResponse<>(400, "操作成功");
|
|
|
return new ApiResponse<>(200, "操作成功");
|
|
|
}
|
|
|
return new ApiResponse<>(400, "操作失败!");
|
|
|
}
|
...
|
...
|
|