You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
package com.ynxbd.common.action;
|
|
|
|
import com.ynxbd.common.action.base.BaseAction;
|
|
import com.ynxbd.common.bean.HisChronic;
|
|
import com.ynxbd.common.dao.his.HisMedicalDao;
|
|
import com.ynxbd.common.helper.common.JsonHelper;
|
|
import com.ynxbd.common.result.Result;
|
|
import org.apache.struts2.convention.annotation.Action;
|
|
import org.apache.struts2.convention.annotation.Namespace;
|
|
|
|
@Namespace("/medicalInsurance")
|
|
public class MedicalInsuranceAction extends BaseAction {
|
|
|
|
/**
|
|
* 医保结算信息查询
|
|
* @param queryNumType 类型 { 1:患者Id;2:身份证号;3:门诊号;4:住院号; 5:发票流水号 }
|
|
* @param queryNumber 查询号码
|
|
* @param begDate 开始日期
|
|
* @param endDate 结束日期
|
|
*/
|
|
@Action("getBillInfo")
|
|
public Result getBillInfo(String queryNumType, String queryNumber, String begDate, String endDate) {
|
|
return HisMedicalDao.getBillInfo(queryNumType, queryNumber, begDate, endDate);
|
|
}
|
|
|
|
/**
|
|
* 医保获取慢病列表
|
|
* @param idCardNo 身份证号
|
|
*/
|
|
@Action("getChronicList")
|
|
public Result getChronicList(String idCardNo){
|
|
return Result.success(JsonHelper.parseArray(HisMedicalDao.getChronicList(idCardNo).getDataMapString("DiseaseInfo"), HisChronic.class));
|
|
}
|
|
}
|
|
|