Browse Source

点检数据同步问题修改

9060 1 week ago
parent
commit
c36bb41ab5

+ 1 - 1
src/com/kingdee/eas/custom/calcdailypay/task/SyncMesTpmInsRateFacadeControllerBean.java

@@ -109,7 +109,7 @@ public class SyncMesTpmInsRateFacadeControllerBean extends AbstractSyncMesTpmIns
                 selPerson.append(" left join t_org_position pos on pos.fid=pn.FPrimaryPositionID ");
                 selPerson.append(" left join CT_CAL_InspectionRate ir on p.fid=ir.cfpersonid and ir.CFBizDate=? ");
                 selPerson.append(" where p.fnumber=? ");
-                IRowSet prs = DbUtil.executeQuery(ctx,selSql.toString(), new String[]{ddjdateStr,cusercode});
+                IRowSet prs = DbUtil.executeQuery(ctx,selPerson.toString(), new String[]{ddjdateStr,cusercode});
                 if (prs.next()){
                     String pId = prs.getString("pId");
                     String pName = prs.getString("pName");