|
@@ -2532,7 +2532,6 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
|
|
|
String[] tabArr=new String[]{"计量报表","动员预付款报表","材料预付款报表"};
|
|
|
@Override
|
|
|
public List<ReportResult> execute3(Long contractId,Long periodId ,Integer type) {
|
|
|
- /*封面、支付申请单、付款申请表*/
|
|
|
ContractInfo contractInfo = this.contractInfoService.getById(contractId);
|
|
|
Map<String,String> parent= this.getSqlOne("select id,wbs_id wbsId,CONCAT(ancestors,',',id) path from m_wbs_tree_private a where a.node_name=? and a.project_id=?",Map.class,tabArr[type],contractInfo.getPId());
|
|
|
List<NodeTable> tableList= this.getSqlList("select p_key_id pkeyId, node_name nodeName ,init_table_name initTableName,html_url htmlUrl from m_wbs_tree_private where ancestors like ? and LENGTH(html_url)>0 and is_deleted=0 and project_id=? and wbs_id=?",NodeTable.class,parent.get("path")+"%",contractInfo.getPId(),parent.get("wbsId"));
|