|
@@ -772,8 +772,8 @@ public class UserServiceImpl extends BaseServiceImpl<UserMapper, User> implement
|
|
|
}
|
|
|
try {
|
|
|
String ancestors = jdbcTemplate.queryForObject(s,String.class);
|
|
|
- String contractExtendSql = "select a.ancestors from m_wbs_tree_contract_extend a" +
|
|
|
- "left join m_wbs_tree_contract b on a.p_key_id = b.p_key_id and b.is_deleted = 0 and b.is_buss_show != 2" +
|
|
|
+ String contractExtendSql = "select a.ancestors from m_wbs_tree_contract_extend a " +
|
|
|
+ "left join m_wbs_tree_contract b on a.p_key_id = b.p_key_id and b.is_deleted = 0 and b.is_buss_show != 2 " +
|
|
|
"where atype = " + tableOwner + " and a.is_sync = 1 and a.is_deleted = 0 and a.ancestors like concat('" + ancestors + "','%')";
|
|
|
strings = jdbcTemplate.queryForList(contractExtendSql, String.class);
|
|
|
} catch (DataAccessException e) {
|