Explorar el Código

将我的任务改成我要处理的任务

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7607 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq hace 9 años
padre
commit
391f0578b4

+ 1 - 1
src/main/java/com/uas/platform/b2b/mobile/service/impl/WorkScheduleServiceImpl.java

@@ -90,7 +90,7 @@ public class WorkScheduleServiceImpl implements WorkScheduleService {
 			String taskSql = "select t.ta_id id, t.ta_code code, t.ta_detail detail, t.ta_recordercode recordercode, t.ta_recorder recorder, "
 			String taskSql = "select t.ta_id id, t.ta_code code, t.ta_detail detail, t.ta_recordercode recordercode, t.ta_recorder recorder, "
 					+ "t.ta_doman doman, t.ta_domancode domancode, t.ta_startdate startdate, t.ta_enddate enddate, t.ta_status status, "
 					+ "t.ta_doman doman, t.ta_domancode domancode, t.ta_startdate startdate, t.ta_enddate enddate, t.ta_status status, "
 					+ "t.ta_statuscode statuscode, t.ta_recorddate recorddate, t.ta_uu uu, t.ta_taskname taskname  from office$task t where "
 					+ "t.ta_statuscode statuscode, t.ta_recorddate recorddate, t.ta_uu uu, t.ta_taskname taskname  from office$task t where "
-					+ "ta_uu = " + enuu + " and ta_recordercode = " + emcode
+					+ "ta_uu = " + enuu + " and ta_domancode = " + emcode
 					+ " and  to_char(ta_startdate,'yyyymm') = '" + date + "'";
 					+ " and  to_char(ta_startdate,'yyyymm') = '" + date + "'";
 			List<OfficeTask> task = commonDao.query(taskSql, OfficeTask.class);
 			List<OfficeTask> task = commonDao.query(taskSql, OfficeTask.class);
 			List<VisitRecord> records = getRecordsInOneMonth(emcode, enuu, date);
 			List<VisitRecord> records = getRecordsInOneMonth(emcode, enuu, date);