| | |
| | | import com.whyc.util.ActionUtil; |
| | | import org.apache.poi.hssf.usermodel.*; |
| | | import org.apache.poi.ss.usermodel.ClientAnchor; |
| | | import org.apache.poi.ss.usermodel.Row; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | |
| | | //根据baseProduct的code和custom_code,查找到基准产品 |
| | | if(baseProduct == null){ |
| | | //productService. |
| | | //productService.getBomL |
| | | }else{ |
| | | |
| | | } |
| | |
| | | if(fileUrl.substring(fileUrl.lastIndexOf(".")+1).equals("dwg")) { |
| | | FileUrlDTO dto = new FileUrlDTO(); |
| | | dto.setFileName(fileUrl.substring(fileUrl.lastIndexOf(File.separator) + 1)); |
| | | dto.setHttpFileUrl(fileUrl.substring(fileUrl.lastIndexOf("doc_file" + File.separator + "product_approving"))); |
| | | dto.setHttpFileUrl(fileUrl.substring(fileUrl.lastIndexOf("doc_file" + File.separator + "product_submit"))); |
| | | list.add(dto); |
| | | } |
| | | }); |