|
|
@@ -13,6 +13,7 @@ import org.jeecg.modules.medical.ruleengine.TransferDataCallFunction;
|
|
|
import org.jeecg.modules.medical.service.IMasterAdmissionBillService;
|
|
|
import org.jeecg.modules.system.service.ISysDictService;
|
|
|
import org.jeecg.modules.utils.DateTimeUtil;
|
|
|
+import org.quartz.DisallowConcurrentExecution;
|
|
|
import org.quartz.Job;
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
import org.quartz.JobExecutionException;
|
|
|
@@ -27,6 +28,7 @@ import java.util.Map;
|
|
|
* 住院结算主单
|
|
|
* 每天执行一次
|
|
|
*/
|
|
|
+@DisallowConcurrentExecution
|
|
|
@Slf4j
|
|
|
public class XCFYDatav_master_admission_billJob implements Job {
|
|
|
|
|
|
@@ -96,6 +98,7 @@ public class XCFYDatav_master_admission_billJob implements Job {
|
|
|
Integer count = xcfyDataTransferService.transferDataList(querySql, insertSql, paramMap, new TransferDataCallFunction() {
|
|
|
@Override
|
|
|
public Boolean transferData(Map<String, Object> dataMap) throws Exception {
|
|
|
+ dataMap.put("PAY_METHOD", 1);
|
|
|
String hisId = dataMap.get("HISID").toString();
|
|
|
Integer count = transferHospSettleDetail(hisId);
|
|
|
if (null == count || count <= 0) {
|