package com.cockpit.dao; import java.util.List; import com.cockpit.vo.ECThematicTmbex; public class SubjectDao extends ConnDaoImpl{ /** * 修改默认显示专题 * @param list * @return * @throws Exception */ public int saveTmBex(List list)throws Exception{ String sql = "UPDATE NWYJ.ECM_CM_THEMATIC SET TM_BEX=? WHERE FD_OBJECTID=?" ; int fd_idlen = this.executeAddBatchSubject(sql, list) ; closeAll() ; return fd_idlen ; } /** * 修改综合显示专题 * @param list * @return * @throws Exception */ public int saveTmBexBySynt(List list)throws Exception{ String sql = "UPDATE NWYJ.ECM_CM_THEMATIC SET IS_SYNTHESIZE=? WHERE FD_OBJECTID=?" ; int fd_idlen = this.executeAddBatchSubjectBySync(sql, list) ; closeAll() ; return fd_idlen ; } }