|
@ -1044,6 +1044,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
//更新挂号流水号
|
|
//更新挂号流水号
|
|
outpatientDO.setConNo(registerDO.getConNo());
|
|
outpatientDO.setConNo(registerDO.getConNo());
|
|
outpatientDO.setRegisterNo(registerDO.getRegisterNo());
|
|
outpatientDO.setRegisterNo(registerDO.getRegisterNo());
|
|
|
|
outpatientDO.setAdmDate(registerDO.getCreateTime());
|
|
outpatientDao.save(outpatientDO);
|
|
outpatientDao.save(outpatientDO);
|
|
|
|
|
|
return res;
|
|
return res;
|
|
@ -1062,6 +1063,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
outpatientDO.setRegisterNo(serialNo);
|
|
outpatientDO.setRegisterNo(serialNo);
|
|
String conNo = (String)res.get("@times");
|
|
String conNo = (String)res.get("@times");
|
|
outpatientDO.setConNo(conNo);
|
|
outpatientDO.setConNo(conNo);
|
|
|
|
outpatientDO.setAdmDate(new Date());
|
|
logger.info("挂号流水 @serial_no: " +serialNo+" @times: "+conNo);
|
|
logger.info("挂号流水 @serial_no: " +serialNo+" @times: "+conNo);
|
|
outpatientDao.save(outpatientDO);
|
|
outpatientDao.save(outpatientDO);
|
|
|
|
|
|
@ -2278,7 +2280,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
String diseaseKey, String doctorNameKey,
|
|
String diseaseKey, String doctorNameKey,
|
|
String jobTitleNameKey, String outpatientType,
|
|
String jobTitleNameKey, String outpatientType,
|
|
String keyName, String workingTime, String consultStatus,String consutlSort,Integer page,Integer pagesize) {
|
|
String keyName, String workingTime, String consultStatus,String consutlSort,Integer page,Integer pagesize) {
|
|
|
|
|
|
|
|
|
|
if(page >=1){
|
|
if(page >=1){
|
|
page --;
|
|
page --;
|
|
}
|
|
}
|
|
@ -2345,7 +2347,8 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
sql += " order by a.total "+ consutlSort +" limit "+page * pagesize +","+pagesize;
|
|
sql += " order by a.total "+ consutlSort +" limit "+page * pagesize +","+pagesize;
|
|
|
|
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
|
|
|
|
|
logger.info("findDoctorByHospitalAndDiseaseAndDept end:"+DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss:SSS"));
|
|
|
|
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|