Commit 56f1447b authored by Quxl's avatar Quxl

x

parent 49bdf763
...@@ -5,6 +5,7 @@ import java.sql.PreparedStatement; ...@@ -5,6 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Statement; import java.sql.Statement;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -21,6 +22,8 @@ import com.egolm.common.jdbc.Page; ...@@ -21,6 +22,8 @@ import com.egolm.common.jdbc.Page;
import com.egolm.common.web.ServletUtil; import com.egolm.common.web.ServletUtil;
import com.egolm.film.api.service.FilmService; import com.egolm.film.api.service.FilmService;
import com.egolm.film.api.service.Messages; import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Enum_enroll;
import com.egolm.film.bean.Enum_filmtype;
import com.egolm.film.bean.Fc_member_film; import com.egolm.film.bean.Fc_member_film;
import com.egolm.film.bean.Fc_member_film_all; import com.egolm.film.bean.Fc_member_film_all;
import com.egolm.film.bean.Fc_member_film_enroll; import com.egolm.film.bean.Fc_member_film_enroll;
...@@ -427,13 +430,13 @@ public class FilmServiceImpl implements FilmService { ...@@ -427,13 +430,13 @@ public class FilmServiceImpl implements FilmService {
} }
@Override @Override
public List<Map<String, Object>> queryEnrollList() { public List<Enum_enroll> queryEnrollList() {
return jdbcTemplate.queryForList("select * from fc_film_enroll"); return jdbcTemplate.queryForBeansByField(Enum_enroll.class, new HashMap<String,Object>());
} }
@Override @Override
public List<Map<String, Object>> queryTypeList() { public List<Enum_filmtype> queryTypeList() {
return jdbcTemplate.queryForList("select * from fc_film_type"); return jdbcTemplate.queryForBeansByField(Enum_filmtype.class, new HashMap<String,Object>());
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment