类 SqlService

java.lang.Object
com.publiccms.logic.service.tools.SqlService

@Service @Transactional public class SqlService extends Object
SqlService
  • 字段详细资料

  • 构造器详细资料

    • SqlService

      public SqlService()
  • 方法详细资料

    • insert

      public int insert(String sql)
      参数:
      sql -
      返回:
    • update

      public int update(String sql)
      参数:
      sql -
      返回:
    • updateContentAttribute

      public int updateContentAttribute(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • updateContentRelated

      public int updateContentRelated(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • updatePlaceAttribute

      public int updatePlaceAttribute(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • updatePlace

      public int updatePlace(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • updateCategoryAttribute

      public int updateCategoryAttribute(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • updateConfigData

      public int updateConfigData(short siteId, String oldurl, String newurl)
      参数:
      siteId -
      oldurl -
      newurl -
      返回:
    • delete

      public int delete(String sql)
      参数:
      sql -
      返回:
    • select

      @Transactional(readOnly=true) public List<Map<String,Object>> select(String sql)
      参数:
      sql -
      返回: