|
|
|
@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONObject; |
|
|
|
|
import com.ynxbd.common.bean.Dept; |
|
|
|
|
import com.ynxbd.common.bean.Doctor; |
|
|
|
|
import com.ynxbd.common.bean.enums.MerchantEnum; |
|
|
|
|
import com.ynxbd.common.bean.his.HisTreat; |
|
|
|
|
import com.ynxbd.common.bean.pay.Register; |
|
|
|
|
import com.ynxbd.common.dao.RegisterDao; |
|
|
|
|
import com.ynxbd.common.helper.common.*; |
|
|
|
@ -949,4 +950,25 @@ public class HisRegisterDao { |
|
|
|
|
return HisHelper.getJsonResult(HisEnum.AP_Occupy_Source_New, params,merchantEnum); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取某个医生排班表 |
|
|
|
|
* @param begDate 开始时间 |
|
|
|
|
* @param endDate 结束时间 |
|
|
|
|
* @param doctCode 医生编码 |
|
|
|
|
* @return 排班信息 |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
public JSONArray getDoctorSchedule(String begDate, String endDate,String doctCode) { |
|
|
|
|
|
|
|
|
|
JsonResult jsonResult = HisHelper.getJsonResult(HisEnum.AP_Doctor_Schedule, params -> { |
|
|
|
|
params.put("BegDate", begDate); |
|
|
|
|
params.put("EndDate", endDate); |
|
|
|
|
params.put("DoctCode", doctCode); |
|
|
|
|
}); |
|
|
|
|
if(jsonResult.success()){ |
|
|
|
|
return jsonResult.getJsonArray("Items","Item"); |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|