成本中心同步插件添加用户过滤条件为可用
This commit is contained in:
parent
17bd3f2250
commit
0fdc863d0b
|
@ -82,6 +82,7 @@ public class CostCenterTaskImpl extends AbstractTask {
|
||||||
Set<String> keys = orgMap.keySet();
|
Set<String> keys = orgMap.keySet();
|
||||||
for (String key : keys) {
|
for (String key : keys) {
|
||||||
QFilter userQF = new QFilter("number", QCP.equals, key);
|
QFilter userQF = new QFilter("number", QCP.equals, key);
|
||||||
|
userQF.and("enable",QCP.equals,"1");
|
||||||
DynamicObject bos_user = BusinessDataServiceHelper.loadSingle("bos_user", userQF.toArray());//查找星瀚对应人员
|
DynamicObject bos_user = BusinessDataServiceHelper.loadSingle("bos_user", userQF.toArray());//查找星瀚对应人员
|
||||||
if (bos_user != null){//当人员数据不为空时
|
if (bos_user != null){//当人员数据不为空时
|
||||||
boolean changeFlag = false;
|
boolean changeFlag = false;
|
||||||
|
|
Loading…
Reference in New Issue