0c0587bdbbcae66715e96fcab0af1b6b133049bf.svn-base 834 B

123456789101112131415161718192021222324252627282930313233
  1. package com.cockpit.dao;
  2. import java.util.List;
  3. import com.cockpit.vo.ECThematicTmbex;
  4. public class SubjectDao extends ConnDaoImpl{
  5. /**
  6. * 修改默认显示专题
  7. * @param list
  8. * @return
  9. * @throws Exception
  10. */
  11. public int saveTmBex(List<ECThematicTmbex> list)throws Exception{
  12. String sql = "UPDATE NWYJ.ECM_CM_THEMATIC SET TM_BEX=? WHERE FD_OBJECTID=?" ;
  13. int fd_idlen = this.executeAddBatchSubject(sql, list) ;
  14. closeAll() ;
  15. return fd_idlen ;
  16. }
  17. /**
  18. * 修改综合显示专题
  19. * @param list
  20. * @return
  21. * @throws Exception
  22. */
  23. public int saveTmBexBySynt(List<ECThematicTmbex> list)throws Exception{
  24. String sql = "UPDATE NWYJ.ECM_CM_THEMATIC SET IS_SYNTHESIZE=? WHERE FD_OBJECTID=?" ;
  25. int fd_idlen = this.executeAddBatchSubjectBySync(sql, list) ;
  26. closeAll() ;
  27. return fd_idlen ;
  28. }
  29. }