|
@@ -4,6 +4,7 @@ import cn.hnthyy.thmz.entity.his.zy.YpZyPatient;
|
|
|
import org.apache.ibatis.annotations.Insert;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
+import org.apache.ibatis.annotations.Update;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -67,4 +68,13 @@ public interface YpZyPatientMapper {
|
|
|
" #{drugFlag} , #{paySelf} , #{groupNo} , #{confirmTime} , #{serial} ," +
|
|
|
" #{doctorName} , #{zySerialNo} , #{pageType} , #{jyFlag})")
|
|
|
int insertYpZyPatient(YpZyPatient ypZyPatient);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新住院病人发药记录
|
|
|
+ * @param ypZyPatient
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Update("update yp_zy_patient set page_no=#{pageNo},keeper=#{keeper},confirm_time=#{confirmTime},doctor_name=#{doctorName}" +
|
|
|
+ ",page_type=#{pageType},jy_flag=#{jyFlag} where act_order_no = #{actOrderNo} and charge_code = #{chargeCode} and inpatient_no=#{inpatientNo}")
|
|
|
+ int updateYpZyPatient(YpZyPatient ypZyPatient);
|
|
|
}
|