|
@@ -1456,17 +1456,16 @@ public interface YiZhuLuRuDao {
|
|
|
"order_code = '${orderCode}' and serial = '00'")
|
|
|
Integer selectCountByOrderCode(String patNo, Integer times, String orderCode);
|
|
|
|
|
|
- @Select("SELECT 收费编码=a.occ_code,\n" +
|
|
|
- " 项目名称=b.name,\n" +
|
|
|
- " 数量=a.amount,\n" +
|
|
|
- " 单价=b.charge_amount,\n" +
|
|
|
- " 个人自付比例=selfpay_prop + '%',\n" +
|
|
|
- " 医保说明=isnull(b.connotation, '无') + '|' + isnull(b.descriptions, '无'),\n" +
|
|
|
- " 医保编码=national_code\n" +
|
|
|
- "FROM yz_order_occurence a,\n" +
|
|
|
- " zd_charge_item b\n" +
|
|
|
- "where a.order_code = '${code}'\n" +
|
|
|
- " and a.occ_code = b.code")
|
|
|
+ @Select("SELECT 收费编码=a.occ_code , \n" +
|
|
|
+ " 项目名称=b.name , \n" +
|
|
|
+ "\t\t 数量=a.amount ,\n" +
|
|
|
+ " 单价=b.charge_amount ,\n" +
|
|
|
+ "\t\t 个人自付比例=cast(cast(selfpay_prop as decimal(10,2))*100 as varchar)+'%',\n" +
|
|
|
+ "\t\t 医保说明=isnull(b.connotation,'无')+'|'+isnull(b.descriptions,'无'),\n" +
|
|
|
+ "\t\t 医保编码=national_code \n" +
|
|
|
+ " FROM yz_order_occurence a ,zd_charge_item b\n" +
|
|
|
+ "where a.order_code='${code}' and \n" +
|
|
|
+ " a.occ_code=b.code ")
|
|
|
List<JSONObject> getItemInstructions(String code);
|
|
|
|
|
|
}
|