فهرست منبع

新增考勤设备配置

HD_wangm 11 ماه پیش
والد
کامیت
398159e5af
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/core/com/yw/eu/base/user/dao/UserDao.java

+ 1 - 1
src/main/core/com/yw/eu/base/user/dao/UserDao.java

@@ -1094,7 +1094,7 @@ public class UserDao extends BaseDao {
 		sql.append(" LEFT JOIN t_group tg ON tg.UNIVERSALID=(SELECT gu.GROUPID FROM t_groupxuser gu WHERE gu.USERNAME = u.UNIVERSALID and gu.state!=0 AND gu.postype =1)");
 		sql.append(" LEFT JOIN t_position tp ON tp.universalid=(SELECT gu.positionId FROM t_groupxuser gu WHERE gu.USERNAME = u.UNIVERSALID and gu.state!=0 AND gu.postype =1)");
 		sql.append(" LEFT JOIN face_equipmentxuser f ON u.UNIVERSALID = f.userId");
-		sql.append(" WHERE f.attendance_id = ? and u.unitId = ? and f.serialno = ? ");
+		sql.append(" WHERE f.attendanceId = ? and u.unitId = ? and f.serialno = ? ");
 		RowMapper mapper = new RowMapper() {
 			public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
 				User user = new User();