Browse Source

更新处理接口获取数据错误的bug

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7583 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
8a44445b3b

+ 3 - 3
src/main/java/com/uas/platform/b2b/mobile/service/impl/MobileTaskServiceImpl.java

@@ -113,8 +113,8 @@ public class MobileTaskServiceImpl implements MobileTaskService {
 		ModelMap map = new ModelMap();
 		String doing = "select count(*) from office$task where ta_domancode = " + emcode + " and ta_uu =" + enuu
 				+ " and ta_statuscode = 'start'";
-		String todo = "select count(*) from mobile$flowoperation where fop_dealuu = " + emcode + " and fop_nodeenuu ="
-				+ enuu + " and fop_statuscode = 'UNAUDIT'";
+		String todo = "select count(*) from mobile$flowoperation where fop_nodedealuu = " + emcode
+				+ " and fop_nodeenuu =" + enuu + " and fop_statuscode = 'UNAUDIT'";
 		Integer processcount = commonDao.queryForObject(todo, Integer.class);
 		Integer taskcount = commonDao.queryForObject(doing, Integer.class);
 		List<OfficeTask> lasttask = commonDao.query(
@@ -122,7 +122,7 @@ public class MobileTaskServiceImpl implements MobileTaskService {
 						+ emcode + "' and t.ta_uu = " + enuu + " order by t.ta_id desc ) where rownum < 2",
 				OfficeTask.class);
 		List<AppFlowOperation> lastProcess = commonDao.query(
-				"select * from ( select t.fop_nodename nodename from mobile$flowoperation t where t.fop_statuscode = 'UNAUDIT' and t.fop_dealuu = "
+				"select * from ( select t.fop_nodename nodename from mobile$flowoperation t where t.fop_statuscode = 'UNAUDIT' and t.fop_nodedealuu = "
 						+ emcode + " and t.fop_nodeenuu = " + enuu + " order by t.fop_id desc ) where rownum < 2",
 				AppFlowOperation.class);