-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
306 : Product Catalogue #313
Conversation
…itory and Service classes
Pull Request Test Coverage Report for Build 2989
💛 - Coveralls |
There is an issue with the PUT end-point. As per the business, the image can also be updated in an edit-mode. Therefore, we need to provide support for the update of both JSON payload and Multipart file in an edit. To make it work, I tried with @RequestPart but it did not work. The problem is PUT request represents a single resource. But multi parts means multiple resources in a single body. Therefore, it throws an exception |
|
||
ProductCatalogueExample productCatalogueExample = new ProductCatalogueExample(); | ||
productCatalogueExample.createCriteria().andUniqueIdEqualTo(uniqueId); | ||
// int rowsAffected = customProductCatalogueMapper.deleteByExample(productCatalogueExample); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this unused piece of code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@rehammuzzamil I agree. I also found the same method after doing some research. So let's work with this solution. |
As discussed with @dubdabasoduba , closing this PR. |
#306