1234567891011121314151617181920212223242526 |
- package com.jtgh.qlyg.service;
- /**
- * 数据交换服务接口
- *
- * @author 袁晓冬
- *
- */
- public interface DataChangeService {
- /**
- * 同步数据
- *
- * @param entity
- */
- public int save(Object entity, int code);
- /**
- * 同步数据
- *
- * @param entity
- * @param dataSource
- * 1:权力阳光;2:行政中心
- * @return
- */
- public void saveOneDataSource(Object entity, int dataSource);
- }
|