|
@@ -2841,7 +2841,7 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
//List<WbsTreeContract> childS = this.wbsTreeContractClient.queryChildByParentId(parent, "", "");
|
|
|
|
|
|
//只获取原始表,不获取复制的表(业务说是从项目wbs处取表,目前直接从当前合同段取原始表,也是一样的)
|
|
|
- List<WbsTreeContract> childS = jdbcTemplate.query("select * from m_wbs_tree_contract where old_id is null and is_deleted = 0 and parent_id = " + parent.getId() + " and contract_id = " + parent.getContractId(), new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
|
+ List<WbsTreeContract> childS = jdbcTemplate.query("select * from m_wbs_tree_contract where old_id is null and is_cope_tab is null and is_deleted = 0 and parent_id = " + parent.getId() + " and contract_id = " + parent.getContractId(), new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
|
if (childS.size() > 0) {
|
|
|
//添加入结果集
|
|
|
childList.addAll(childS);
|