|
@@ -1199,7 +1199,7 @@ public interface MzChargeDetailMapper {
|
|
|
* @param receiptNo
|
|
|
* @return
|
|
|
*/
|
|
|
- @Select("select sum(( case when convert(decimal(18,2),unit_price)=0.00 then 0.01 else convert(decimal(18,2),unit_price) end )*quantity*drug_win) from mz_charge_detail where patient_id =#{patientId} and times = #{times} and receipt_no=#{receiptNo} and pay_mark <> 2")
|
|
|
+ @Select("select sum(( case when convert(decimal(18,2),unit_price)=0.00 then 0.01 else convert(decimal(18,2),unit_price) end )*quantity*drug_win) from mz_charge_detail where patient_id =#{patientId} and times = #{times} and receipt_no=#{receiptNo} and pay_mark <> 2 and bill_item_code <> 'TC'")
|
|
|
BigDecimal selectSumAmount(@Param(value = "patientId") String patientId, @Param("times") Integer times, @Param("receiptNo") Integer receiptNo);
|
|
|
|
|
|
|