|
@@ -50,8 +50,8 @@ public interface SurgeryArrangementDao {
|
|
|
"a.tw_flag,b.doctor_mz_ys,b.doctor_mz_hs,rtrim(a.ssbc) as ssbc,b.doctor_zd_sj " +
|
|
|
"FROM op_record a,op_record_join b,a_patient_mi c " +
|
|
|
"where a.record_id=b.record_id and a.inpatient_no=c.inpatient_no and " +
|
|
|
- " ${ew.sqlSegment} order by a.room_code")
|
|
|
- List<OpRecord> huoQuShouShuAnPaiXinXi(@Param(Constants.WRAPPER) QueryWrapper<?> queryWrapper);
|
|
|
+ " ${ew.sqlSegment} order by a.urgent_clinic_flag desc, a.room_code")
|
|
|
+ List<OpRecord> selectSurgeryArrangements(@Param(Constants.WRAPPER) QueryWrapper<?> queryWrapper);
|
|
|
|
|
|
@Update("update op_record set status=#{status} where record_id=#{recordId}")
|
|
|
void updateSurgeryStatus(Integer recordId, String status);
|