|
@@ -95,7 +95,7 @@ public interface MzChargeDetailMapper {
|
|
|
* @param patientId
|
|
|
* @param times
|
|
|
* @param payMark
|
|
|
- * @param billItemCode 0 ,1 都是in 2 not in
|
|
|
+ * @param billItemCode 0 医材或者在查询的编码集中;1 只在编码集中; 2 不是医材且不在编码集中; 3 不在编码集中
|
|
|
* @param billItemTypes
|
|
|
* @return
|
|
|
*/
|
|
@@ -113,6 +113,9 @@ public interface MzChargeDetailMapper {
|
|
|
"rtrim(chequ_type) chequ_type,rtrim(print_flag_yj) print_flag_yj,rtrim(confirm_flag_qx) confirm_flag_qx,group_id ",
|
|
|
"from dbo.mz_charge_detail WITH(NOLOCK) where pay_mark=#{payMark,jdbcType=CHAR} and patient_id =#{patientId,jdbcType=CHAR} and times = #{times,jdbcType=INTEGER} and receipt_no=#{receiptNo,jdbcType=INTEGER}",
|
|
|
"<choose>",
|
|
|
+ "<when test='billItemCode==3'>",
|
|
|
+ " and bill_item_code not in",
|
|
|
+ "</when>",
|
|
|
"<when test='billItemCode==2'>",
|
|
|
" and group_no <![CDATA[<>]]> 91 and bill_item_code not in",
|
|
|
"</when>",
|