|
@@ -500,7 +500,7 @@ public interface MzChargeDetailMapper {
|
|
|
*/
|
|
|
@Update({"<script>",
|
|
|
"update mz_charge_detail ",
|
|
|
- "<trim prefix='set' prefixOverrides=',' suffix=' where patient_id = #{patientId} and times=#{times} and charge_item_code=#{chargeItemCode,jdbcType=CHAR} and order_no = #{orderNo} and item_no=#{itemNo} ' >",
|
|
|
+ "<trim prefix='set' prefixOverrides=',' suffix=' where patient_id = #{patientId} and times=#{times} and receipt_no=#{receiptNo} and charge_item_code=#{chargeItemCode,jdbcType=CHAR} and order_no = #{orderNo} and item_no=#{itemNo} ' >",
|
|
|
"<when test='serialNo!=null'>",
|
|
|
"serial_no =#{serialNo,jdbcType=INTEGER}",
|
|
|
"</when>",
|