|
@@ -26,8 +26,8 @@ public interface YzActOrderCyDetailMapper {
|
|
|
List<YzActOrderCyDetail> selectYzActOrderCyDetailTy(@Param("orderNo") Integer orderNo);
|
|
|
|
|
|
@Select({"<script>",
|
|
|
- "select charge_code,serial,group_no,amount as quantity,supply_code,'退药' as instruction,act_order_no as order_no, 1 as serial_no,retprice as unit_price" +
|
|
|
- " from yp_zy_patient WITH(NOLOCK) where act_order_no=#{orderNo} and page_type = 'ZT' "
|
|
|
+ "select charge_code,serial,group_no,-quantity as quantity,supply_code,'退药' as instruction,order_no,serial_no,unit_price" +
|
|
|
+ " from yz_act_order_cy_detail WITH(NOLOCK) where order_no=#{orderNo}"
|
|
|
, "</script>"})
|
|
|
List<YzActOrderCyDetail> selectYpZyPatientTy(@Param("orderNo") Integer orderNo);
|
|
|
|