rsHrm.executeQuery("select lastname from HrmResource where id="+recordSet.getString("fecid"));
if(rsHrm.next()){
if(rsHrm.next()){
jclOrgMap.setFName(rsHrm.getString("lastname"));
}
}
}
if(iscreate.equals("2")){
if(iscreate.equals("2")){
RecordSetrs=newRecordSet();
Stringdelsql="delete JCL_ORG_MAP where id="+jclOrgMap.getId()+" and ftype='"+jclOrgMap.getFType()+"' and fisvitual='1' and fdatebegin='"+jclOrgMap.getFDateBegin()+"'";
Stringdelsql="delete JCL_ORG_MAP where id="+jclOrgMap.getId()+" and ftype='"+jclOrgMap.getFType()+"' and fisvitual='1' and fdatebegin='"+jclOrgMap.getFDateBegin()+"'";
rs.execute(delsql);
Stringupdatesql="update JCL_ORG_MAP set fdateend='"+jclOrgMap.getFDateBegin()+"' where id="+jclOrgMap.getId()+" and ftype='"+jclOrgMap.getFType()+"' and fisvitual='1' and fdateend > '"+jclOrgMap.getFDateBegin()+"'";
Stringupdatesql="update JCL_ORG_MAP set fdateend='"+jclOrgMap.getFDateBegin()+"' where id="+jclOrgMap.getId()+" and ftype='"+jclOrgMap.getFType()+"' and fisvitual='1' and fdateend > '"+jclOrgMap.getFDateBegin()+"'";