|
@@ -925,7 +925,6 @@ public interface YiZhuLuRuDao {
|
|
|
"</script>")
|
|
|
List<XinZhenYzActOrder> huoQuXiangMuXinXi(Set<String> code);
|
|
|
|
|
|
-
|
|
|
@Select("select rtrim(inpatient_no) as inpatient_no, " +
|
|
|
" admiss_times, " +
|
|
|
" rtrim(name) as name, " +
|
|
@@ -947,7 +946,6 @@ public interface YiZhuLuRuDao {
|
|
|
XinZhenYiZhu queryPatientInfo(@Param("patNo") String patNo,
|
|
|
@Param("times") Integer times);
|
|
|
|
|
|
-
|
|
|
@Insert("<script>" +
|
|
|
"INSERT INTO yz_act_order (order_code, order_name, frequ_code, instruction, discription, infant_flag, order_time, " +
|
|
|
" /*录入人*/physician, start_time, drug_specification, drug_quan, supply_code, act_order_no, inpatient_no, " +
|
|
@@ -1597,7 +1595,7 @@ public interface YiZhuLuRuDao {
|
|
|
" submit_name, submit_flag, " +
|
|
|
" page_class, page_name, " +
|
|
|
" start_date, end_date, group_no) " +
|
|
|
- "values (#{pageNo}, #{patInfo.deptCode}, #{patInfo.wardCode}, getdate()," +
|
|
|
+ "values (#{pageNo}, #{patInfo.wardCode}, #{patInfo.deptCode}, getdate()," +
|
|
|
" #{userCode}, 1, 1, '出院带药', getdate(), getdate(), #{groupNo})")
|
|
|
void summarySheetOfDrugs(Integer pageNo, XinZhenYiZhu patInfo, String userCode, String groupNo);
|
|
|
|
|
@@ -1610,7 +1608,7 @@ public interface YiZhuLuRuDao {
|
|
|
" group_no, doctor_name, page_class) " +
|
|
|
"values " +
|
|
|
"<foreach collection='list' item='item' separator=','>" +
|
|
|
- "(#{patInfo.inpatientNo},#{patInfo.admissTimes},#{patInfo.name},#{patInfo.bedNo},#{patInfo.deptCode},#{patInfo.wardCode},#{item.orderCode}," +
|
|
|
+ "(#{patInfo.inpatientNo},#{patInfo.admissTimes},#{patInfo.name},#{patInfo.bedNo},#{patInfo.wardCode},#{patInfo.deptCode},#{item.orderCode}," +
|
|
|
"#{item.drugQuan},(select pack_retprice from yp_zd_dict where code = '${item.orderCode}' and serial = '${item.serial}'),getdate()," +
|
|
|
"#{patInfo.infantFlag},#{userCode}," +
|
|
|
"'a','1',#{item.drugFlag},'0',getdate(),#{item.actOrderNo},#{pageNo},'0',#{item.serial},#{groupNo},#{userCode},'1')" +
|