DataChangeService.java 454 B

1234567891011121314151617181920212223242526
  1. package com.jtgh.qlyg.service;
  2. /**
  3. * 数据交换服务接口
  4. *
  5. * @author 袁晓冬
  6. *
  7. */
  8. public interface DataChangeService {
  9. /**
  10. * 同步数据
  11. *
  12. * @param entity
  13. */
  14. public int save(Object entity, int code);
  15. /**
  16. * 同步数据
  17. *
  18. * @param entity
  19. * @param dataSource
  20. * 1:权力阳光;2:行政中心
  21. * @return
  22. */
  23. public void saveOneDataSource(Object entity, int dataSource);
  24. }