Stringsql4="insert into e10_common.dbo.jhrwmxlog(id,mainid,rwbh,lcbid,zkjh,gzrw,zrr,jxzb,ts,ksrq,jsrq,yqrq,phr,ddr,qrr,csr,pid,glid,mxid,isdr,rwzt,requestid,request,rwbh2,lxsj,tdsj,rwlx,xmkp,yhry,rwjb,shr,jtyq,tbr,rbbm,ssgs,rwsm,fj,yfjd,xmbh,FtriggerFlag) (select id,mainid,rwbh,lcbid,zkjh,gzrw,zrr,jxzb,ts,ksrq,jsrq,yqrq,phr,ddr,qrr,csr,pid,glid,mxid,isdr,rwzt,0 as requestid,requestid as request,rwbh2,lxsj,tdsj,rwlx,xmkp,yhry,rwjb,shr,jtyq,tbr,rbbm,ssgs,rwsm,fj,yfjd,xmbh,0 as FtriggerFlag from jhrwmx where mxid<>0 and ISDR=0 AND cast(glid as varchar) = '"+glid+"') order by rwbh ";
Stringsql="insert into e10_common.dbo.buka_log(requestid,gh,punchreason,punchtype,TimeCardDate,TimeCardTime,createrId,BKRQ) values"+"("+requestid+",'"+GH+"','"+Punchreason+"','"+Punchtype1+"','"+TimeCardDate+"','"+TimeCardTime+"','"+createrId+"','"+BKRQ+"')";
Stringsql="update e10_common.dbo.buka_log set requestid = "+requestid+",gh = '"+GH+"',punchreason='"+Punchreason+"',punchtype='"+Punchtype1+"',TimeCardDate='"+TimeCardDate+"',TimeCardTime='"+TimeCardTime+"',createrId='"+createrId+"',BKRQ='"+BKRQ+"' where id = "+recodId+" and delete_type = 0 ";
Stringsql="insert into e10_common.dbo.buka_log(requestid,gh,punchreason,punchtype,TimeCardDate,TimeCardTime,createrId,BKRQ) values"+"("+requestid+",'"+GH+"','"+Punchreason+"','"+Punchtype1+"','"+TimeCardDate+"','"+TimeCardTime+"','"+createrId+"','"+BKRQ+"')";
Stringsql="update e10_common.dbo.buka_log set requestid = "+requestid+",gh = '"+GH+"',punchreason='"+Punchreason+"',punchtype='"+Punchtype1+"',TimeCardDate='"+TimeCardDate+"',TimeCardTime='"+TimeCardTime+"',createrId='"+createrId+"',BKRQ='"+BKRQ+"' where id = "+recodId+" and delete_type = 0 ";
Stringsql="insert into e10_common.dbo.buka_log(requestid,gh,punchreason,punchtype,TimeCardDate,TimeCardTime,createrId,BKRQ) values"+"("+requestid+",'"+GH+"','"+Punchreason+"','"+Punchtype1+"','"+TimeCardDate+"','"+TimeCardTime+"','"+createrId+"','"+BKRQ+"')";
Stringsql="update e10_common.dbo.buka_log set requestid = "+requestid+",gh = '"+GH+"',punchreason='"+Punchreason+"',punchtype='"+Punchtype1+"',TimeCardDate='"+TimeCardDate+"',TimeCardTime='"+TimeCardTime+"',createrId='"+createrId+"',BKRQ='"+BKRQ+"' where id = "+recodId+" and delete_type = 0 ";
@ -199,7 +199,7 @@ public class SCFAndEASApplyUserSyncAction extends BaseBean implements Action, Es
rs.executeSql("insert into uf_applyUser(companycode,formmodeid,modedatacreater,modedatacreatertype,modedatacreatedate,modedatacreatetime,"+"lclx,oafqr,oafqrgh,easfqr,easfqrgh,modeuuid) "+"values('"+companyCode+"',"+"'139',"+sqr+","+"'0',"+"'"+currentdate+"',"+"'"+currenttime+"',"+list.get(i).get("lclx")+","+list.get(i).get("oafqr")+",'"+list.get(i).get("oafqrgh")+"',"+list.get(i).get("oafqr")+",'"+list.get(i).get("oafqrgh")+"','"+uuid+// DiscountedInvoiceApplicationImpl 使用eas发起人
"')",poolname_2n,generate);
}
// rs.execute("insert into uf_applyUser(companycode,lclx,oafqr,oafqrgh,easfqr,easfqrgh) values('"+companyCode+"',"+list.get(i).get("lclx")+","+list.get(i).get("oafqr")+",'"+list.get(i).get("oafqrgh")+"',"+list.get(i).get("easfqr")+",'"+list.get(i).get("easfqrgh")+"')");
Stringsql3="update e10_common.dbo.HT_CRM_JDCS set REQUESTID = '"+requestId+"',KHBM='"+khbm+"',XSZZ='"+xszz+"',SQRGH='"+sqrgh+"',SQRQ='"+sqrq+"',CREATEDATE=GETDATE() where id = "+recodId+" and delete_type = 0 ";