|
@@ -2147,9 +2147,6 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
Elements trs = table.select("tr");
|
|
|
if (ObjectUtil.isNotEmpty(DataInfo)) {
|
|
|
for (String val : DataInfo.keySet()) {
|
|
|
- if(val.equals("key_23__12_1")){
|
|
|
- System.out.println("");
|
|
|
- }
|
|
|
Elements datas = doc.getElementsByAttributeValue("keyname", val);
|
|
|
Element data = null;
|
|
|
if (datas.size() >= 1) {
|
|
@@ -4235,7 +4232,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
* 试验 委托单 单pdf
|
|
|
*/
|
|
|
@Override
|
|
|
- public String getEntrustPDFTrial(Long pkeyId, String contractId, Long groupId) throws Exception {
|
|
|
+ public String getEntrustPDFTrial(Long pkeyId, String contractId, Long groupId,String entrustInfoName) throws Exception {
|
|
|
String file_path = FileUtils.getSysLocalFileUrl();//ParamCache.getValue(CommonConstant.SYS_LOCAL_URL);
|
|
|
String sys_file_net_url = ParamCache.getValue(CommonConstant.SYS_FILE_NET_URL);
|
|
|
WbsTreePrivate wbsTreePrivate = wbsTreePrivateService.getBaseMapper().selectOne(Wrappers.<WbsTreePrivate>query().lambda()
|
|
@@ -4509,9 +4506,9 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
jdbcTemplate.update("update u_entrust_info set entrust_pdf = '" + pdfUrl + "' where id='" + groupId + "' ");
|
|
|
List<InformationQuery> query2 = jdbcTemplate.query("select id from u_information_query where classify = 1 and wbs_id ='" + groupId + "' and contract_id ='" + contractId + "'", new BeanPropertyRowMapper<>(InformationQuery.class));
|
|
|
if (query2.size() > 0) {
|
|
|
- jdbcTemplate.execute("update u_information_query set pdf_url ='" + bladeFile.getLink() + "', name ='委托单' where classify='1' and wbs_id='" + groupId + "' and contract_id ='" + contractId + "'");
|
|
|
+ jdbcTemplate.execute("update u_information_query set pdf_url ='" + bladeFile.getLink() + "', name ='"+entrustInfoName+"' where classify='1' and wbs_id='" + groupId + "' and contract_id ='" + contractId + "'");
|
|
|
} else {
|
|
|
- informationQueryClient.saveData(groupId.toString(), projectInfo.getId().toString(), contractId, "1", bladeFile.getLink(), "委托单");
|
|
|
+ informationQueryClient.saveData(groupId.toString(), projectInfo.getId().toString(), contractId, "1", bladeFile.getLink(), entrustInfoName);
|
|
|
}
|
|
|
return bladeFile.getLink();
|
|
|
}
|