mirror of
https://gitee.com/wkeyuan/DWSurvey.git
synced 2024-12-02 12:08:44 +08:00
去掉sql多的字符
This commit is contained in:
parent
fc3c0d02a4
commit
c6f56d185f
@ -28,7 +28,7 @@ public class AnCheckboxDaoImpl extends BaseDaoImpl<AnCheckbox, String> implement
|
||||
|
||||
@Override
|
||||
public void findGroupStats(Question question) {
|
||||
String sql="select qu_item_id,count(qu_item_id) count from t_an_checkbox where visibility=1 and qu_id=? GROUP BY qu_item_id ;";
|
||||
String sql="select qu_item_id,count(qu_item_id) count from t_an_checkbox where visibility=1 and qu_id=? GROUP BY qu_item_id";
|
||||
List<Object[]> list=this.getSession().createSQLQuery(sql).setString(0, question.getId()).list();
|
||||
List<QuCheckbox> quCheckboxs=question.getQuCheckboxs();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user