|
@@ -133,7 +133,7 @@ public interface YzActOrderMapper {
|
|
|
int deleteYzActOrderBaby(@Param("tableName") String tableName,@Param("inpatientNoBegin") String inpatientNoBegin, @Param("inpatientNoEnd") String inpatientNoEnd, @Param("admissTimes") Integer admissTimes);
|
|
|
|
|
|
/**
|
|
|
- * 查询医嘱
|
|
|
+ * 查询医嘱(在院医嘱)
|
|
|
* @param actOrderNo 序列号
|
|
|
* @return
|
|
|
*/
|
|
@@ -159,4 +159,28 @@ public interface YzActOrderMapper {
|
|
|
"#{statusFlag,jdbcType=CHAR},#{drugSpecification,jdbcType=CHAR},#{frequCode,jdbcType=CHAR},#{supplyCode,jdbcType=CHAR},#{infantFlag,jdbcType=CHAR}," +
|
|
|
"#{physician,jdbcType=CHAR},#{signer,jdbcType=CHAR},#{serial,jdbcType=CHAR},#{wardCode,jdbcType=CHAR},#{deptCode,jdbcType=CHAR},#{actOrderNo,jdbcType=FLOAT}")
|
|
|
int insertYzActOrder(YzActOrder yzActOrder);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询医嘱(出院后医嘱)
|
|
|
+ * @param actOrderNo 序列号
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Select("select act_order_no,inpatient_no,admiss_times,frequ_code,supply_code,isnull(instruction,'')instruction,dose,dose_unit," +
|
|
|
+ "drug_weight =isnull(drug_weight,0)," +
|
|
|
+ "drug_weight_unit =isnull(drug_weight_unit,'')," +
|
|
|
+ "drug_vol_unit =isnull(drug_vol_unit,'')," +
|
|
|
+ "drug_volume =isnull(drug_volume,0),mini_unit,start_time,order_name,performance_time,exec_unit,yb_self_flag,consult_physician from yz_inact_order WITH(NOLOCK) where act_order_no=#{actOrderNo}")
|
|
|
+ YzActOrder selectYzInactOrderByActOrderNo(@Param("actOrderNo") double actOrderNo);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询医嘱(撤销的医嘱)
|
|
|
+ * @param actOrderNo 序列号
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Select("select act_order_no,inpatient_no,admiss_times,frequ_code,supply_code,isnull(instruction,'')instruction,dose,dose_unit," +
|
|
|
+ "drug_weight =isnull(drug_weight,0)," +
|
|
|
+ "drug_weight_unit =isnull(drug_weight_unit,'')," +
|
|
|
+ "drug_vol_unit =isnull(drug_vol_unit,'')," +
|
|
|
+ "drug_volume =isnull(drug_volume,0),mini_unit,start_time,order_name,performance_time,exec_unit,yb_self_flag,consult_physician from yz_erase_order WITH(NOLOCK) where act_order_no=#{actOrderNo}")
|
|
|
+ YzActOrder selectYzEraseOrderByActOrderNo(@Param("actOrderNo") double actOrderNo);
|
|
|
}
|