组织变更

This commit is contained in:
Administrator 2025-08-08 11:36:44 +08:00
parent fa871ef464
commit 66de8e628a
1 changed files with 3 additions and 3 deletions

View File

@ -848,9 +848,9 @@ public class SyncDepartmentChanges implements EsbServerlessRpcRemoteInterface {
sql = "select a.bgzz,b.* from uf_organization_bghzzsj b \n" +
"left join uf_organizational_changes a on a.id = b.form_data_id where a.delete_type = 0 and b.delete_type = 0 ";
}
// if(StringUtils.isNotBlank(bgsxrq)){
// sql += " and a.bgsxrq = '"+bgsxrq+"' ";
// }
if(StringUtils.isNotBlank(bgsxrq)){
sql += " and a.bgsxrq = '"+bgsxrq+"' ";
}
log.error("getOriginalTree.sql:{}", sql);
Map<String, Object> rs = databaseUtils.execute("LOGIC", "weaver-ebuilder-form-service", sql);
List<Map<String, Object>> recordList = databaseUtils.getDataSourceList(rs);