ソースを参照

拜访记录增加返回时间

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7664 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 年 前
コミット
ecf2e78823

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

@@ -193,7 +193,7 @@ public class WorkScheduleServiceImpl implements WorkScheduleService {
 	@Override
 	public List<VisitRecord> getRecordsInOneMonth(Long emuu, Long enuu, String date) {
 		String sql = "select p.vr_detail vr_detail, p.vr_emname vr_emname, p.vr_id vr_id, p.vr_startdate vr_startdate, p.vr_cuaddress vr_cuaddress, "
-				+ "p.vr_title vr_title, p.vr_enddate vr_enddate, p.vr_cucontact vr_cucontact, p.vr_cuname vr_cuname from mobile$visitrecord p where "
+				+ "p.vr_title vr_title, p.vr_enddate vr_enddate, p.vr_cucontact vr_cucontact, p.vr_cuname vr_cuname, p.vr_date vr_date from mobile$visitrecord p where "
 				+ "vr_emuu = " + emuu + " and vr_enuu = " + enuu + " and to_char(vr_date,'yyyymm') = '" + date + "'";
 		List<VisitRecord> records = commonDao.query(sql, VisitRecord.class);
 		return records;
@@ -202,7 +202,7 @@ public class WorkScheduleServiceImpl implements WorkScheduleService {
 	@Override
 	public List<VisitRecord> getRecordsInOneMonth(Long enuu, String date) {
 		String sql = "select p.vr_detail vr_detail, p.vr_emname vr_emname, p.vr_id vr_id, p.vr_startdate vr_startdate, p.vr_cuaddress vr_cuaddress, "
-				+ "p.vr_title vr_title, p.vr_enddate vr_enddate, p.vr_cucontact vr_cucontact, p.vr_cuname vr_cuname from mobile$visitrecord p where "
+				+ "p.vr_title vr_title, p.vr_enddate vr_enddate, p.vr_cucontact vr_cucontact, p.vr_cuname vr_cuname,  p.vr_date vr_date  from mobile$visitrecord p where "
 				+ "vr_enuu = " + enuu + " and to_char(vr_date,'yyyymm') = '" + date + "'";
 		List<VisitRecord> records = commonDao.query(sql, VisitRecord.class);
 		return records;