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 ";
@ -102,12 +113,20 @@ public class NewBuKaAction extends BaseBean implements Action, EsbServerlessRpcR
bkyy=valueq;
}
}
Stringinsertsql="insert into buka_log_new(requestid,gh,punchreason,punchtype,TimeCardDate,TimeCardTime,createrId,BKRQ) values("+requestid+",'"+GH+"','"+bkyy+"','"+kz+"','"+qksj+"','"+bkrq+" "+bksj+"','"+createrId+"','"+BKRQ+"')";
Stringsql="update e10_common.dbo.buka_log_new set requestid = "+requestid+",gh = '"+GH+"',punchreason='"+bkyy+"',punchtype='"+kz+"',TimeCardDate='"+qksj+"',TimeCardTime='"+bkrq+" "+bksj+"',createrId='"+createrId+"',BKRQ='"+BKRQ+"' where id = "+recodId+" and delete_type = 0 ";
@ -516,12 +527,21 @@ public class ZOA_SL_GNCC_Action extends BaseBean implements Action, EsbServerles
if(str.length()>150){
str=str.substring(0,150);
}
Stringsql="insert into chuchai_qingjia_log(requestId,gh,lbbh,kssj,jssj,message,state,qjss) values('"+reid+"','','A11','"+beginDateTime+"','"+endDateTime+"','"+str+"','"+hrstate+"','"+qjss+"')";
Stringsql="update e10_common.dbo.sync_eas_log set requestId = '"+reid+"',gh = '',lbbh='A11',kssj='"+beginDateTime+"',jssj='"+endDateTime+"',message='"+str+"',state='"+hrstate+"',qjss='"+qjss+"' where id = "+recodId+" and delete_type = 0 ";
@ -741,21 +761,35 @@ public class ZOA_SL_GNCC_Action extends BaseBean implements Action, EsbServerles
String[]result=callTravelApply.call();
sta=result[0];
message=result[1];
Stringsql_log="insert into sync_eas_log(requestId,lcbh,kssj,jssj,sqrq,ccmdd,gh,name,sxrgh,sxrxm,reason,title,sqbm,sqdw,status,message) "+"values('"+reid+"','"+sourceKey+"','"+kssj+"','"+jssj+"','"+sqrq+"','"+attribute8+"','"+errandEmpNum+"','"+attribute3+"','"+synergeticNumbers+"'"+",'"+synergeticNames+"','"+reason+"','"+title+"','"+attribute4+"','"+attribute5+"','"+sta+"','"+message+"')";
Stringsql3="update e10_common.dbo.sync_eas_log set requestId = '"+reid+"',lcbh = '"+sourceKey+"',kssj='"+kssj+"',jssj='"+jssj+"',sqrq='"+sqrq+"',ccmdd='"+attribute8+"',gh='"+errandEmpNum+"',name='"+attribute3+"',sxrgh='"+synergeticNumbers+"' "+",sxrxm='"+synergeticNames+"',reason='"+reason+"',title='"+title+"',sqbm='"+attribute4+"',sqdw='"+attribute5+"',status='"+sta+"',message='"+message+"' where id = "+recodId1+" and delete_type = 0 ";
Stringsql_log="insert into sync_eas_log(requestId,lcbh,kssj,jssj,sqrq,ccmdd,gh,name,sxrgh,sxrxm,reason,title,sqbm,sqdw,status,message) "+"values('"+reid+"','"+sourceKey+"','"+kssj+"','"+jssj+"','"+sqrq+"','"+attribute8+"','"+errandEmpNum+"','"+attribute3+"','"+synergeticNumbers+"'"+",'"+synergeticNames+"','"+reason+"','"+title+"','"+attribute4+"','"+attribute5+"','"+sta+"','"+message+"')";
Stringsql3="update e10_common.dbo.sync_eas_log set requestId = '"+reid+"',lcbh = '"+sourceKey+"',kssj='"+kssj+"',jssj='"+jssj+"',sqrq='"+sqrq+"',ccmdd='"+attribute8+"',gh='"+errandEmpNum+"',name='"+attribute3+"',sxrgh='"+synergeticNumbers+"' "+",sxrxm='"+synergeticNames+"',reason='"+reason+"',title='"+title+"',sqbm='"+attribute4+"',sqdw='"+attribute5+"',status='"+sta+"',message='"+message+"' where id = "+recodId2+" and delete_type = 0 ";
@ -526,14 +526,23 @@ public class ZOA_SL_GWCC_Action extends BaseBean implements Action, EsbServerles
if(str.length()>150){
str=str.substring(0,150);
}
Stringsql="insert into chuchai_qingjia_log(requestId,gh,lbbh,kssj,jssj,message,state,qjss) values('"+reid+"','','A11','"+beginDateTime+"','"+endDateTime+"','"+str+"','"+hrstate+"','"+qjss+"')";
Stringsql3="update e10_common.dbo.chuchai_qingjia_log set requestId = '"+reid+"',gh = '',lbbh='A11',kssj='"+beginDateTime+"',jssj='"+endDateTime+"',message='"+str+"',state='"+hrstate+"',qjss='"+qjss+"' where id = "+recodId+" and delete_type = 0 ";