Browse Source

更新打卡班次时间过滤方法

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

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

@@ -31,7 +31,7 @@ public class ClockSetCenterServiceImpl implements ClockSetCenterService {
 				+ "p.clo_offendone wd_offendOne, p.clo_ondutytwo wd_ondutyTwo, p.clo_offdutytwo wd_offdutyTwo, p.clo_onbegtwo wd_onbegTwo, p.clo_offendtwo wd_offendTwo, p.clo_ondutythree wd_ondutyThree, p.clo_offdutythree wd_offdutyThree, "
 				+ "p.clo_offendone wd_offendOne, p.clo_ondutytwo wd_ondutyTwo, p.clo_offdutytwo wd_offdutyTwo, p.clo_onbegtwo wd_onbegTwo, p.clo_offendtwo wd_offendTwo, p.clo_ondutythree wd_ondutyThree, p.clo_offdutythree wd_offdutyThree, "
 				+ "p.clo_onbegthree wd_onbegThree, p.clo_offendthree wd_offendThree, p.clo_sucess success, p.clo_date wd_date from mobile$clocksetcenter p where clo_enuu = "
 				+ "p.clo_onbegthree wd_onbegThree, p.clo_offendthree wd_offendThree, p.clo_sucess success, p.clo_date wd_date from mobile$clocksetcenter p where clo_enuu = "
 				+ enuu + " and " + "clo_emcode = " + emcode
 				+ enuu + " and " + "clo_emcode = " + emcode
-				+ " and to_date(to_char(wd_recorddate,'yyyy mm dd'),'yyyy mm dd') = to_date ('" + date
+				+ " and to_date(to_char(clo_date,'yyyy mm dd'),'yyyy mm dd') = to_date ('" + date
 				+ "','yyyy mm dd')";
 				+ "','yyyy mm dd')";
 		ClockSetCenter clock = jdbcTemplate.queryForObject(sql, ClockSetCenter.class);
 		ClockSetCenter clock = jdbcTemplate.queryForObject(sql, ClockSetCenter.class);
 		ClockSet set = new ClockSet();
 		ClockSet set = new ClockSet();