|
@ -58,6 +58,8 @@ public class ZyDictJob implements Job {
|
|
synchronizeZy_iv_dept_dict();
|
|
synchronizeZy_iv_dept_dict();
|
|
//同步 zy_iv_dept_staff_allot_dict
|
|
//同步 zy_iv_dept_staff_allot_dict
|
|
synchronizeZy_iv_dept_staff_allot_dict();
|
|
synchronizeZy_iv_dept_staff_allot_dict();
|
|
|
|
//同步 zy_iv_diagnose_dict
|
|
|
|
synchronizeZy_iv_diagnose_dict();
|
|
//同步 zy_iv_diagnose_class_dict
|
|
//同步 zy_iv_diagnose_class_dict
|
|
synchronizeZy_iv_diagnose_class_dict();
|
|
synchronizeZy_iv_diagnose_class_dict();
|
|
//同步 zy_iv_org_physic_allot_dict
|
|
//同步 zy_iv_org_physic_allot_dict
|
|
@ -75,6 +77,21 @@ public class ZyDictJob implements Job {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void synchronizeZy_iv_diagnose_dict() {
|
|
|
|
logger.info("synchronized zy_iv_diagnose_dict start");
|
|
|
|
String dictName = this.IV_DIAGNOSE_DICT;
|
|
|
|
List<ZyIvDiagnoseDict> zyIvDiagnoseDicts = new ArrayList<>();
|
|
|
|
//得到list
|
|
|
|
commonGetOneDict(zyIvDiagnoseDicts, ZyIvDiagnoseDict.class, dictName);
|
|
|
|
if (zyIvDiagnoseDicts.size() > 0) {
|
|
|
|
//清空表
|
|
|
|
zyIvDiagnoseDictDao.deleteAll();
|
|
|
|
//新增数据
|
|
|
|
zyIvDiagnoseDictDao.save(zyIvDiagnoseDicts);
|
|
|
|
}
|
|
|
|
logger.info("synchronized zy_iv_diagnose_dict end");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
@Transactional
|
|
private void synchronizeZy_iv_subject_class_dict() {
|
|
private void synchronizeZy_iv_subject_class_dict() {
|