package com.hx.phip.his.service;
|
|
|
import com.hx.phip.model.SyncProjectRecord;
|
import com.hx.resultTool.Result;
|
import com.mongodb.BasicDBObject;
|
import net.sf.json.JSONObject;
|
|
public interface SyncProjectTreeService {
|
|
|
/**同步项目树状结构*/
|
void categoryServiceTree(SyncProjectRecord syncProjectRecord);
|
/**新增项目分类*/
|
Result addServiceTree(BasicDBObject jsonObject);
|
/**修改项目分类*/
|
Result updateServiceTree(BasicDBObject jsonObject);
|
|
/** 根据id同步授权机构下的服务类项目数据 - 服务项目*/
|
void saveHisProjectById(String id);
|
/**主动同步项目到his*/
|
Result syncAddProject(BasicDBObject jsonObject);
|
/**修改项目*/
|
Result syncUpdateProject(BasicDBObject basicDBObject);
|
|
/** 同步授权机构下的服务类项目数据 - 服务项目*/
|
void saveHisProject(SyncProjectRecord syncProjectRecord);
|
|
|
/**同步所有促销*/
|
void syncHisPromotion(SyncProjectRecord syncProjectRecord,JSONObject jsonObject);
|
/**延期促销*/
|
void delayPromotion(String id,int day);
|
/**同步所有卡项*/
|
void syncHisCardItem(JSONObject jsonObject, SyncProjectRecord syncProjectRecord);
|
|
boolean projectSpa(String projectTypeId);
|
|
|
void syncUpdateTreatmentItemsNum();
|
|
}
|