|
@@ -1956,7 +1956,7 @@ public class ExcelTabController extends BladeController {
|
|
|
String sql = "select pdf_url,e_visa_pdf_url,pdf_trial_url,pdf_trial_url_position,status from u_information_query where classify='" + classify + "' and wbs_id='" + nodeId + "' and contract_id='" + contractId + "'";
|
|
|
List<Map<String, Object>> maps = jdbcTemplate.queryForList(sql);
|
|
|
if (maps == null || maps.size() == 0) {
|
|
|
- WbsTreeContract contract = wbsTreeContractService.getById(pkeyId);
|
|
|
+ WbsTreeContract contract = wbsTreeContractService.getOne(new LambdaQueryWrapper<WbsTreeContract>().eq(WbsTreeContract::getPKeyId,nodeId));
|
|
|
InformationQuery query = new InformationQuery();
|
|
|
query.setId(SnowFlakeUtil.getId());
|
|
|
query.setWbsId(Long.parseLong(nodeId));
|