Ver código fonte

点检数同步问题修改

9060 1 semana atrás
pai
commit
27b180b6ec

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

@@ -19,6 +19,7 @@ import com.kingdee.eas.custom.calcdailypay.InspectionRateFactory;
 import com.kingdee.eas.custom.calcdailypay.InspectionRateInfo;
 import com.kingdee.eas.framework.CoreBaseCollection;
 import com.kingdee.eas.framework.ObjectBaseInfo;
+import com.kingdee.eas.util.app.DbUtil;
 import com.kingdee.jdbc.rowset.IRowSet;
 import com.kingdee.jdbc.rowset.impl.JdbcRowSet;
 import com.kingdee.util.db.SQLUtils;
@@ -108,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 = this.executeQuery(selSql.toString(), new String[]{ddjdateStr,cusercode});
+                IRowSet prs = DbUtil.executeQuery(ctx,selSql.toString(), new String[]{ddjdateStr,cusercode});
                 if (prs.next()){
                     String pId = prs.getString("pId");
                     String pName = prs.getString("pName");