|
|
@@ -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();
|