|
@@ -89,7 +89,7 @@ public class XCFYDatav_master_admission_billJob implements Job {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
- String sql = "select * from V_YBKF_MASTER_ADMISSION_BILL where hisid is not null and pay_method!='自费' and bill_date<=:END_BILL_DATE %s order by bill_date asc";
|
|
|
|
|
|
|
+ String sql = "select * from V_YBKF_MASTER_ADMISSION_BILL where hisid is not null and pay_method!='自费' and if_local_flag!='非医保' and bill_date<=:END_BILL_DATE %s order by bill_date asc";
|
|
|
Date endBillDate = DateUtil.yesterday();
|
|
Date endBillDate = DateUtil.yesterday();
|
|
|
endBillDate = DateUtil.endOfDay(endBillDate);
|
|
endBillDate = DateUtil.endOfDay(endBillDate);
|
|
|
List<DictModel> dictModelList = sysDictService.getDictItems("discharge_method");
|
|
List<DictModel> dictModelList = sysDictService.getDictItems("discharge_method");
|