|
|
@ -55,7 +55,7 @@ public class KqMonthReportSynJob extends BaseCronJob {
|
|
|
|
Map<String,Object> signData = getSignData(fromDate,toDate);
|
|
|
|
Map<String,Object> signData = getSignData(fromDate,toDate);
|
|
|
|
|
|
|
|
|
|
|
|
RecordSet rs = new RecordSet();
|
|
|
|
RecordSet rs = new RecordSet();
|
|
|
|
String sql = " select a.id,a.departmentid,a.jobtitle,a.status, from hrmresource a,kq_format_total b " +
|
|
|
|
String sql = " select a.id,a.departmentid,a.jobtitle,a.status from hrmresource a,kq_format_total b " +
|
|
|
|
" where a.id= b.resourceid and b.kqdate >=? and b.kqdate <=? " +
|
|
|
|
" where a.id= b.resourceid and b.kqdate >=? and b.kqdate <=? " +
|
|
|
|
" and a.subcompanyid1 =6 " +
|
|
|
|
" and a.subcompanyid1 =6 " +
|
|
|
|
" group by a.id,a.departmentid,a.jobtitle,a.status ";
|
|
|
|
" group by a.id,a.departmentid,a.jobtitle,a.status ";
|
|
|
@ -182,7 +182,7 @@ public class KqMonthReportSynJob extends BaseCronJob {
|
|
|
|
|
|
|
|
|
|
|
|
String insertSql = " insert into uf_ydgs(xm,bm,gw,kqy,dkzgs,psjbbdx,xxrjbbdx,jjrjbbdx,zgs,zt,ccxs,"+
|
|
|
|
String insertSql = " insert into uf_ydgs(xm,bm,gw,kqy,dkzgs,psjbbdx,xxrjbbdx,jjrjbbdx,zgs,zt,ccxs,"+
|
|
|
|
"formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modeuuid) " +
|
|
|
|
"formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modeuuid) " +
|
|
|
|
" values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ";
|
|
|
|
" values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ";
|
|
|
|
rs.executeUpdate(insertSql,new Object[]{xm,bm,gw,month,dkzgs,psjbbdx,xxrjbbdx,jjrjbbdx,zgs,zt,ccxs,
|
|
|
|
rs.executeUpdate(insertSql,new Object[]{xm,bm,gw,month,dkzgs,psjbbdx,xxrjbbdx,jjrjbbdx,zgs,zt,ccxs,
|
|
|
|
formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modeuuid});
|
|
|
|
formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modeuuid});
|
|
|
|
|
|
|
|
|
|
|
|