src/main/java/com/whyc/service/ProductService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/ProductService.java
@@ -17,6 +17,7 @@ import org.apache.poi.ss.usermodel.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.FileCopyUtils; import org.springframework.web.multipart.MultipartFile; @@ -280,6 +281,7 @@ return list; } @Transactional public Response add(Product product) throws IOException { String parentCode = product.getParentCode(); String customCode = product.getCustomCode();