Bläddra i källkod

增加最后一条数据的开始时间

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7980 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 år sedan
förälder
incheckning
f62f84f901

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

@@ -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_caller caller, t.fop_dealname dealname from mobile$flowoperation t where t.fop_statuscode = 'UNAUDIT' and t.fop_nodedealuu = "
+				"select * from ( select t.fop_caller caller, t.fop_dealname dealname, t.fop_recorddate recorddate 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);
 
@@ -135,9 +135,10 @@ public class MobileTaskServiceImpl implements MobileTaskService {
 		}
 		if (!CollectionUtils.isEmpty(lastProcess)) {
 			if (lastProcess.get(0).getDealname() != null) {
-				map.put("lastProcess", lastProcess.get(0).getDealname() + "的" + lastProcess.get(0).getCaller());
+				map.put("lastProcess", lastProcess.get(0).getDealname() + "的" + lastProcess.get(0).getCaller() + "记录时间"
+						+ lastProcess.get(0).getRecorddate());
 			} else {
-				map.put("lastProcess", lastProcess.get(0).getCaller());
+				map.put("lastProcess", lastProcess.get(0).getCaller() + "记录时间" + lastProcess.get(0).getRecorddate());
 			}
 		} else {
 			map.put("lastProcess", null);