根据叶经理要求:人员新增时判断工号是否以wb开头(代表编外人员),如果是则不同步

This commit is contained in:
yuxueliang0813 2024-10-09 13:49:49 +08:00
parent b81a01c055
commit 5b43e9e912
1 changed files with 4 additions and 0 deletions

View File

@ -136,6 +136,10 @@ public class DobeDWpersonTask extends AbstractTask implements Plugin {
log.info(String.format("人员入参为空异常:%s", json_body.toJSONString())); log.info(String.format("人员入参为空异常:%s", json_body.toJSONString()));
continue; continue;
} }
//根据叶经理要求人员新增时判断工号是否以wb开头(代表编外人员)如果是则不同步 yxl 20241009
if(number.startsWith("wb")){
continue;
}
exprtNumber.add(number); exprtNumber.add(number);
// currentUser = QueryServiceHelper.queryOne(entityName,"id,number,name",new QFilter[]{new QFilter("number","=",number)}); // currentUser = QueryServiceHelper.queryOne(entityName,"id,number,name",new QFilter[]{new QFilter("number","=",number)});
if(!QueryServiceHelper.exists(entityName,new QFilter[]{new QFilter("number","=",number)})){ if(!QueryServiceHelper.exists(entityName,new QFilter[]{new QFilter("number","=",number)})){